Thank you Jona, i am gona see your links Le vendredi 01 juin 2012 à 11:50 +0200, DTNX Postmaster a écrit :
> On Jun 1, 2012, at 09:49, Wael MANAI wrote: > > > Well, I use postfix for MMS sending (MM4 protocol which is based on SMTP). > > I am working on a hub system i.e I received MMS from one GSM operator, I do > > some adaptations and I forward the MMS to the destination. Sometimes for > > example the recipient may be rejected by the remote mailer so I need to > > intercept this mailer daemon (done) in order to modify some MM4 parameters > > then send it to the origin. The problem is the recipient of the mailer > > daemon receives 2 mails: one correct sent by my application, another > > incorrect sent by postfix. So I want to block the mail sent by postfix. > > Hmm, not familiar with MM4, but have you looked at the various bounce > related configuration options that Postfix provides? > > This is where I would start looking; > > http://www.postfix.org/postconf.5.html#bounce_service_name > http://www.postfix.org/bounce.8.html > > http://www.postfix.org/postconf.5.html#bounce_template_file > http://www.postfix.org/bounce.5.html > > http://www.postfix.org/postconf.5.html#internal_mail_filter_classes > > And what Ram suggested; > http://www.postfix.org/postconf.5.html#soft_bounce > > Perhaps it's possible to use a custom bounce service, a custom bounce > template, or something similar, and have Postfix generate the format > you need? > > Cya, > Jona > > -- > > > Le vendredi 01 juin 2012 à 13:13 +0530, Ram a écrit : > >> You can enable soft bounce. So NDR mails will be pending in the queue > >> But I am not sure really want to do this. > >> Why should you not notify senders of delivery failures ? What is the real > >> problem you want to solve ? > >> > >> > >> > >> > >> > >> On 06/01/2012 12:36 PM, Wael MANAI wrote: > >>> Any idea? > >>> > >>> Le jeudi 31 mai 2012 à 17:49 +0200, Wael MANAI a écrit : > >>>> Hi everybody, > >>>> > >>>> I would like to know if it's possible to prevent postfix to NOT send a > >>>> MAILER DAEMON email back to the sender if something is wrong? > >>>> > >>>> thanks in advance, >