X-Git-Url: https://git.exim.org/users/jgh/exim.git/blobdiff_plain/168e428fc4dfcf7f4d377d137743d8332784fa35..068aaea8b5ac80809a1b860f63c625b3ea389ded:/doc/doc-docbook/filter.ascd diff --git a/doc/doc-docbook/filter.ascd b/doc/doc-docbook/filter.ascd index 8fd9c7e3c..e8763f58f 100644 --- a/doc/doc-docbook/filter.ascd +++ b/doc/doc-docbook/filter.ascd @@ -1,5 +1,5 @@ /// -$Cambridge: exim/doc/doc-docbook/filter.ascd,v 1.1 2005/06/16 10:32:31 ph10 Exp $ +$Cambridge: exim/doc/doc-docbook/filter.ascd,v 1.2 2005/11/10 12:30:13 ph10 Exp $ This file contains the Asciidoc source for the document that describes Exim's filtering facilities from a user's point of view. See the file AdMarkup.txt for @@ -21,9 +21,9 @@ Exim's interfaces to mail filtering :author: Philip Hazel :copyright: University of Cambridge :cpyear: 2005 -:date: 13 May 2005 +:date: 06 October 2005 :doctitleabbrev: Exim filtering -:revision: 4.50 +:revision: 4.60 ////////////////////////////////////////////////////////////////////////////// @@ -38,7 +38,7 @@ Forwarding and filtering in Exim This document describes the user interfaces to Exim's in-built mail filtering facilities, and is copyright (C) University of Cambridge 2005. It corresponds -to Exim version 4.50. +to Exim version 4.60. @@ -163,10 +163,10 @@ The recipient is by default the user running the command, and so is the sender, but the command can be run with the %-f% option to supply a different sender. For example, -... +.... /usr/sbin/sendmail -bf myfilter \ -f islington@never.where -++++++++++++ - [[SECTfilterstringexpansion]] String expansion ~~~~~~~~~~~~~~~~ @@ -1066,10 +1062,10 @@ in the format of a 'To:' or 'Cc:' header line. In fact, the text you supply here is copied exactly into the appropriate header line. It may contain additional information as well as email addresses. For example: -... +.... mail to "Julius Caesar , \ (Mark A.)" -... +.... Similarly, the texts supplied for ^from^ and ^reply_to^ are copied into their respective header lines. @@ -1112,7 +1108,7 @@ forward file, Exim normally adds a 'Sender:' header to the message, though it can be configured not to do this. The %extra_headers% keyword allows you to add custom header lines to the -message. The text supplied must be one or more syntactically valid RFC 2882 +message. The text supplied must be one or more syntactically valid RFC 2822 header lines. You can use ``\n'' within quoted text to specify newlines between headers, and also to define continued header lines. For example: @@ -1237,9 +1233,6 @@ being tested by means of the %-bf% option (see section <> above), the value of the string is written to the standard output. -++++++++++++ - -++++++++++++ [[SECTfail]] The fail command ~~~~~~~~~~~~~~~~ @@ -1322,9 +1315,6 @@ negative forms of condition that are more English-like. -++++++++++++ - -++++++++++++ String testing conditions ~~~~~~~~~~~~~~~~~~~~~~~~~ There are a number of conditions that operate on text strings, using the words @@ -1606,8 +1596,17 @@ Details of the personal condition The basic ^personal^ test is roughly equivalent to the following: not error_message and - $message_headers does not contain "\nList-" and - $header_auto-submitted: does not contain "auto-" and + $message_headers does not contain "\nList-Id:" and + $message_headers does not contain "\nList-Help:" and + $message_headers does not contain "\nList-Subscribe:" and + $message_headers does not contain "\nList-Unsubscribe:" and + $message_headers does not contain "\nList-Post:" and + $message_headers does not contain "\nList-Owner:" and + $message_headers does not contain "\nList-Archive:" and + ( + "${if def h_auto-submitted:{present}{absent}}" is "absent" or + $header_auto-submitted: is "no" + ) and $header_precedence: does not contain "bulk" and $header_precedence: does not contain "list" and $header_precedence: does not contain "junk" and @@ -1745,7 +1744,7 @@ Throw away all mail from one site, except from postmaster: seen finish endif -Handle multiple personal mailboxes +Handle multiple personal mailboxes: # Exim filter if $local_part_suffix is "-foo"