> It seems Noel was right: you need to learn your basics before moving forward > with Postfix. See 'Explanations of Man Sections' here: > > http://www.freebsd.org/cgi/man.cgi > > -- > Sahil Tandon <sa...@tandon.net> >
There was some error when user, other than root, has been filtering mail. Error was visible only when I manually executed: # cat mail_in_file | ./mail_filter.php r...@example1.com j...@example2.com Syntax error: "(" unexpected I simply changed php code related to execution of shell functions.(to work for user other than root) Finally, I've completely solved a problem. Error: Syntax error: "(" unexpected, wasn't in postfix error log: /var/log/maillog And by passing macro ${sasl_method} in addition to ${sender} ${recipient} in /usr/local/etc/postfix/master.cf I am able to selectivly apply filtering ONLY to SASL authed users and avoid all others Guys! You are constantly totally confusing me, literally not saying anything useful to me! Just giving me too ambiguous(many possible interpretations) DIRECTIONS. Thankx anyway ;)