mail::spamassassin::plugin::mimeheader(3) [centos man page]
Mail::SpamAssassin::Plugin::MIMEHeader(3) User Contributed Perl Documentation Mail::SpamAssassin::Plugin::MIMEHeader(3)NAME
MIMEHeader - perform regexp tests against MIME headers
SYNOPSIS
loadplugin Mail::SpamAssassin::Plugin::MIMEHeader
mimeheader NAME_OF_RULE Content-Id =~ /foo/
DESCRIPTION
This plugin allows regexp rules to be written against MIME headers in the message.
RULE DEFINITIONS AND PRIVILEGED SETTINGS
mimeheader NAME_OF_RULE Header-Name =~ /pattern/modifiers
Specify a rule. "NAME_OF_RULE" is the name of the rule to be used, "Header-Name" is the name of the MIME header to check, and
"/pattern/modifiers" is the Perl regular expression to match against this.
Note that in a message of multiple parts, each header will be checked against the pattern separately. In other words, if multiple
parts have a 'Content-Type' header, each header's value will be tested individually as a separate string.
Header names are considered case-insensitive.
The header values are normally cleaned up a little; for example, whitespace around the newline character in "folded" headers will be
replaced with a single space. Append ":raw" to the header name to retrieve the raw, undecoded value, including pristine whitespace,
instead.
perl v5.16.3 2011-06-06 Mail::SpamAssassin::Plugin::MIMEHeader(3)
Check Out this Related Man Page
Mail::SpamAssassin::Plugin::MIMEHeader(3pm) User Contributed Perl Documentation Mail::SpamAssassin::Plugin::MIMEHeader(3pm)NAME
MIMEHeader - perform regexp tests against MIME headers
SYNOPSIS
loadplugin Mail::SpamAssassin::Plugin::MIMEHeader
mimeheader NAME_OF_RULE Content-Id =~ /foo/
DESCRIPTION
This plugin allows regexp rules to be written against MIME headers in the message.
RULE DEFINITIONS AND PRIVILEGED SETTINGS
mimeheader NAME_OF_RULE Header-Name =~ /pattern/modifiers
Specify a rule. "NAME_OF_RULE" is the name of the rule to be used, "Header-Name" is the name of the MIME header to check, and
"/pattern/modifiers" is the Perl regular expression to match against this.
Note that in a message of multiple parts, each header will be checked against the pattern separately. In other words, if multiple
parts have a 'Content-Type' header, each header's value will be tested individually as a separate string.
Header names are considered case-insensitive.
The header values are normally cleaned up a little; for example, whitespace around the newline character in "folded" headers will be
replaced with a single space. Append ":raw" to the header name to retrieve the raw, undecoded value, including pristine whitespace,
instead.
perl v5.14.2 2011-06-06 Mail::SpamAssassin::Plugin::MIMEHeader(3pm)
Hi,
I am new to ksh scripting so your help will be much appreciated.
I have a file called file.txt which looks like this
Header 20050702 20050703
ABC
DEF
Header 20050703 20050704
123
456
Header 20050704 20050705
XXX
YYY
What I am trying to do is write out each of the record... (7 Replies)
Dear All,
I need to add a header of one line to an already existing file.
I know that it can be achieved by the following:
echo "Header" > newfile
cat file1 >> newfile
But my problem is that file is huge and there is no space for creating a new file every time. Is there a way that I can... (5 Replies)
hi all,
In an mp3 file , data is arranged in sequence of header and data ,how to retrieve data between two headers. Is the data between two headers fixed? because as per theory it says 1152 samples will be there , but dont knw how many bits one sample correspond to?
it would help if any c... (2 Replies)
Hi All,
I am karthik. I am new to this forum. I have one requirement.
I have a file with header and footer.
Header may be like
HDR0001
or
FILE20090110
(Assume it is unknown so far, but i am sure there is a header in the file)
likewise file has the trailer too.
I just... (7 Replies)
Input file: i have a file and need to split into multiple files based on first column. i need the header for all the splitted files. I'm unable to get the header.
$ cat log.txt
id,mailtype,value
1252468812,yahoo,3.5
1252468812,hotmail,2.4
1252468819,yahoo,1.2
1252468812,msn,8.9... (6 Replies)
Hi ,
I have a .txt file in which I have multiple headers, the header record starts with $ symbol...like the first column name is $Account.
I have to keep the header in the first line and delete all the remaining headers which are in the file.
I tried using sort adc.txt | uniq -u , but my... (7 Replies)
Hi,
I need to check whether the incoming file has a header and footer using a UNIX script. The pattern of the header and footer is fixed as follows:
Header: Name,Date
Footer: Count, Total
Name,Date
-------------------------
-------------------------
-------------------------
Count,... (5 Replies)
Hi,
I am looking for any script which can do the following.
have to read a pattern from fileA and copy it to fileB.
fileA:
...
...
Header
...
...
..p1
...
...
fileB:
....
....
Header (3 Replies)
Hi,
I have catenated multiple output files (from a monte carlo run) into one big output file. Each individual file has it's own two line header. So when I catenate, there are multiple two line headers (of the same wording) within the big file. How do I use the sed command to search for the... (1 Reply)
Hello,
I have a pipe separated file with two major lines. One is header and another is detail line. Header starts with H and Detail start with D.
Sample Content:
H|123456|Joes Watson|UK|4/5/2016|12/5/2016|3456|HC|NW||||||
D|123456|Joes... (13 Replies)