Lars Schimmer <[email protected]> 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.


-- 
## List details at https://lists.exim.org/mailman/listinfo/exim-users
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/

Reply via email to