on 18.01.2005 12:30 Roger WJ Alterskjær said the following:
on 17.01.2005 19:47 Andy Jezierski said the following:
[snip]
I don't use qmail-scanner, but do you have to re-start it for new config changes to take effect? Does qmail-scanner have it's own config file that overrides SA like amavisd-new?
qmail-scanner.pl is called when receiving and email. (Changes to this file are immediate and there are no external config files.) A tmp and working copy of the received message are created. The tmp copy's attachements are extracted and virus-scanned.
Afterward, spamc is called by qmail-scanner.pl on the working copy like so:
/usr/bin/spamc  -c  -u "[EMAIL PROTECTED]" < /var/spool/qmailscan/working/new/myserver.domain.no110601543848712717
Then it's scanned for known viruses that fake sender-addresses in order to determine if a bounce message is worth sending.
Once cleared it's dropped into the qmail-queue.

I imagine that the SA headers are kept when spamc is called. So, when I try to even mod my /etc/mail/spamassassin/local.conf's add_header line with no effect, I get stumped.

[In my best Maxwell Smart imitation] Would you believe it was qmail-scanner.pl?!

You got me thinking about what it does. Looking at the Q-S code showed that it parses the spamc output, picks only those things deemed interesting, then recreated it's own version of the SA X-Spam-Status header. So I guess I'll put my perl-programmer hat on and do some modifying.

Thanks very much for the help!! (Sincerely!)

-Roger

Reply via email to