diff options
author | Philip Hazel <ph10@hermes.cam.ac.uk> | 2006-07-13 13:53:32 +0000 |
---|---|---|
committer | Philip Hazel <ph10@hermes.cam.ac.uk> | 2006-07-13 13:53:32 +0000 |
commit | a5bd321b2f16ff323e3e268d59606e89b747a901 (patch) | |
tree | 1808bda34b675ef151fda9d89599bd05c9ad942e /doc/doc-txt | |
parent | 41609df58fdd3fe023b91baece7d18a595f57e56 (diff) |
Add recognition of SMTP error codes in bespoke messages.
Diffstat (limited to 'doc/doc-txt')
-rw-r--r-- | doc/doc-txt/ChangeLog | 6 | ||||
-rw-r--r-- | doc/doc-txt/NewStuff | 15 |
2 files changed, 19 insertions, 2 deletions
diff --git a/doc/doc-txt/ChangeLog b/doc/doc-txt/ChangeLog index 90a8a8350..b4d476aac 100644 --- a/doc/doc-txt/ChangeLog +++ b/doc/doc-txt/ChangeLog @@ -1,4 +1,4 @@ -$Cambridge: exim/doc/doc-txt/ChangeLog,v 1.372 2006/07/07 14:36:04 ph10 Exp $ +$Cambridge: exim/doc/doc-txt/ChangeLog,v 1.373 2006/07/13 13:53:32 ph10 Exp $ Change log file for Exim from version 4.21 ------------------------------------------- @@ -89,6 +89,10 @@ PH/14 In the default configuration, change the use of "message" in ACL warn PH/15 Diagnose a filter syntax error for "seen", "unseen", or "noerror" if not not followed by a command (e.g. "seen endif"). +PH/16 Recognize SMTP codes at the start of "message" in ACLs and after :fail: + and :defer: in a redirect router. Add forbid_smtp_code to suppress the + latter. + Exim version 4.62 ----------------- diff --git a/doc/doc-txt/NewStuff b/doc/doc-txt/NewStuff index 4f7ca8470..1ec1bdd2c 100644 --- a/doc/doc-txt/NewStuff +++ b/doc/doc-txt/NewStuff @@ -1,4 +1,4 @@ -$Cambridge: exim/doc/doc-txt/NewStuff,v 1.104 2006/06/28 16:00:23 ph10 Exp $ +$Cambridge: exim/doc/doc-txt/NewStuff,v 1.105 2006/07/13 13:53:32 ph10 Exp $ New Features in Exim -------------------- @@ -31,6 +31,19 @@ Version 4.63 Variables such as $authenticated_ sender are also available. It is possible to specify added header lines in this ACL. +3. When an SMTP error message is specified in a "message" modifier in an ACL, + or in a :fail: or :defer: message in a redirect router, Exim now checks the + start of the message for an SMTP error code. This consists of three digits + followed by a space, optionally followed by an extended code of the form + n.n.n, also followed by a space. If this is the case and the very first + digit is the same as the default error code, the code from the message is + used instead. If the very first digit is incorrect, a panic error is logged, + and the default code is used. This is an incompatible change, but it is not + expected to affect many (if any) configurations. It is possible to suppress + the use of the supplied code in a redirect router by setting the + smtp_error_code option false. In this case, any SMTP code is quietly + ignored. + Version 4.62 ------------ |