Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: My edit was wrong.

...

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 This is not possible with spamc directly, but you can do so with a simple script. Replace the lines above with:

...