Hello list, I have a script that takes spam from an mbox, splits it into single messages via formail, and runs them into spamc. But spamc produces errors on reporting to pyzor and razor, while DCC seems to work. SA is 3.1.1, what could be wrong?
I'm "su -l vscan", and when I report to razor manually, I get things like this: Mär 16 14:29:17.253546 report[19139]: [ 8] mail 1669.13, eng 4: err 230 - server wants mail Mär 16 14:29:17.438498 report[19139]: [ 8] mail 1908.0, eng 4: err 230 - server wants mail Mär 16 14:29:17.438867 report[19139]: [ 5] mail 1909.0, eng 4: Server accepted report. Mär 16 14:29:17.438977 report[19139]: [ 5] mail 1910.0, eng 4: Server accepted report. Mär 16 14:29:17.439077 report[19139]: [ 5] mail 1911.0, eng 4: Server accepted report. "server wants mail" is strange, but some reports work. So razor should be working in general. LOG FROM SPAMC: Mar 16 14:22:10 power2u spamd[16508]: spamd: connection from localhost [127.0.0.1] at port 34294 Mar 16 14:22:10 power2u spamd[16508]: spamd: setuid to vscan succeeded Mar 16 14:22:10 power2u spamd[16508]: config: not parsing, administrator setting: auto_whitelist_path /var/spool/spam/spamassassin-auto-whitelist Mar 16 14:22:10 power2u spamd[16508]: config: failed to parse line, skipping: auto_whitelist_path /var/spool/spam/spamassassin-auto-whitelist Mar 16 14:22:10 power2u spamd[16508]: config: not parsing, administrator setting: auto_whitelist_file_mode 0666 Mar 16 14:22:10 power2u spamd[16508]: config: failed to parse line, skipping: auto_whitelist_file_mode 0666 Mar 16 14:22:10 power2u spamd[16508]: config: not parsing, administrator setting: pyzor_options --homedir /var/spool/spam Mar 16 14:22:10 power2u spamd[16508]: config: failed to parse line, skipping: pyzor_options --homedir /var/spool/spam Mar 16 14:22:10 power2u spamd[16508]: reporter: spam reported to DCC Mar 16 14:22:10 power2u spamd[16508]: reporter: pyzor report failed: reporter: exited with non-zero exit code 1 Mar 16 14:22:10 power2u spamd[16508]: reporter: could not report spam to Pyzor Mar 16 14:22:10 power2u spamd[16508]: reporter: razor2 report failed: No such file or directory report requires authentication at /usr/lib/perl5/site_perl/5.8.6/Mail/SpamAssassin/Plugin/Razor2.pm line 168. at /usr/lib/perl5/site_perl/5.8.6/Mail/SpamAssassin/Plugin/Razor2.pm line 316. Mar 16 14:22:10 power2u spamd[16508]: reporter: could not report spam to Razor Mar 16 14:22:10 power2u spamd[16508]: spamd: Tell: Setting remote for vscan:65 in 0.5 seconds, 2757 bytes -- // Michael Monnerie, Ing.BSc --- it-management Michael Monnerie // http://zmi.at Tel: 0660/4156531 Linux 2.6.11 // PGP Key: "lynx -source http://zmi.at/zmi2.asc | gpg --import" // Fingerprint: EB93 ED8A 1DCD BB6C F952 F7F4 3911 B933 7054 5879 // Keyserver: www.keyserver.net Key-ID: 0x70545879
pgpZzasPMWxCs.pgp
Description: PGP signature