Hi if that header only presents in the original message but no the BOUNCE message itself, should be ok? But in this case I am checking that header in the BOUNCE MESSAGE mail body?
- Joe On Thu, Jan 20, 2011 at 4:59 PM, Ralf Hildebrandt < ralf.hildebra...@charite.de> wrote: > * Joe Wong <joewon...@gmail.com>: > > Hello, > > > > I would like to know if there is possible to configure postfix not to > > bounce a message if it contain certain header in the message? I tried > adding > > -o header_checks option to the bounce process in master.cf, does not > seems > > picking up my header check pcre config. > > You'd have to subject the bounces to the internal filtering: > internal_mail_filter_classes > > BUT: In that case the BOUNCE MESSAGE will be subject to filtering - > meaning it's not clear if the header is in the original mail OR in the > attached mail (in the bounce). > > So I'd say it's not possible. > > -- > Ralf Hildebrandt > Geschäftsbereich IT | Abteilung Netzwerk > Charité - Universitätsmedizin Berlin > Campus Benjamin Franklin > Hindenburgdamm 30 | D-12203 Berlin > Tel. +49 30 450 570 155 | Fax: +49 30 450 570 962 > ralf.hildebra...@charite.de | http://www.charite.de > >