Re: [Exim] Most probably bug with host lists verifying

Top Page
Delete this message
Reply to this message
Author: Philip Hazel
Date:  
To: Andrew V Stikheev
CC: exim-users
Subject: Re: [Exim] Most probably bug with host lists verifying
On Wed, 19 May 2004, Andrew V Stikheev wrote:

>    If in a hosts list (hostlist,smtp_ratelimit_hosts,rfc1413_hosts,...)
>   a non-existent domain is included, then exim doesn't try to match
>   the verified host with the list items after the non-existent domain
>   and treats the verified host as not present in the hosts list.
>   If a "+include_unknown" string is present in the list prior to non-existent
>   domain, then exim treats the verified host as present in the hosts list.


As specified.

> For example:
>
> 1) hostlist relay_from_hosts = non-existent-domain : 192.168.0.1
>
>       In this case relay from 192.168.0.1 not permitted.


Correct. Exim assumes you have screwed up by specifying a non-existent
host. So it takes a cautious line.

> 2) hostlist relay_from hosts = +include_unknown : non-existent-domain
>
>       In this case relay permitted from any host.


Sounds like you want a new feature called +ignore_unknown.

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