Hello,

i am new to this.
I am trying to set up a content filter for incoming postfix mails.
I am using this instruction: 
http://www.postfix.org/FILTER_README.html#simple_filter
<http://www.postfix.org/FILTER_README.html#simple_filter>  

------- master.cf snippet -------
smtp      inet  n       -       -       -       -       smtpd
     -o content_filter=filter:dummy
filter    unix  -       n       n       -       10      pipe
  flags=Rq user=filter null_sender=
  argv=/var/spool/filter/afterqueue.sh -f ${sender} -- ${recipient}


The problem is, that the filter is also applied to outgoing mails.
I don't really understand that "-o content_filter=filter:dummy" line. Should
"filter:dummy" be replaced?

So how can i set it up, so that it is only used for incoming mails?
Thanks



--
View this message in context: 
http://postfix.1071664.n5.nabble.com/Content-Filter-only-for-incoming-mails-tp83437.html
Sent from the Postfix Users mailing list archive at Nabble.com.

Reply via email to