[Mimedefang] pb with mimedefang and imp
David F. Skoll
dfs at roaringpenguin.com
Wed Dec 3 13:30:53 EST 2003
On Wed, 3 Dec 2003, Paul Sarlat wrote:
> mimedefang.pl[21608]: Problem running virus scanner: code=2,
> category=swerr, action=tempfail
Sophos returns a code of 2 for an encrypted document; it seems to choke
on a lot of M$ Office documents
Edit mimedefang.pl and look for the subroutine "interpret_sweep_code"
Change these lines:
# Error
return ($code, 'swerr', 'tempfail') if ($code == 2);
to:
# Encrypted archive
return (0, 'ok', 'ok') if ($code == 2);
Regards,
David.
More information about the MIMEDefang
mailing list