shortly, I don't want to bounce the message if it was tagged as spam by SpamAssassian. So, I was looking for a way not to bounce if X-SPAM-Flag: yes in found in the message. any thought?
thanks, - Joe On Thu, Jan 20, 2011 at 8:33 PM, /dev/rob0 <r...@gmx.co.uk> wrote: > On Thu, Jan 20, 2011 at 04:50:30PM +0800, Joe Wong wrote: > > 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. > > Perhaps if you told us the real-world problem you're trying to solve, > you could get suggestions on better ways to do it. > > header_checks is not a valid option for the bounce(8) daemon, so no, > that will not work. > -- > Offlist mail to this address is discarded unless > "/dev/rob0" or "not-spam" is in Subject: header >