Re: [exim] more than one smarthost with exim4

Páxina inicial
Borrar esta mensaxe
Responder a esta mensaxe
Autor: Chris Davies
Data:  
Para: exim-users
Asunto: Re: [exim] more than one smarthost with exim4
Lars Schimmer <l.schimmer@???> wrote:
> I want to use 2 smarthosts instead of one. All mails with a special
> domain should be routed over smarthost 2, all other via smarthost 1.


The vanilla smarthost configuration will allow you to do this by means
of the hubbed_hosts [*] file. Configure your smarthost to be the default,
and put exceptions in /etc/exim4/hubbed_hosts.

At one time I used to do this to route email destinated for hotmail via
my ISP, thus -

    hotmail.com:    smtp1.bethere.co.uk
    hotmail.co.uk:    smtp1.bethere.co.uk


Chris

[*] Yes, I know hubbed_hosts is supposed to be for internal hosts. But
this works so enjoy it while you can.