with internal_mail_filter_classes and header_checks I can redirect the message to my software in order to change X-Mms-Transaction-ID parameter. But when I send the mailer-daemon with the good parameter, the message loops.
Here are my settings: In main.cf: internal_mail_filter_classes = bounce header_checks = regexp:/etc/postfix_out/header_checks in /etc/postfix_out/header_checks /^From: *MAILER-DAEMON/ FILTER mail-postfix: BR Le mardi 05 juin 2012 à 23:28 +0200, DTNX Postmaster a écrit : > On Jun 5, 2012, at 16:04, Wael MANAI wrote: > > > MM4 parameter X-Mms-Transaction-ID > > > First, read up: http://www.google.com/search?q=top+posting > > Then have another look at the documentation; > > http://www.postfix.org/postconf.5.html#internal_mail_filter_classes > http://www.postfix.org/postconf.5.html#header_checks > http://www.postfix.org/header_checks.5.html > > With 'internal_mail_filter_classes = bounce' and the header_checks, > you might be able to redirect your message, feed it to whatever > software generates the 'X-Mms-Transaction-ID' for you, and then > reinsert it for delivery. > > If the transaction ID is the same for all messages it might even be > as easy as using a 'PREPEND' or 'REPLACE'. > > Cya, > Jona > > -- > > > Le lundi 04 juin 2012 à 13:51 +0200, DTNX Postmaster a écrit : > >> On Jun 4, 2012, at 10:31, Wael MANAI wrote: > >> > >> I read the links and tried some configuration modifications with > >> soft_bounce and internal_mail_filter_classes parameters but the > >> notification is still sent to sender. I need to intercept this message in > >> order to modify one parameter value before sending it. > > > > Which parameter value are you trying to modify? > > > > Cya, > > Jona >