add spamass-milter
This commit is contained in:
parent
cbb570c8b9
commit
45944ade39
@ -10,6 +10,9 @@ RUN ./configure && make && make install
|
||||
RUN rm -rf /tmp/spamass-milter
|
||||
WORKDIR /
|
||||
|
||||
RUN mkdir /var/run/spamass-milter
|
||||
RUN chown postfix:postfix /var/run/spamass-milter
|
||||
|
||||
RUN chown root /var/spool/postfix/
|
||||
RUN chown root /var/spool/postfix/pid
|
||||
|
||||
|
@ -48,7 +48,7 @@ smtpd_sasl_auth_enable = yes
|
||||
smtpd_relay_restrictions = permit_mynetworks,permit_sasl_authenticated,defer_unauth_destination
|
||||
|
||||
smtpd_milters =
|
||||
unix:/var/run/spamass.sock
|
||||
unix:/var/run/spamass-milter/spamass.sock
|
||||
non_smtpd_milters = $smtpd_milters
|
||||
milter_default_action = accept
|
||||
milter_macro_daemon_name = ORIGINATING
|
||||
|
@ -1,3 +1,3 @@
|
||||
#!/usr/bin/with-contenv sh
|
||||
|
||||
spamass-milter -p /var/run/spamass.sock -- -d spamassassin
|
||||
s6-setuidgid postfix spamass-milter -p /var/run/spamass-milter/spamass.sock -- -d spamassassin
|
||||
|
Loading…
Reference in New Issue
Block a user