X-Git-Url: https://git.exim.org/exim.git/blobdiff_plain/6f1bfb83876a9fe1ffeff8c7c51c226e52804c85..9d8e337530e7842e7ec49bacc5302cb5f60d4ab3:/doc/doc-docbook/filter.xfpt diff --git a/doc/doc-docbook/filter.xfpt b/doc/doc-docbook/filter.xfpt index 54b145944..84e7d4a43 100644 --- a/doc/doc-docbook/filter.xfpt +++ b/doc/doc-docbook/filter.xfpt @@ -1,5 +1,3 @@ -. $Cambridge: exim/doc/doc-docbook/filter.xfpt,v 1.11 2010/05/29 19:26:31 nm4 Exp $ - . ///////////////////////////////////////////////////////////////////////////// . This is the primary source of the document that describes Exim's filtering . facilities. It is an xfpt document that is converted into DocBook XML for @@ -10,6 +8,7 @@ .include stdflags .include stdmacs +.include ./local_params .docbook . ///////////////////////////////////////////////////////////////////////////// @@ -23,7 +22,7 @@ @@ -46,6 +45,13 @@ .endmacro . =========================================================================== +. Copyright year. Update this (only) when changing content. + +.macro copyyear +2018 +.endmacro + +. =========================================================================== . ///////////////////////////////////////////////////////////////////////////// . ///////////////////////////////////////////////////////////////////////////// @@ -61,15 +67,18 @@ Exim's interfaces to mail filtering Exim filtering -23 November 2009 + +.fulldate + PhilipHazel PH - 4.75 - 21 Feb 2011 +.versiondatexml PH -2010University of Cambridge + +.copyyear + The Exim Maintainers .literal off @@ -79,8 +88,8 @@ .chapter "Forwarding and filtering in Exim" "CHAPforandfilt" This document describes the user interfaces to Exim's in-built mail filtering -facilities, and is copyright © University of Cambridge 2007. It -corresponds to Exim version 4.75. +facilities, and is copyright © The Exim Maintainers ©year(). It +corresponds to Exim version &version(). @@ -1180,7 +1189,9 @@ been obeyed, the &(logwrite)& command can be used to write to it: &`e.g. logwrite "$tod_log $message_id processed"`& .endd It is possible to have more than one &(logfile)& command, to specify writing to -different log files in different circumstances. Writing takes place at the end +different log files in different circumstances. +A previously opened log is closed on a subsequent &(logfile)& command. +Writing takes place at the end of the file, and a newline character is added to the end of each string if there isn't one already there. Newlines can be put in the middle of the string by using the &"\n"& escape sequence. Lines from simultaneous deliveries may get @@ -1332,7 +1343,7 @@ A &"contains"& test does a partial string match, having expanded both strings. .endd For a &"matches"& test, after expansion of both strings, the second one is -interpreted as a regular expression. Exim uses the PCRE regular expression +interpreted as a regular expression. Exim uses the PCRE2 regular expression library, which provides regular expressions that are compatible with Perl. The match succeeds if the regular expression matches any part of the first