I use spamdyke to prevent relaying (because my qmail isn patched to provide SMTP AUTH) but SpamAssassin has stopped scanning incoming messages. What gives?
You must be using qmail-scanner from qmail-scanner.sourceforge.net. That package has an interesting flaw: it assumes any time the environment variable RELAYCLIENT is set, no scanning should be performed. When spamdyke prevents relaying, it always sets that variable to keep qmail from interfering with its relaying decision. To reenable scanning, modify your /etc/tcp.smtp file and add QS_SPAMASSASSIN to all of the connections you want scanned. For example: 127.:allow,RELAYCLIENT=””,QMAILQUEUE=”/var/qmail/bin/qmail-scanner-queue” :allow,QMAILQUEUE=”/var/qmail/bin/qmail-scanner-queue”,QS_SPAMASSASSIN=”” Rebuild the CDB file with qmailctl cdb and you should be fine.