Tim Smith skrev den 2017-01-25 16:40:
P.S. Yes I know OpenDKIM has a “TrustedHosts” config file. But that
would not be much good for me as my SMTP client machines can connect
from anywhere. And putting 0.0.0.0 in OpenDKIM trusted hosts wouldn’t
work either as I have a second postfix instance that handles inbound
mail, and so “trusting” everything would be inappropriate.
snip from rspamd with rmilter
smtpd_milters = unix:/var/run/rmilter/rmilter.sock
# or for TCP socket
# smtpd_milters = inet:localhost:9900
milter_protocol = 6
milter_mail_macros = i {mail_addr} {client_addr} {client_name}
{auth_authen}
# skip mail without checks if milter will die
milter_default_action = accept
remember non_smtpd_milters aswell