Re: [exim] SMTP - set port and auth

Páxina inicial
Borrar esta mensaxe
Responder a esta mensaxe
Autor: Graeme Fowler
Data:  
Para: exim-users
Asunto: Re: [exim] SMTP - set port and auth
On Sun, 2009-04-12 at 02:12 -0700, Phil Pennock wrote:
> > route_list = !+local_domains mail.domain.com:1234
>
> That specifies a that for non-local domains, two hosts should be tried
> in order; the first is "mail.domain.com" and the second is "1234".


Alternatively you can double the colon, or use a different list
separator:

route_list = !+local_domains mail.domain.com::1234

route_list = !+local_domains "<+ mail.domain.com:1234"

See
http://www.exim.org/exim-html-current/doc/html/spec_html/ch20.html#SECTformatonehostitem

Phil's also right, but doing it this way means you can have multiple
route_list items on different ports which makes scaling slightly easier
than having to manage an ever-growing list of transports.

That said, if you put the route_list items into a file you can use
either or both techniques via a lookup :)

Graeme