Hello,
following http://www.postfix.org/FILTER_README.html#simple_filter , I try to implement a simple filter, one for outgoing emails and one for incoming emails.
so , i configure my master.cf as follows:

cdmsout    unix  -       n       n       -       10      pipe
        flags=Rq user=filtercdms null_sender=
        argv=/etc/postfix/filterCdmsOut.sh -f ${sender} -- ${recipient}
cdmsin    unix  -       n       n       -       10      pipe
        flags=Rq user=filtercdms null_sender=
        argv=/etc/postfix/filterCdmsIn.sh -f ${sender} -- ${recipient}
smtp      inet  n       -       -       -       -       smtpd
        -o content_filter=cdmsout:dummy
smtp      unix  n       -       -       -       -       smtpd
        -o content_filter=cdmsin:dummy

but, it is not working for outgoing emails.

what's wrong ?
thanks for your tips

Reply via email to