SOLVED: Re: headers_check confusion

2012-09-05 Thread anant
: Wietse Venema Subject: Re: headers_check confusion To: an...@isac.gov.in Cc: postfix-users@postfix.org an...@isac.gov.in: Dear List, I have following header_check /^X-ABC:.*XYZ.*/ DUNNO This matches X-ABC: followed by whatever, followed by XYZ. !/^X-ABC:.*XYZ.*/ FILTER

Re: headers_check confusion

2012-09-03 Thread Wietse Venema
an...@isac.gov.in: > Dear List, > > I have following header_check > > /^X-ABC:.*XYZ.*/ DUNNO This matches X-ABC: followed by whatever, followed by XYZ. > !/^X-ABC:.*XYZ.*/ FILTER smtp:a.b.c.d: This matches ALL OTHER MESSAGE HEADERS. Wietse

headers_check confusion

2012-09-03 Thread anant
Dear List, I have following header_check /^X-ABC:.*XYZ.*/ DUNNO !/^X-ABC:.*XYZ.*/ FILTER smtp:a.b.c.d: I tried these header checks with warn, and only one is getting matched based on headers which I send. But, what I find is, when actual mail is sent, always second header gets acti