Re: [Exim] Question on string matching

トップ ページ
このメッセージを削除
このメッセージに返信
著者: Philip Hazel
日付:  
To: Shane Wegner
CC: exim-users
題目: Re: [Exim] Question on string matching
On Mon, 1 Sep 2003, Shane Wegner wrote:

> >From the exim4 manual, it indicates that a host list can be
> a regular expression provided that it starts with a ^
> character. I have a line:
> helo_verify_hosts = ^[^.]+$
>
> Which should cause a helo which doesn't contain a fully
> qualified domain ie. no . to be verified and rejected.


I'm afraid not. What you are checking with helo_verify_hosts is the
identity of the connecting host. If the host matches, then the inbuilt
HELO check is applied. In your case, having given a regular expression,
you are checking the host name. The real name. Not what it gives in
HELO.

--
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