Terve Jussi, On Wednesday, 5. November 2008 14:34:23 Mark Martinec wrote: > > I am in discussions with F-Secure about this, but I would want to ask you > > Amavis people, if I could solve this (at least temporarily) by adjusting > > the amavisd.conf.
Here's a little trick to help your F-Secure setup. We run this config for years and don't have any trouble at all: @av_scanners = ( ### http://www.f-secure.com/products/anti-virus/ ['F-Secure Antivirus', 'fsav', '--dumb --mime --archive {}', [0, 'ERROR: Password protected file', 'ERROR: MIME decompression error', 'ERROR: Invalid MIME header found.', 'ERROR: Maximum nested archives encountered'], [3,8], qr/(?:infection|Infected|Suspected): (.+)/ ], ); @av_scanners_backup = ( ### http://www.f-secure.com/products/anti-virus/ ['F-Secure Antivirus without MIME-scanning', 'fsav', '--dumb --mime=off --archive {}', [0, 'ERROR: Password protected file', 'ERROR: Maximum nested archives encountered'], [3,8], qr/(?:infection|Infected|Suspected): (.+)/ ], ); The trick is to disable MIME scanning for the backup scanner. The config is for amavisd-new 2.3.3, I guess it should also work for newer versions with little to no adjustment. Cheers, Thomas ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ AMaViS-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/amavis-user AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3 AMaViS-HowTos:http://www.amavis.org/howto/
