warn recipient if Maximum decoding depth exceeds

Mathias Zimmermann Mathias.Zimmermann at netcetera.com
Mon Jun 23 08:49:35 CEST 2014


Hi Mark

Thank you very much.

Works supberb and maybe useful for other if you want to inform the admin as well add:

$admin_maps_by_ccat{+CC_UNCHECKED} = [ "whatever\@$mydomain" ];

Cheers,
Mathias

>-----Original Message-----
>From: Mark Martinec [mailto:Mark.Martinec+amavis at ijs.si]
>Sent: Samstag, 21. Juni 2014 01:32
>To: Mathias Zimmermann
>Cc: amavis-users at amavis.org; amavis-users
>Subject: Re: warn recipient if Maximum decoding depth exceeds
>
>Mathias,
>
>> I configured that if an attachment from a mail exceeds its decoding
>> depth goes to the quarantine with:
>>
>> $final_destiny_by_ccat{+CC_UNCHECKED} = D_DISCARD;
>> $quarantine_to_maps_by_ccat{+CC_UNCHECKED} = ['banned-quarantine'];
>> $quarantine_method_by_ccat{+CC_UNCHECKED} =
>> $banned_files_quarantine_method;
>>
>> But the recipient don't get a notification., how can I achieve this?
>
>$warnrecip_maps_by_ccat{+CC_UNCHECKED} = [ 1 ];
>   (untested)
>
>And make sure recipient's domain is local ( @local_domains_maps ).
>
>   Mark


More information about the amavis-users mailing list