I'm trying to get both spam filtering inbound and dkim signing outbound working with amavisd. I can get either one side to work, but if I try both I end up with an infinite loop. Below is the infinite loop config.

table aliases db:/etc/mail/aliases.db
table vdomains file:/etc/mail/vdomains
table vusers file:/etc/mail/vusers
table signme file:/etc/mail/signme
table creds file:/etc/mail/creds

pki smtp.pettijohn-web.com certificate "/etc/ssl/smtp.pettijohn-web.com.crt"
pki smtp.pettijohn-web.com key "/etc/ssl/private/smtp.pettijohn-web.com.key"

listen on lo0
listen on egress secure pki smtp.pettijohn-web.com hostname smtp.pettijohn-web.com listen on egress port submission tls pki smtp.pettijohn-web.com auth <creds> \
        hostname smtp.pettijohn-web.com
listen on lo0 port 10025 tag filtered
listen on lo0 port 10027 tag signed

accept tagged filtered for domain <vdomains> virtual <vusers> deliver to mda \
        "/usr/local/libexec/dovecot/dovecot-lda -f %{sender} -d %{rcpt}"
accept from any for domain <vdomains> relay via "smtp://127.0.0.1:10024"
accept tagged signed for any relay source <signme>
accept for any relay via "smtp://127.0.0.1:10026"


--
You received this mail because you are subscribed to [email protected]
To unsubscribe, send a mail to: [email protected]

Reply via email to