https://issues.apache.org/SpamAssassin/show_bug.cgi?id=6033


Rasmus Skaarup <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]




--- Comment #2 from Rasmus Skaarup <[email protected]>  2008-12-26 13:12:20 PST ---
Yes, indeed. I'm struck by this bug as well. Blank emails (zero-sized files in
my Maildir) started showing up.

The following information was available in the qmail logs:

delivery 16346: success:
[71557]_warn:_spamass:_fik_en_sigpipe!/[71557]_warn:_razor2:_razor2_check_failed:_No_such_file_or_directory_razor2:_razor2_had_unkno
wn_error_during_get_server_info_at_/usr/local/lib/perl5/site_perl/5.8.8/Mail/SpamAssassin/Plugin/Razor2.pm_line_188._at_/usr/local/lib/perl5/site_perl/5.8.8/Mail/SpamAssassin/Plugin/R
azor2.pm_line_326./did_0+0+1/

As you can see qmail determines that it was a "success" because of the normal
exit code from SpamAssassin.

For informational purposes I now provide the output from Razor, since the
Razor-plugin was the culprit:

Dec 26 20:52:17.586908 check[71557]: [ 2] [bootup] Logging initiated
LogDebugLevel=5 to file:razor-agent.log
Dec 26 20:52:17.587441 check[71557]: [ 5] computed razorhome=, conf=,
ident=identity
Dec 26 20:52:17.588375 check[71557]: [ 5] Can't read file
/servers.discovery.lst: No such file or directory
Dec 26 20:52:17.588545 check[71557]: [ 5] Can't read file
/servers.nomination.lst: No such file or directory
Dec 26 20:52:17.588705 check[71557]: [ 5] Can't read file
/servers.catalogue.lst: No such file or directory
Dec 26 20:52:17.588901 check[71557]: [ 5] no listfile: servers.catalogue.lst
Dec 26 20:52:17.589107 check[71557]: [ 5] Connecting to
discovery.razor.cloudmark.com ...
Dec 26 20:52:17.785213 check[71557]: [ 4] discovery.razor.cloudmark.com >> 0
server greeting:
Dec 26 20:52:17.785362 check[71557]: [ 4] discovery.razor.cloudmark.com << 12
Dec 26 20:52:17.785597 check[71557]: [ 5] _read: connection_closed

Pay notice to the missing "server greeting".

That caused a "No such file or directory" error from SpamAssasin - not very
helpful. 

A normal logfile output from Razor looks like this for me:

Dec 26 21:49:32.538759 check[83113]: [ 2] [bootup] Logging initiated
LogDebugLevel=5 to file:razor-agent.log
Dec 26 21:49:32.546787 check[83113]: [ 5] computed razorhome=, conf=,
ident=identity
Dec 26 21:49:32.547497 check[83113]: [ 5] Can't read file
/servers.discovery.lst: No such file or directory
Dec 26 21:49:32.547648 check[83113]: [ 5] Can't read file
/servers.nomination.lst: No such file or directory
Dec 26 21:49:32.547791 check[83113]: [ 5] Can't read file
/servers.catalogue.lst: No such file or directory
Dec 26 21:49:32.547971 check[83113]: [ 5] no listfile: servers.catalogue.lst
Dec 26 21:49:32.548159 check[83113]: [ 5] Connecting to
discovery.razor.cloudmark.com ...
Dec 26 21:49:33.199625 check[83113]: [ 4] discovery.razor.cloudmark.com >> 35
server greeting: sn=D&srl=570&a=1&a=cg&ep4=7542-10^M
Dec 26 21:49:33.199783 check[83113]: [ 4] discovery.razor.cloudmark.com << 12
Dec 26 21:49:33.295701 check[83113]: [ 4] discovery.razor.cloudmark.com >> 71
Dec 26 21:49:33.295903 check[83113]: [ 4] discovery.razor.cloudmark.com << 12
Dec 26 21:49:33.390551 check[83113]: [ 4] discovery.razor.cloudmark.com >> 91
Dec 26 21:49:33.390773 check[83113]: [ 5] disconnecting from server
discovery.razor.cloudmark.com
Dec 26 21:49:33.390869 check[83113]: [ 4] discovery.razor.cloudmark.com << 5

As you can see "discovery.razor.cloudmark.com" now responds just fine.

This is just for informational purposes. I've been searching the web high and
low for a solution. But SpamAssassin should by all means NOT exit with a normal
exit code - this has caused me to loose emails!


-- 
Configure bugmail: 
https://issues.apache.org/SpamAssassin/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

Reply via email to