I'm using qmail-scanner-1.15 together with spamassassin 2.43 in the 
spamassassin_verbose module.
But it seems the mails don't get realy scanned by spamassassin.
Testspam doesn't get marked as spam, and the spamassassin headers don't show 
up and despite setting debug to 100, no .spamc files stay in the workingdir. 

I changed /etc/tcp.smtp to: 
127.0.0.1:allow,QMAILQUEUE="/usr/local/bin/qmail-scanner-queue.pl",S_SPAMASSASSIN="on"
and build the cdb from it, but there still were no .spamc files

I don't programm perl, but I found the 
return if (defined($ENV{'RELAYCLIENT'}) && !defined($ENV{'QS_SPAMASSASSIN'}));
line in the spamassassin sub and commented it out.
Now I got some messages in qmail-queue.log that looked like spamassassin did 
get called from qmail-scanner, but .spamc files did not show up.

So I commented out the
unlink("$scandir/$wmaildir/new/$file_id.spamc"); 
line and got those .spamc files. But it tourned out, the .spamc files contain 
exactly the same like the corresponding files without .spamc and no 
spamassassin headers show up in the scanned mails.

Since I'm here on a Debian sid box, with the latest debian perl 5.8.0 package, 
I think the problem is the new perl version.

As I said above, I don't programm perl, but I looking a bit on the sourcecode, 
I think the main problem is in the two lines starting with open, they should 
feed spamc with the mail and write its output to the .spamc file, but that 
somehow doesn't happen as it should.

greetings
Andreas


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Qmail-scanner-general mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/qmail-scanner-general

Reply via email to