feat(amavis): don't allow user to send banned email

This configuration blocks the user from sending an email that w
would otherwise be blocked. in this instance the user is notified.

MR !9
This commit is contained in:
2022-02-19 12:23:20 +09:30
parent c3739c4f19
commit 9f7ccabfa5

View File

@ -4,6 +4,7 @@ $interface_policy{'10023'} = 'SUBMISSION';
$policy_bank{'SUBMISSION'} = {
originating => 1,
smtpd_discard_ehlo_keywords => ['8BITMIME'],
final_banned_destiny => D_BOUNCE, # Bounce so user is notified
final_spam_destiny => D_BOUNCE, # Bounce so user is notified
final_virus_destiny => D_BOUNCE, # Bounce so user is notified
};