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+ama...@ijs.si] >Sent: Samstag, 21. Juni 2014 01:32 >To: Mathias Zimmermann >Cc: amavis-users@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