add spamass-milter

This commit is contained in:
Sebastian Hugentobler 2016-07-11 13:11:16 +02:00
parent 80ef87c91d
commit cbb570c8b9
2 changed files with 4 additions and 1 deletions

View File

@ -48,7 +48,7 @@ smtpd_sasl_auth_enable = yes
smtpd_relay_restrictions = permit_mynetworks,permit_sasl_authenticated,defer_unauth_destination smtpd_relay_restrictions = permit_mynetworks,permit_sasl_authenticated,defer_unauth_destination
smtpd_milters = smtpd_milters =
inet:{{getenv "SPAMASSASSINHOST"}}:{{getenv "SPAMASSASSINPORT"}} unix:/var/run/spamass.sock
non_smtpd_milters = $smtpd_milters non_smtpd_milters = $smtpd_milters
milter_default_action = accept milter_default_action = accept
milter_macro_daemon_name = ORIGINATING milter_macro_daemon_name = ORIGINATING

View File

@ -0,0 +1,3 @@
#!/usr/bin/with-contenv sh
spamass-milter -p /var/run/spamass.sock -- -d spamassassin