Exim MTA: How do I route or relaying via a smarthost?

by on June 8, 2006 · 2 comments· Last updated June 8, 2006

I never used exim. My faviorate MTA is postfix. But this time I needed to configure exim MTA (mail transfer agent used in Unix-like operating systems) to router all mails using a smarthost called mta3.somewhere.com

Open exim configuration file i.e. begin routers section and add or modify it as follows:

smarthost:
driver = manualroute
domains = *
transport = remote_smtp
route_data = "mta3.somewhere.com"

Restart exim to take effect.

Check out following sites for more more information:



You should follow me on twitter here or grab rss feed to keep track of new changes.

Featured Articles:

{ 2 comments… read them below or add one }

1 Topdog December 10, 2008 at 11:17 am

the domains should be domains = ! +local_domains otherwise mail for the local machine could be sent out to the smarthost then back.

Reply

2 Tjilik August 9, 2010 at 10:54 am

Dear friends,

I am new with EXIM.
Do you know how to configure EXIM to route mails to another SMTP address for specific domain destination?
Example:
The primary EXIM domain is @abc.com,
The EXIM should route all mails to host server01.abc.com that email destination’s domain with @server01.abc.com
Do you know how to accomplish it with EXIM?
note: the domain @server01.abc.com is not registered in DNS

Thank you very much
Tjilik@gmail.com

Reply

Leave a Comment

You can use these HTML tags and attributes for your code and commands: <strong> <em> <ol> <li> <u> <ul> <blockquote> <pre> <a href="" title="">
What is 6 + 2 ?
Please leave these two fields as-is:
Solve the simple math so we know that you are a human and not a bot.



Previous post:

Next post: