[email protected]: > 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: > [email protected] (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
