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

Página Principal
Apagar esta mensagem
Responder a esta mensagem
Autor: Alan J. Flavell
Data:  
Para: Exim users list
Assunto: 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