diff options
Diffstat (limited to 'systems/eldiron')
-rw-r--r-- | systems/eldiron/mail/rspamd.nix | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/systems/eldiron/mail/rspamd.nix b/systems/eldiron/mail/rspamd.nix index a300cc5..8a2b5f3 100644 --- a/systems/eldiron/mail/rspamd.nix +++ b/systems/eldiron/mail/rspamd.nix | |||
@@ -41,6 +41,13 @@ | |||
41 | ''; | 41 | ''; |
42 | }; | 42 | }; |
43 | locals = { | 43 | locals = { |
44 | "composites.conf".text = '' | ||
45 | # Local delivered e-mails have both SMTP AUTH and only one Received | ||
46 | "LOCAL_DELIVERED_EMAILS" = { | ||
47 | expression = "RCVD_VIA_SMTP_AUTH and ONCE_RECEIVED"; | ||
48 | score = -10.0; | ||
49 | } | ||
50 | ''; | ||
44 | "redis.conf".text = '' | 51 | "redis.conf".text = '' |
45 | servers = "${config.myEnv.mail.rspamd.redis.socket}"; | 52 | servers = "${config.myEnv.mail.rspamd.redis.socket}"; |
46 | db = "${config.myEnv.mail.rspamd.redis.db}"; | 53 | db = "${config.myEnv.mail.rspamd.redis.db}"; |