X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=systems%2Feldiron%2Fmail%2Frspamd.nix;h=8a2b5f3348614a1bc7bef60d0ae161363689910f;hb=e612b8698652b47c13cf8c213a14ebec2b8ce2dc;hpb=d5ce77bd3af16b6e107a2d59ea42f658df265eb5;p=perso%2FImmae%2FConfig%2FNix.git 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 @@ ''; }; locals = { + "composites.conf".text = '' + # Local delivered e-mails have both SMTP AUTH and only one Received + "LOCAL_DELIVERED_EMAILS" = { + expression = "RCVD_VIA_SMTP_AUTH and ONCE_RECEIVED"; + score = -10.0; + } + ''; "redis.conf".text = '' servers = "${config.myEnv.mail.rspamd.redis.socket}"; db = "${config.myEnv.mail.rspamd.redis.db}";