add spamass-milter

This commit is contained in:
Sebastian Hugentobler 2016-07-11 14:22:43 +02:00
parent 4cc656a641
commit fec824896e
3 changed files with 6 additions and 1 deletions

View File

@ -48,9 +48,11 @@ 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 =
unix:/var/run/spamass-milter/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
milter_connect_macros = "i j {daemon_name} v {if_name} _"
message_size_limit = {{getenv "MESSAGESIZELIMIT"}} message_size_limit = {{getenv "MESSAGESIZELIMIT"}}

View File

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