Follow-up dspam/postfix question
So I'm pretty close to done with my Grand Mail Conversion experiment.
The only thing I haven't figured out how to do is to filter mail that
I'm just relaying. I have the following in my master.cf:
smtp inet n - n - - smtpd
dspam unix - n n - 10 pipe
flags=Ru user=dspam argv=/usr/bin/dspam --deliver=innocent
--user ${recipient} -i -f $sender -- $recipient
and in my main.cf:
smtpd_client_restrictions=
permit_sasl_authenticated
permit_mynetworks
check_client_access cidr:/etc/postfix/client_restrictions
In client_restrictions:
0.0.0.0/0 FILTER dspam:
And mail that comes in for someone on my server gets filtered. Mail
that comes in and goes right back out (the whole mx relay 'thing')
doesn't get filtered. What magic switch am I missing?
David
Reply to: