[exim-cvs] cvs commit: exim/exim-doc/doc-docbook spec.xfpt …

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Philip Hazel
Dátum:  
Címzett: exim-cvs
Tárgy: [exim-cvs] cvs commit: exim/exim-doc/doc-docbook spec.xfpt exim/exim-doc/doc-txt NewStuff OptionLists.txt
ph10 2006/07/31 15:19:31 BST

  Modified files:
    exim-doc/doc-docbook spec.xfpt 
    exim-doc/doc-txt     NewStuff OptionLists.txt 
  Log:
  More 4.63 documentation (noticed an important bit missing at the very
  last minute).


  Revision  Changes    Path
  1.12      +35 -4     exim/exim-doc/doc-docbook/spec.xfpt
  1.108     +1 -1      exim/exim-doc/doc-txt/NewStuff
  1.22      +1 -0      exim/exim-doc/doc-txt/OptionLists.txt


  Index: spec.xfpt
  ===================================================================
  RCS file: /home/cvs/exim/exim-doc/doc-docbook/spec.xfpt,v
  retrieving revision 1.11
  retrieving revision 1.12
  diff -u -r1.11 -r1.12
  --- spec.xfpt    31 Jul 2006 13:19:36 -0000    1.11
  +++ spec.xfpt    31 Jul 2006 14:19:31 -0000    1.12
  @@ -1,4 +1,4 @@
  -. $Cambridge: exim/exim-doc/doc-docbook/spec.xfpt,v 1.11 2006/07/31 13:19:36 ph10 Exp $
  +. $Cambridge: exim/exim-doc/doc-docbook/spec.xfpt,v 1.12 2006/07/31 14:19:31 ph10 Exp $
   .
   . /////////////////////////////////////////////////////////////////////////////
   . This is the primary source of the Exim Manual. It is an xfpt document that is
  @@ -17250,20 +17250,32 @@
   .code
   X.Employee:  :fail: Gone away, no forwarding address
   .endd
  +.new
   In the case of an address that is being verified from an ACL or as the subject
   of a
   .cindex "VRFY error text" "display of"
   VRFY command, the text is included in the SMTP error response by
   default.
   .cindex "EXPN error text" "display of"
  -The text is not included in the response to an EXPN command.
  +The text is not included in the response to an EXPN command. In non-SMTP cases
  +the text is included in the error message that Exim generates.
  +
  +.cindex "SMTP" "error codes"
  +By default, Exim sends a 451 SMTP code for a &':defer:'&, and 550 for
  +&':fail:'&. However, if the message starts with three digits followed by a
  +space, optionally followed by an extended code of the form &'n.n.n'&, also
  +followed by a space, 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. You can
  +suppress the use of the supplied code in a redirect router by setting the
  +&%forbid_smtp_code%& option true. In this case, any SMTP code is quietly
  +ignored.


.cindex "&$acl_verify_message$&"
In an ACL, an explicitly provided message overrides the default, but the
default message is available in the variable &$acl_verify_message$& and can
-therefore be included in a custom message if this is desired. Exim sends a 451
-SMTP code for a &':defer:'&, and 550 for &':fail:'&. In non-SMTP cases the text
-is included in the error message that Exim generates.
+therefore be included in a custom message if this is desired.
+.wen

Normally the error text is the rest of the redirection list &-- a comma does
not terminate it &-- but a newline does act as a terminator. Newlines are not
@@ -17587,6 +17599,15 @@
&%allow_filter%& is true.


+.new
+.cindex "SMTP" "error codes"
+.option forbid_smtp_code redirect boolean false
+If this option is set true, any SMTP error codes that are present at the start
+of messages specified for &`:defer:`& or &`:fail:`& are quietly ignored, and
+the default codes (451 and 550, respectively) are always used.
+.wen
+
+


.option hide_child_in_errmsg redirect boolean false
@@ -24541,6 +24562,16 @@
it processes &%message%&. If the expansion fails, or generates an empty string,
the modifier is ignored. For ACLs that are triggered by SMTP commands, the
message is returned as part of the SMTP error response.
+
+.new
+.cindex "SMTP" "error codes"
+By default, Exim uses a 550 SMTP code when it denies access. However, if the
+message starts with three digits followed by a space, optionally followed by an
+extended code of the form &'n.n.n'&, also followed by a space, 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.
+.wen

The text is literal; any quotes are taken as literals, but because the string
is expanded, backslash escapes are processed anyway. If the message contains

  Index: NewStuff
  ===================================================================
  RCS file: /home/cvs/exim/exim-doc/doc-txt/NewStuff,v
  retrieving revision 1.107
  retrieving revision 1.108
  diff -u -r1.107 -r1.108
  --- NewStuff    21 Jul 2006 16:48:42 -0000    1.107
  +++ NewStuff    31 Jul 2006 14:19:31 -0000    1.108
  @@ -1,4 +1,4 @@
  -$Cambridge: exim/exim-doc/doc-txt/NewStuff,v 1.107 2006/07/21 16:48:42 jetmore Exp $
  +$Cambridge: exim/exim-doc/doc-txt/NewStuff,v 1.108 2006/07/31 14:19:31 ph10 Exp $


   New Features in Exim
   --------------------
  @@ -41,7 +41,7 @@
      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
  +   forbid_smtp_code option true. In this case, any SMTP code is quietly
      ignored.


4. There is a new parameter for LDAP lookups called "referrals", which takes

  Index: OptionLists.txt
  ===================================================================
  RCS file: /home/cvs/exim/exim-doc/doc-txt/OptionLists.txt,v
  retrieving revision 1.21
  retrieving revision 1.22
  diff -u -r1.21 -r1.22
  --- OptionLists.txt    27 Jun 2006 14:34:26 -0000    1.21
  +++ OptionLists.txt    31 Jul 2006 14:19:31 -0000    1.22
  @@ -1,4 +1,4 @@
  -$Cambridge: exim/exim-doc/doc-txt/OptionLists.txt,v 1.21 2006/06/27 14:34:26 ph10 Exp $
  +$Cambridge: exim/exim-doc/doc-txt/OptionLists.txt,v 1.22 2006/07/31 14:19:31 ph10 Exp $


   LISTS OF EXIM OPTIONS
   ---------------------
  @@ -222,6 +222,7 @@
   forbid_include                       boolean         false         redirect          4.00
   forbid_pipe                          boolean         false         redirect          4.00
   forbid_sieve_filter                  boolean         false         redirect          4.44
  +forbid_smtp_code                     boolean         false         redirect          4.63
   freeze_exec_fail                     boolean         false         pipe              1.89
   freeze_tell                          boolean         false         main              4.00 replaces freeze_tell_mailmaster
   from                                 string*         unset         autoreply