mail: disable rspamd actions for mail from localhost

This commit is contained in:
Kishi85 2019-07-24 10:11:38 +02:00
parent 83afecfd72
commit 6ce23ca253
2 changed files with 16 additions and 0 deletions

View File

@ -56,6 +56,7 @@
notify: Restart rspamd
with_items:
- options.inc
- settings.conf
- arc.conf
- dkim_signing.conf

View File

@ -0,0 +1,15 @@
localhost_mail {
id = "localhost_mail";
priority = high;
ip = "127.0.0.0/8";
ip = "::1/128";
apply {
actions {
# Disable any action for mail from localhost
reject = null;
greylist = null;
"add header" = null;
spam = null;
}
}
}