[AMaViS-user] Misleading error message generated by sophos_savi_internal

This is a discussion on [AMaViS-user] Misleading error message generated by sophos_savi_internal within the Amavis User forums, part of the Anti-Spam and Anti-Virus Related Forums category; We had a simple problem with our sophos scanner as it detected a potential mailbomb (due to the use of ...


Go Back   Usenet Forums > Anti-Spam and Anti-Virus Related Forums > Amavis User

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-12-2006
Matthias Ivers
 
Posts: n/a
Default [AMaViS-user] Misleading error message generated by sophos_savi_internal

We had a simple problem with our sophos scanner as it detected a
potential mailbomb (due to the use of EnableAutoStop). As we tried to
debug the problem, we ran into the error message:

ask_av (Sophos SAVI) FAILED - unexpected result: ERROR p002: error
scanning file
/var/spool/amavis/tmp/amavis-20060412T150526-28262/parts/p002, Scan
aborted by SAVI AutoStop (561) No such file or directory

Which made us conclude, that sophos complained about a missing file (due
to the last part)! But this is absolutely not true: 'Scan aborted by
SAVI AutoStop (561)' is the only reason. No missing files or the like.

The error message is generated by: sophos_savi_internal:

my ($msg) =3D "error scanning file $fname, ".
$savi_obj->error_string($result) . " ($result) $!";

I'd ask to change this to:

my ($msg) =3D "error scanning file $fname, ".
$savi_obj->error_string($result) . " ($result)";

as $! should have been reported by the somebody who did the
system-operation causing $!.

Best Regards

=C2=A0Matthias Ivers



-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=...720&dat=121642
_______________________________________________
AMaViS-user mailing list
AMaViS-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/...fo/amavis-user
AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3
AMaViS-HowTos:http://www.amavis.org/howto/
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 11:30 AM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0