At 15:29 -0500 28-01-2004, Carl Holtje wrote:
All-

With a /etc/tcp.smtp file as such:

127.:allow,RELAYCLIENT="",QMAILQUEUE="/var/qmail/bin/qmail-scanner-queue.pl"
xxx.xx.:allow,RELAYCLIENT="",QMAILQUEUE="/var/qmail/bin/qmail-scanner-queue.pl"
:allow,QMAILQUEUE="/var/qmail/bin/qmail-scanner-queue.pl

I've noticed that only mail entering the system via the last rule is actually getting scanned by other tools (I'm assuming it's being run though qmail-scanner as Received header reports work from qmail-scanner)...

Here's how I've determined this:

1) I've added a header to all messages SpamAssassin touches, therefore all mail should receive this stamp.

You have to add the variable QS_SPAMASSASSIN to tcp.smtp if you want that spamassassin checks the mails with variable RELAYCLIENT set, like this:


xxx.xx.:allow,RELAYCLIENT="",QMAILQUEUE="/var/qmail/bin/qmail-scanner-queue.pl", QS_SPAMASSASSIN="on"

It is in the FAQ

Cheers

Salvatore



-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
_______________________________________________
Qmail-scanner-general mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/qmail-scanner-general

Reply via email to