Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

I use spamdyke to prevent relaying (because my qmail isn patched to provide SMTP AUTH) but SpamAssassin has stopped scanning incoming messages. What gives?

0
10 Posted

I use spamdyke to prevent relaying (because my qmail isn patched to provide SMTP AUTH) but SpamAssassin has stopped scanning incoming messages. What gives?

0
10

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.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123