Re: [exim] 2 !hosts or 1 joint !hosts

トップ ページ
このメッセージを削除
このメッセージに返信
著者: Philip Hazel
日付:  
To: Sub Zero
CC: exim-users
題目: Re: [exim] 2 !hosts or 1 joint !hosts
On Fri, 5 Aug 2005, Sub Zero wrote:

> Should I just change this !hosts line to:
>
>    !hosts = +relay_hosts : /etc/exim_rbl_whitelist

>
> Or just make it like this:
>
>    !hosts = +relay_hosts
>    !hosts = /etc/exim_rbl_whitelist

>
> Which one is faster/lighter or just working? :)


They both "work", just with different meanings. The first combines the
two conditions with OR, and the second combines them with AND.

> PS: I think I have to use lsearch;/etc/exim_rbl_whitelist instead of
> /etc/exim_rbl_whitelist right?


lsearch will work only if your file contains a list of complete host
names.


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