diff options
| author | Sam Varshavchik | 2018-02-16 20:54:41 -0500 | 
|---|---|---|
| committer | Sam Varshavchik | 2018-02-16 21:19:05 -0500 | 
| commit | c6c18e6142360a30cc11bfe29ac8b762e99a2104 (patch) | |
| tree | ee18c5fcb707c5d230950dd57e4ae619e3bd38b0 /maildrop/maildropfilter.sgml | |
| parent | 8b4fcc3895ca8243e200c15cd089323a482cad13 (diff) | |
| download | courier-libs-c6c18e6142360a30cc11bfe29ac8b762e99a2104.tar.bz2 | |
maildrop: Add :H pattern modifier to maildrop.
rfc2045: RFC2045_DECODEMSG_NOATTACHHEADERS flag, do not decode attachment
headers.
maildrop: The ":H" pattern modifier searches main headers only, does not
search attachments' headers.
Diffstat (limited to 'maildrop/maildropfilter.sgml')
| -rw-r--r-- | maildrop/maildropfilter.sgml | 31 | 
1 files changed, 24 insertions, 7 deletions
| diff --git a/maildrop/maildropfilter.sgml b/maildrop/maildropfilter.sgml index c97aeec..7609eef 100644 --- a/maildrop/maildropfilter.sgml +++ b/maildrop/maildropfilter.sgml @@ -711,10 +711,24 @@ DIR=`ls`  	more options. The following options may be specified in any order:</para>        <variablelist> -	<varlistentry><term><literal>h</literal></term> +	<varlistentry> +	  <term><literal>h</literal></term>  	  <listitem> -	    <para>Match this pattern against the message header.</para> -	</listitem></varlistentry> +	    <para> +	      Match this pattern in the message's header, and the +	      header of any attachments in the message. +	    </para> +	  </listitem> +	</varlistentry> +	<varlistentry> +	  <term><literal>H</literal></term> +	  <listitem> +	    <para> +	      Match this pattern in the message's main header. Do not match +	      this pattern in the headers of the message's attachments. +	    </para> +	  </listitem> +	</varlistentry>  	<varlistentry><term><literal>b</literal></term>  	  <listitem>  	    <para>Match this pattern against the message body.</para> @@ -730,10 +744,13 @@ DIR=`ls`        </variablelist>        <para> -	If neither 'h' or 'b' is specified, the pattern is matched against the -	header only. Specifying the 'b' option causes the pattern to be matched -	against the message body. Specifying both causes the pattern to be matched -	against the entire message.</para> +	If neither 'h', 'H', or 'b' is specified, 'h' is the default, +	matching the pattern in the message's header, and all attachments' +	headers. Specifying the 'b' option causes the pattern to be matched +	against the message body. +	Specifying 'b' and 'h' causes the pattern to be matched +	against the entire message. +      </para>        <para>  	Normally, each line in the message gets matched against the pattern | 
