Re: [Exim] Address header values case-sensitive in filters?

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Philip Hazel
Date:  
À: Schramm, Dominik
CC: exim-users
Sujet: Re: [Exim] Address header values case-sensitive in filters?
On Thu, 25 Sep 2003, Schramm, Dominik wrote:

> I.e., does
> if $h_from: matches "dominik" then ....
>
> catch headers like "From: Dominik" and "From: dOmInIk" as well?


Yes, but if you use "MATCHES" instead of "matches", it is
case-sensitive.

> I tried it out and it did match, but I'd like to find it written somewhere


It is written in the filter specification (doc/filter.txt is the ascii
version of this). It is also written in the Exim book (page 241).


--
Philip Hazel            University of Cambridge Computing Service,
ph10@???      Cambridge, England. Phone: +44 1223 334714.
Get the Exim 4 book:    http://www.uit.co.uk/exim-book