I noticed a strange entry in the maillogs...
---------------------------------------------------
Apr 20 16:55:22 server spamd[3622]: spamd: got connection over /tmp/spamd_full.sock
Apr 20 16:55:22 server spamd[3622]: spamd: using default config for mail@server: /var/qmail/mailnames/domain/name/.spamassassin/user_prefs
Apr 20 16:55:22 server spamd[3622]: config: failed to parse line, skipping: rewrite_subject_1
Apr 20 16:55:22 server spamd[3622]: config: failed to parse line, skipping: subject_tag_*****SPAM*****
Apr 20 16:55:22 server spamd[3622]: spamd: processing message <000001c664b5$48ceac00$0100007f@localhost> for mail@server:110
Apr 20 16:55:22 server qmail-scanner[8182]: Clear:RC:0(219.154.32.138): 2.076821 9539
eoghan.baird@elmarwan.net mail@server What_IS_0EM_Software_And_Why_D0_You_Care? <000001c664b5$48ceac00$0100007f@localhost> 1145544921.8205-1.server.ch:7518 1145544921.8205-0.server.ch:797 orig-server.ch11455449207228182:9539
Apr 20 16:55:23 server spamd[3622]: Can't locate Mail/SPF/Query.pm in @INC (@INC contains: ../lib /mnt/dar/tmp/spamassassin-root//usr/lib/perl5/vendor_perl/5.8.3 /usr/lib/perl5/5.8.3/i386-linux-thread-multi /usr/lib/perl5/5.8.3 /usr/lib/perl5/site_perl/5.8.3/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.2/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.1/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.3 /usr/lib/perl5/site_perl/5.8.2 /usr/lib/perl5/site_perl/5.8.1 /usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.3/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.2/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.1/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.3 /usr/lib/perl5/vendor_perl/5.8.2 /usr/lib/perl5/vendor_perl/5.8.1 /usr/lib/perl5/vendor_perl/5.8.0 /usr/lib/perl5/vendor_perl) at /usr/lib/perl5/vendor_perl/5.8.3/Mail/SpamAssassin/Pl
Apr 20 16:55:25 server spamd[3622]: spamd: identified spam (19.9/7.0) for mail@server:110 in 2.5 seconds, 9846 bytes.
Apr 20 16:55:25 server spamd[3622]: spamd: result: Y 19 - HTML_MESSAGE,NO_DNS_FOR_FROM,RCVD_IN_BL_SPAMCOP_NET,RCVD_IN_WHOIS_INVALID,RCVD_IN_XBL,URIBL_JP_SURBL,URIBL_OB_SURBL,URIBL_SBL,URIBL_SC_SURBL scantime=2.5,size=9846,user=mail@server,uid=110,required_score=7.0,rhost=localhost,raddr=127.0.0.1,rport=/tmp/spamd_full.sock,mid=<000001c664b5$48ceac00$0100007f@localhost>,autolearn=spam
Apr 20 16:55:25 server spamd[20080]: prefork: child states: II
---------------------------------------------------
So, two things:
- Why is happening the error "failed to parse line" twice for "subject_tag_*****SPAM*****" and "rewrite_subject_1"?
- What is the "Can't locate Mail/SPF/Query.pm" message? What is it used for?
Found the answer:
http://www.akadia.com/services/spf.html
And finally, where can I configure which policy I want to use or not for qmail-queue => for example, the Win_Ext policy bloqued every file with two win32 extensions (like "something.doc.rtf")?
Found something interessant in this file:
/var/qmail/bin/qmail-scanner-queue.pl
And one more question:
Is it possible to install qmail-scanner and clamd without installing spamassassin? As there're some dependencies between spamassassin and qmail-scanner... Just in order to use only psa-spamassassin.