feat(amavis): Don't allow user to send spam/virus

With this configuration if the user attempts to send spam or a
virus, the message will be quarantined and the user will be
notified of the issue.

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

View File

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