Re: [exim] Reject connects from hostnames containing special…

Etusivu
Poista viesti
Vastaa
Lähettäjä: Alan J. Flavell
Päiväys:  
Vastaanottaja: Exim users list
Aihe: Re: [exim] Reject connects from hostnames containing special words
On Thu, 16 Sep 2004, Nigel Metheringham wrote:

> deny condition = ${if match {$sender_host_name}{adsl} {1}{0}}
>
> The regexp has been simplified to a minimum.


In fact it'll trigger on chance occurrences of the string "adsl" in
the middle of a "word". It might be advisable to make the match a bit
more specific? The regex element "\b" can be useful for this kind of
thing.

> I guess you might want to case independent this.


I always have to look that up!

{(?i)\badsl\b} , is it, then?

cheers