Re: [exim] SMTP Transport: hosts rewriting

Startseite
Nachricht löschen
Nachricht beantworten
Autor: christian meutes
Datum:  
To: exim-users
Betreff: Re: [exim] SMTP Transport: hosts rewriting
> Of course. What happens is this:
>
> Get a list of hosts from MX records
> Set $host and $host_address to the first host's name and address [1]
> Run the smtp transport
> The transport expands the "hosts" option to get a list of hosts [2]
> For each host in the list
> {
> Set $host_address to the address and $host to the name
> Try to deliver to that host
> }
>
> [1] This in fact happens as part of a general setup before running any
> transport, when things like $domain and $local_part get set, if
> relevant. The original motivation for setting $host and $host_address
> was for cases where the transport is NOT the smtp transport but, for
> example, an appendfile transport that is saving messages for particular
> hosts in files (so it needs to know which host).
>
> [2] For your configuration, where hosts and hosts_override are set.
>
> I had forgotten about [1], which is why I originally thought that your
> configuration couldn't possibly work.


Thanks for the nice description... i love Exim :-)

best regards,

Christian Meutes
systems engineer
--
claranet gmbh internet service provider
tel +49 (0) 69 - 40 80 18 - 300
email: christian.meutes@??? http://www.claranet.de/