Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The easiest way to integrate postfix and spamassassin is to use spamd. First, edit /etc/postfix/master.cf, find the " smtp ... smtpd " line and just add " -o content_filter=spamassassin" to the end of the line.

...

spamassassin unix - n n - - pipe user=nobody argv=/path/to/spamc -f -e /path/to/postfix/sendmail -oi -f ${sender} ${recipient}

# make sure it's all on one line or

# start the second line with a whitespace

...