On Mon, 5 May 2014 20:19:50 -0400 (EDT)
wie...@porcupine.org (Wietse Venema) wrote:

> mancyb...@gmail.com:
> > But with real traffic I can see in the syslog that the filter
> > doesn't get triggered.
> >
> > My gut suggests me that emails generated by postfix itself:
> > mailer-dae...@linuxmailserver.testdomain.com (Mail Delivery System)
> > bypass the master.cf filter rule.  If that's the case, do you know
> > a way to enforce the processing of the custom filter also for
> > mailer-daemon ?
> 
> If you use smtpd_xxx_restrictions, then of course they won't have
> any effect at all on bounces that Postfix sends itself.
> 
> Instead of FILTER, use transport_maps.
> 
> http://www.postfix.org/postconf.5.html#transport_maps
> http://www.postfix.org/transport.5.html
> 
>       Wietse

Hello Wietse (*so much respect toward you*),

I've read the documentation, switched to transport_maps changing a bit the 
filter syntax and it seems to work.
Thank you very much!
It's really beautiful to 'plug' scripts into the engine logic, so flexible and 
powerful!

Wish you a nice evening,
Mike

Reply via email to