View Single Post

  #1 (permalink)  
Old 07-30-2004
Sven Putze
 
Posts: n/a
Default header checks are not case-insensitive

Hello,

I've configured my postfix (2.0.1) to use header-checks.
As far as I understand the documentaion on www.postfix.org headerchecks work
like that:

/SEARCHSTRING/FLAGS ACTION

When I use this, e.g.:

/^Subject:.*Re.*your.+website/i REJECT spam

I would expect my postfix to reject mails with one of the following
subjects:

Re: your website
Re: Your Website
re: yOur WebSitE

The flag i should tell postfix to interpret the regular expression
case-insensitive, but only the first one is rejected.

Where is the point, what am I missing?

--
with kind regards

Sven Putze
http://my-bluetooth.de
-------------------------------------------------------------------
If liberty means anything at all, it means the right to tell people
what they do not want to hear. (George Orwell)
Who controls the past controls the future. Who controls the present
controls the past. (George Orwell)
-------------------------------------------------------------------




Reply With Quote