Re: [Exim] MTA presents bad HELO but won't take 'no' for an …

Αρχική Σελίδα
Delete this message
Reply to this message
Συντάκτης: Philip Hazel
Ημερομηνία:  
Προς: Alan J. Flavell
Υ/ο: Exim users list
Αντικείμενο: Re: [Exim] MTA presents bad HELO but won't take 'no' for an answer
On Thu, 5 Sep 2002, Alan J. Flavell wrote:

> Would that be something like this?
>
>   deny message = HELO/EHLO contains invalid syntax
>        condition = ${if match {$sender_helo_name}{\N[^a-zA-Z0-9.-]\N}\
>                            {yes}{no}}

>
> or am I making it too hard?


That looks OK, though you don't need the \N's as nothing in the regex
looks like an expansion item.


--
Philip Hazel            University of Cambridge Computing Service,
ph10@???      Cambridge, England. Phone: +44 1223 334714.