Sorry for the delay in replying. I've been looking at this and trying to make
it work in my head, but keep coming up with DKIM running twice. Please bear
with me. Your setup of...

smtpd_milters = inet:localhost:10025, unix:spamass/spamass.sock
non_smtpd_milters = inet:localhost:10025

...suggests to me that the sequence of operation is DKIM followed by SPAMASS
(both from smtpd_milters, assuming they run in sequence) followed by DKIM
via pickup... And I see the flaw in that now!

Pickup only gets run from sendmail which is called by content_filter OR by
apache. So that now makes sense. Taken me hours to see that. :(

So what I need is, as you said, to remove content_filter in master.cf and in
main.cf to put in a new sequence...

smtpd_milters = unix:/var/run/opendkim/opendkim.sock,
unix:spamass/spamass.sock, unix:/var/run/clamav/clamav-milter.ctl,
unix:/var/run/opendmarc/opendmarc.sock

non_smtpd_milters = unix:/var/run/opendkim/opendkim.sock

I assume I do not need to include dmarc in the non_smtpd_milters since it's
outgoing only. Should I move dmarc between dkim and spamass in
smtpd_milters?

If the above is correct my remaining problem would be to determine which of
the various spamassassin / spamass-milter / spamd file groups I have to set
up and where to put the sock.

Thanks for your input. Sorry I doubted you first posting. :(




--
Sent from: http://postfix.1071664.n5.nabble.com/Postfix-Users-f2.html

Reply via email to