| Main Archive Page > Month Archives > amavis-user archives |
On 4/25/2010 6:54 PM, Mark Martinec wrote:
> Noel,
>
>> With clamav (and likely other virus scanners), it's necessary
>> for the scanner to see the whole message for some signatures
>> to match. Normally one would just set $bypass_decode_parts =
>> 1 for this.
>>
>> But banned attachment blocking, bounce killer, and maybe other
>> features require decoding, so that means setting
>> $bypass_decode_parts = 0; and adding '^MAIL$' to
>> @keep_decoded_original_maps.
>>
>> This results in the virus scanner processing the message
>> twice; once for the full mail, and then again each of the
>> decoded parts.
>>
>> It would be nice if there were a switch, "bypass_parts_scan"
>> or such, that turns off virus scanning of the decoded parts.
>
> I agree that such option would be nice to have, despite
> the possibility of using a trick as pointed out by Michael.
>
> Right now I don't see a quick way of implementing it,
> so it will probably not come with 2.7.0, but the suggestion
> has been noted, thanks!
>
> Mark
>
I would be very satisfied with a note in the config file or in
RELEASE_NOTES documenting the /../email.txt workaround as an
interim solution.
I tried looking in those places and the list archives before
posting, but apparently my google-foo is weak. Maybe making
it easier to find will help out the next guy.
Thanks.
-- Noel Jones
------------------------------------------------------------------------------
_______________________________________________
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/