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,
[EMAIL PROTECTED]      Cambridge, England. Phone: +44 1223 334714.
Get the Exim 4 book:    http://www.uit.co.uk/exim-book

-- 
## List details at http://www.exim.org/mailman/listinfo/exim-users 
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://www.exim.org/eximwiki/

Reply via email to