On Jun 25, 2004, at 12:26 PM, Rick Macdougall wrote:
How are you running both qscanq and qmail-spamc ?

I modified qmail-spamc.c to run qmail-queue-real instead of qmail-queue. It's also modified to not run spamc if RELAYCLIENT is set -- this way, mail sent by my users is not scanned.

I renamed /var/qmail/bin/qmail-queue to qmail-queue-real.

I built qscanq, but I don't think I installed it.

I have QMAILQUEUE set in my qmail-smtpd/run script:

export QMAILQUEUE='/package/mail/qscanq/command/qscanq'

So, qmail-smtpd runs qscanq (since QMAILQUEUE is set), qscanq runs /var/qmail/bin/qmail-queue (which is actually my qmail-spamc) which in turn runs spamc and the real qmail-queue.

You can download my modified qmail-spamc.c here:


Tom Collins  -  [EMAIL PROTECTED]
QmailAdmin: http://qmailadmin.sf.net/  Vpopmail: http://vpopmail.sf.net/
Info on the Sniffter hand-held Network Tester: http://sniffter.com/

Reply via email to