Re: Issue regarding header checks

2011-07-25 Thread punit jain
Thanks I forgot to update it did work

Re: Issue regarding header checks

2011-07-25 Thread Ralf Hildebrandt
* punit jain : > > > /^To: (\d)+@test\.com/i DISCARD > > > > > > So basically any email sent as num...@test.com should be discarded. > > > > > > No. Any mail containing a TO: header with > > numb...@test.com > > should bei discarded! > > How do we make sure this only applies to outgoing mess

Re: Issue regarding header checks

2011-07-25 Thread punit jain
> > /^To: (\d)+@test\.com/i DISCARD > > > > So basically any email sent as num...@test.com should be discarded. > > > No. Any mail containing a TO: header with > numb...@test.com > should bei discarded! How do we make sure this only applies to outgoing messages and doesnot ffect incoming ?

Re: Issue regarding header checks

2011-07-25 Thread Ralf Hildebrandt
* Ralf Hildebrandt : > * punit jain : > > Hi, > > > > I have configured postfix to DISCARD messages with specific To: header using > > the rule below : - > > > > header_checks=pcre:/etc/postfix/header_checks > > > > cat /etc/postfix/header_checks : > > > > /^To: (\d)+@test\.com/i DISCARD

Re: Issue regarding header checks

2011-07-25 Thread Ralf Hildebrandt
* punit jain : > Hi, > > I have configured postfix to DISCARD messages with specific To: header using > the rule below : - > > header_checks=pcre:/etc/postfix/header_checks > > cat /etc/postfix/header_checks : > > /^To: (\d)+@test\.com/i DISCARD > > So basically any email sent as num...@

Issue regarding header checks

2011-07-25 Thread punit jain
Hi, I have configured postfix to DISCARD messages with specific To: header using the rule below : - header_checks=pcre:/etc/postfix/header_checks cat /etc/postfix/header_checks : /^To: (\d)+@test\.com/i DISCARD So basically any email sent as num...@test.com should be discarded. However t