Versions Compared


  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: converted to 1.6 markup

Integration into qmail using qmail-scanner

SpamAssassin can be integrated into qmail system-wide using qmail-scanner.

This is actually quite easy. SA is auto-detected when you install qmail-scanner, and uses the spamd/spamc combo if available. Here is my configure line (sans private data):

No Format
$ ./configure --spooldir /var/lib/qmailscan --qmaildir /var/qmail --bindir /var/qmail/bin \
--qmail-queue-binary /var/qmail/bin/qmail-queue  --admin --domain \
--notify none --local-domains,, --silent-viruses auto \
--lang de_DE --debug 1 --unzip 0 --add-dscr-hdrs 0 --archive 1 --redundant no --log-details \
--fix-mime 1  --scanners "verbose_spamassassin" --install 1

More info is available at .


I get this after trying the above... What's the problem? The tests on TestingInstallation worked fine... spamc doesn't work?

No Format
Building Qmail-Scanner 1.25st...

This script will search your system for the virus scanners it knows
about, and will ensure that all external programs uses are explicitly pathed for performance

Continue? ([Y]/N)
Searching ........
Something like spamc for SpamAssassin detected - but not correctly installed
(didn't include a "X-Spam-Status: Yes" line in output) - ignoring...

After a little more research, it looks like this command is failing during the qmail-scanner configure step:

No Format
/usr/bin/spamc   < ./contrib/spamc-nasty.eml