[Exim] special transport for special domains

Top Page
Delete this message
Reply to this message
Author: Thomas Baumann
Date:  
To: exim-users@exim.org
Subject: [Exim] special transport for special domains
Hello list,

i´m using exim 3.36 and have the following problem:

mail to outside directions goes out via transport
remote_smtp:
driver = smtp

This is working fine.

But now I need a special transport for the domain
*@internal-north.tiri.li (which is not in any dns)
with
internal-north:
driver = smtp
hosts = 192.168.10.25
port = 25

internal-south:
driver = smtp
hosts = 192.168.20.25
port = 25


How can exim be configured that mails
sent to external are sent over remote_smtp,
mails to *@internal-north.* sent over 192.168.10.25:25,
and mails to *@internal-south.* sent over 192.168.20.25:25 ?

Thanks for every help.

Thomas




--
Thomas Baumann // tirili+list.exim@???