Send email notifications for banned extensions to sender and recipient, but not admin

Matus UHLAR - fantomas uhlar at fantomas.sk
Thu Jul 25 13:27:24 CEST 2019


On 25.07.19 12:18, Marko Cupać wrote:
>I have recently started to block some popular file extensions,
>and I'm required to notify both sender and recipient about it.
>
>I achieved this by setting:
>
>$final_banned_destiny = D_BOUNCE;
>$warnbannedsender     = 1;
>$warnbannedrecip      = 1;
>
>However, notifications are also sent to postmaster, which is unwanted.
>
>How can I prevent sending notifications about banned emails
>to postmaster, while keeping sending them to senders and recipients?

I think you are searching for @banned_admin_maps or $banned_admin
-- 
Matus UHLAR - fantomas, uhlar at fantomas.sk ; http://www.fantomas.sk/
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
Remember half the people you know are below average.


More information about the amavis-users mailing list