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

Top Page
Delete this message
Reply to this message
Author: Richard.Hall
Date:  
To: exim-users
Subject: Re: [exim] 2 !hosts or 1 joint !hosts
I'm having one of those goat-stuttering moments. (But, but, but ...)

On Fri, 5 Aug 2005, Philip Hazel wrote:

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


But ... don't the negations make them equivalent?

(NOT a OR b) == (NOT a) AND (NOT b)

At least, I think that's what you lot taught me all those years ago :-)

Richard