2009/12/8 Mark Martinec <mark.martinec+ama...@ijs.si>:

> Unfortunately these kinds of errors (like SIGSEGV, SIGBUS, SIGFPE, SIGILL)
> can not be trapped by using an eval. The error happens in a library,
> below the perl level, and as a result the process just crashes, and
> the results are as you describe. This is probably what happens in the
> Sophos library as linked with SAVI-Perl.

I have a fault report in with Sophos, but I'll consider switching to
Sophie (we used to run it until SAVI-Perl came along).

>> When I use "scan.pl" (from the SAVI-Perl utils) and "razor" to scan the
>> respective emails, glibc spits out a helpful error message, but this
>> doesn't show in the mail logs when AMaViS encounters the problem,
>> unless run in debug mode.
>
> Does the scan.pl / razor process survive after spitting out the message?
> What is its exit status? It it terminates due to one of the above
> mentioned signals, there isn't much perl can do about it. But if it
> exits normally (regardless of exit status), then there is hope and
> the exact cause should be investigated and handled.

No, neither one survives.  Running razor-check under gdb shows a fault
somewhere in the .xs file that cleans up HTML, but I'm not much of a C
programmer, and there are way too many refs and pointers in there for
me to work out what's wrong.  Valgrind had a lot to say about it too.
I've logged a bug report on Sourceforge.

Razor seems to be pretty good value for detecting spam.  But it
doesn't appear to be supported anymore.  If it didn't help so much
with catching spam I'd consider just turning it off.  Do other people
have the same level of success with Razor?

Cheers
Jeremy

------------------------------------------------------------------------------
Return on Information:
Google Enterprise Search pays you back
Get the facts.
http://p.sf.net/sfu/google-dev2dev
_______________________________________________
AMaViS-user mailing list
AMaViS-user@lists.sourceforge.net 
https://lists.sourceforge.net/lists/listinfo/amavis-user 
 AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3 
 AMaViS-HowTos:http://www.amavis.org/howto/ 

Reply via email to