Re: [Exim] how to prevent mail loops if exim is relief MTA f…

Startseite
Nachricht löschen
Nachricht beantworten
Autor: Philip Hazel
Datum:  
To: Marc Haber
CC: exim-users
Betreff: Re: [Exim] how to prevent mail loops if exim is relief MTA for a broken sendmail
On Thu, 30 Mar 2000, Marc Haber wrote:

> So
> hosts_treat_as_local=S
> is all I need?


Yes.

> I don't quite understand what the docs say about
> hosts_treat_as_local and allow_localhost.


    "If this option is set, any host names that match the domain list are
    treated as if they were the local host when Exim is scanning host lists
    obtained from MX records,"


Isn't that exactly what you want? You look up MX and get

    client host = primary
    S = secondary


but if client is down, you don't want to send to S. If it were the local
host you wouldn't. So treating it as local does the trick.

You don't need allow_localhost unless you want to do any deliveries to
S.


-- 
Philip Hazel            University of Cambridge Computing Service,
ph10@???      Cambridge, England. Phone: +44 1223 334714.