You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@spamassassin.apache.org by Chris Purves <ch...@northfolk.ca> on 2005/12/26 09:39:47 UTC
razor/pyzor intermittent reporting error
Hello,
Version:
SpamAssassin version 3.1.0
running on Perl version 5.8.4
I am running the following command from a cron job:
ls | sed 's/.*/spamassassin -D -r < &/' | sh
From the output I often get for pyzor:
[21322] dbg: util: executable for pyzor was found at /usr/bin/pyzor
[21322] dbg: pyzor: pyzor is available: /usr/bin/pyzor
[21322] dbg: info: entering helper-app run mode
[21322] dbg: pyzor: opening pipe: /usr/bin/pyzor report <
/tmp/.spamassassin21322ISUe8htmp
[21325] dbg: util: setuid: ruid=1000 euid=1000
[21322] dbg: reporter: raw exit code: 256
[21322] dbg: info: leaving helper-app run mode
[21322] warn: reporter: pyzor report failed: reporter: exited with
non-zero exit code 1
[21322] info: reporter: could not report spam to Pyzor
When it works I get:
[6376] dbg: util: executable for pyzor was found at /usr/bin/pyzor
[6376] dbg: pyzor: pyzor is available: /usr/bin/pyzor
[6376] dbg: info: entering helper-app run mode
[6376] dbg: pyzor: opening pipe: /usr/bin/pyzor report <
/tmp/.spamassassin6376kzbx2utmp
[6379] dbg: util: setuid: ruid=1000 euid=1000
[6376] dbg: info: leaving helper-app run mode
[6376] info: reporter: spam reported to Pyzor
When razor fails I see:
[6376] dbg: info: entering helper-app run mode
[6376] warn: reporter: razor2 report failed: No such file or directory
reporter: razor2 had unknown error during authenticate at
/usr/share/perl5/Mail/SpamAssassin/Plugin/Razor2.pm line 209, <GEN2>
line 1. at /usr/share/perl5/Mail/SpamAssassin/Plugin/Razor2.pm line 322.
[6376] dbg: info: leaving helper-app run mode
[6376] info: reporter: could not report spam to Razor
When razor works I get:
[7844] dbg: info: entering helper-app run mode
[7844] dbg: info: leaving helper-app run mode
[7844] info: reporter: spam reported to Razor
DCC and SpamCop never fail to report.
Since the problem is intermittent, I am wondering if it is due to
connection time-outs or errors. My server is located in China. I have
set in /etc/spamassassin/local.cf:
dcc_timeout 60
razor_timeout 60
pyzor_timeout 60
rbl_timeout 60
Do those settings work for reporting or only checking?
Thanks for your help.
--
Good day, eh.
Chris
Re: razor/pyzor intermittent reporting error
Posted by Chris Purves <ch...@northfolk.ca>.
On Mon, December 26, 2005 4:39 pm, Chris Purves said:
> Hello,
>
> Version:
> SpamAssassin version 3.1.0
> running on Perl version 5.8.4
>
> I am running the following command from a cron job:
> ls | sed 's/.*/spamassassin -D -r < &/' | sh
>
> From the output I often get for pyzor:
>
> [21322] dbg: util: executable for pyzor was found at /usr/bin/pyzor
> [21322] dbg: pyzor: pyzor is available: /usr/bin/pyzor
> [21322] dbg: info: entering helper-app run mode
> [21322] dbg: pyzor: opening pipe: /usr/bin/pyzor report <
> /tmp/.spamassassin21322ISUe8htmp
> [21325] dbg: util: setuid: ruid=1000 euid=1000
> [21322] dbg: reporter: raw exit code: 256
> [21322] dbg: info: leaving helper-app run mode
> [21322] warn: reporter: pyzor report failed: reporter: exited with
> non-zero exit code 1
> [21322] info: reporter: could not report spam to Pyzor
>
> When it works I get:
>
> [6376] dbg: util: executable for pyzor was found at /usr/bin/pyzor
> [6376] dbg: pyzor: pyzor is available: /usr/bin/pyzor
> [6376] dbg: info: entering helper-app run mode
> [6376] dbg: pyzor: opening pipe: /usr/bin/pyzor report <
> /tmp/.spamassassin6376kzbx2utmp
> [6379] dbg: util: setuid: ruid=1000 euid=1000
> [6376] dbg: info: leaving helper-app run mode
> [6376] info: reporter: spam reported to Pyzor
>
> When razor fails I see:
>
> [6376] dbg: info: entering helper-app run mode
> [6376] warn: reporter: razor2 report failed: No such file or directory
> reporter: razor2 had unknown error during authenticate at
> /usr/share/perl5/Mail/SpamAssassin/Plugin/Razor2.pm line 209, <GEN2>
> line 1. at /usr/share/perl5/Mail/SpamAssassin/Plugin/Razor2.pm line 322.
> [6376] dbg: info: leaving helper-app run mode
> [6376] info: reporter: could not report spam to Razor
>
> When razor works I get:
>
> [7844] dbg: info: entering helper-app run mode
> [7844] dbg: info: leaving helper-app run mode
> [7844] info: reporter: spam reported to Razor
>
> DCC and SpamCop never fail to report.
>
> Since the problem is intermittent, I am wondering if it is due to
> connection time-outs or errors. My server is located in China. I have
> set in /etc/spamassassin/local.cf:
>
> dcc_timeout 60
> razor_timeout 60
> pyzor_timeout 60
> rbl_timeout 60
>
> Do those settings work for reporting or only checking?
>
I tried playing with the timeout settings, and there was no effect. Maybe
I should just blame it all on the Great Firewall.
--
Good day, eh.
Chris