I setup kolab as my outgoing smtp server. I noticed that postfix is running my dspam content filter on outgoing email and was curious if anyone knew how to tell postfix NOT to run it. I did some googling and it's suggested that adding check_client_access will prevent it from working however it did not work in my case.
main.cf
smtpd_recipient_restrictions = permit_mynetworks,
permit_sasl_authenticated,
reject_unauth_destination,
reject_unlisted_recipient,
check_client_access pcre:/etc/postfix/dspam_incomming,
check_policy_service unix:private/kolabpolicy
/etc/postfix/dspam_incomming
/./ FILTER lmtp:unix:/var/run/dspam/dspam.sock
i'm guessing the regex isn't matching but i'm open to input.
Thanks