You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@spamassassin.apache.org by Apache Wiki <wi...@apache.org> on 2010/03/04 19:37:20 UTC

[Spamassassin Wiki] Update of "IntegratedSpamdInPostfix" by EricHopper

Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Spamassassin Wiki" for change notification.

The "IntegratedSpamdInPostfix" page has been changed by EricHopper.
The comment on this change is: Newer spamc has the -x option..
http://wiki.apache.org/spamassassin/IntegratedSpamdInPostfix?action=diff&rev1=28&rev2=29

--------------------------------------------------

   * If the command returns `EX_OK`, Postfix will consider the message done. The command should deliver it; it will be discarded otherwise.
   * If the command returns any other error code, Postfix will bounce the message.
  
- With `spamc -e`, spamc will return `EX_OK` when spamd is unavailable but sendmail is working, so Postfix will deliver the message. You probably want it to be deferred instead. This is not possible with spamc directly, but you can do so with a simple script. Replace the lines above with:
+ With `spamc -e`, spamc will return `EX_OK` when spamd is unavailable but sendmail is working, so Postfix will deliver the message. You probably want it to be deferred instead. In newer versions of spamc this can be fixed by putting the `-x` option in before `-e`, but in older versions this doesn't work.  You can find out whether the version you have supports `-x` in the manual page for spamc.  If your version is too old you can fix this issue with a simple script. Replace the lines above with:
  
  {{{
  spamassassin