Le 18/05/2012 20:06, Chris a écrit : > Hi Noel, > > The email from gmail.com in my example log comes in on port 25 - the 1st > line in master.cf. If I leave the "-o > content_filter=lmtp:unix:/tmp/dspam.sock" in instead of removing it, > then authenticating users who choose to use port 25 in their email > clients will also go through dspam as well as non-authenticating users. > That is why I need to have this: > > main.cf > --------- > smtpd_client_restrictions = > permit_mynetworks, > permit_sasl_authenticated, > ..... > check_client_access pcre:/etc/postfix/dspam_filter_access > > so that authenticating clients bypass the content filter (regardless if > they use ports 25 or 587) and non-authenticating clients get caught by > the check_client_access line at the end, which puts them through dspam, > but _unfortunately_ before queue. >
no, it's still after queue. the TRIGGER line in your logs is informative. it doesn't mean mail is passed to dspam. mail can still get rejected (in subsequent smtpd checks, in header/body checks.., or for othe reasons). stop dspam and see by yourself.