I finally found a way for scanning every mail sent from SMTP-server of localhost:
Yes, I ran that. What i wanted was to force qmailscanner when I get mail via fetchmail. The previous tip ("strip .pl" in tcp.smtp) made that. But the mail *sent* from localhost still isn't scanned when it reaches the reciever. Strange...
Qmail-Scanner is a SMTP scanner. Sending mail from the command line via sendmail or qmail-inject won't invoke SMTP - and so won't invoke Q-S. However, if you set QMAILQUEUE=/var/qmail/bin/qmail- scanner-queue.pl before invoking fetchmail, maybe that'll do it.
In /etc/tcp.smtp:
127.0.0.1:allow,RELAYCLIENT="",QS_SPAMASSASSIN="on",RBLSMTPD="",QMAILQUE UE="/var/qmail/bin/qmail-queue"
127.0.0.1:allow,RELAYCLIENT="", QS_SPAMASSASSIN="on",RBLSMTPD="", QMAILQUEUE="/var/qmail/bin/qmail-scanner-queue"
In /var/qmail/control/conf.-common_ QMAILQUEUE="/var/qmail/bin/qmail-scanner-queue" export QMAILQUEUE
/Nikodemus
------------------------------------------------------- This SF.Net email is sponsored by Oracle Space Sweepstakes Want to be the first software developer in space? Enter now for the Oracle Space Sweepstakes! http://ads.osdn.com/?ad_id=7412&alloc_id=16344&op=click _______________________________________________ Qmail-scanner-general mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/qmail-scanner-general
