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

Góra strony
Delete this message
Reply to this message
Autor: Nigel Metheringham
Data:  
Dla: exim-cvs
Temat: [exim-cvs] cvs commit: exim/exim-doc/doc-docbook spec.xfpt
nm4 2008/01/17 13:10:37 GMT

  Modified files:
    exim-doc/doc-docbook spec.xfpt 
  Log:
  Copied Toms changes to the correct doc source file


  Revision  Changes    Path
  1.29      +13 -8     exim/exim-doc/doc-docbook/spec.xfpt


  Index: spec.xfpt
  ===================================================================
  RCS file: /home/cvs/exim/exim-doc/doc-docbook/spec.xfpt,v
  retrieving revision 1.28
  retrieving revision 1.29
  diff -u -r1.28 -r1.29
  --- spec.xfpt    17 Jan 2008 12:56:12 -0000    1.28
  +++ spec.xfpt    17 Jan 2008 13:10:37 -0000    1.29
  @@ -1,4 +1,4 @@
  -. $Cambridge: exim/exim-doc/doc-docbook/spec.xfpt,v 1.28 2008/01/17 12:56:12 nm4 Exp $
  +. $Cambridge: exim/exim-doc/doc-docbook/spec.xfpt,v 1.29 2008/01/17 13:10:37 nm4 Exp $
   .
   . /////////////////////////////////////////////////////////////////////////////
   . This is the primary source of the Exim Manual. It is an xfpt document that is
  @@ -28047,6 +28047,10 @@
   &*Warning*&: It is not possible to use the UNIX socket connection method with
   multiple &%spamd%& servers.


+The &%spamd_address%& variable is expanded before use if it starts with
+a dollar sign. In this case, the expansion may return a string that is
+used as the list so that multiple spamd servers can be the result of an
+expansion.

.section "Calling SpamAssassin from an Exim ACL" "SECID206"
Here is a simple example of the use of the &%spam%& condition in a DATA ACL:
@@ -28117,14 +28121,15 @@
message. Useful for inclusion in headers or reject messages.
.endlist

  -The &%spam%& condition caches its results. If you call it again with the same
  -user name, it does not scan again, but rather returns the same values as
  -before.
  -
  -The &%spam%& condition returns DEFER if there is any error while running the
  -message through SpamAssassin. If you want to treat DEFER as FAIL (to pass on to
  -the next ACL statement block), append &`/defer_ok`& to the right-hand side of
  -the spam condition, like this:
  +The &%spam%& condition caches its results unless expansion in
  +spamd_address was used. If you call it again with the same user name, it
  +does not scan again, but rather returns the same values as before.
  +
  +The &%spam%& condition returns DEFER if there is any error while running
  +the message through SpamAssassin or if the expansion of spamd_address
  +failed. If you want to treat DEFER as FAIL (to pass on to the next ACL
  +statement block), append &`/defer_ok`& to the right-hand side of the
  +spam condition, like this:
   .code
   deny message = This message was classified as SPAM
        spam    = joe/defer_ok