Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Server
User Name
Linux - Server This forum is for the discussion of Linux Software used in a server related context.


  Search this Thread
Old 12-17-2007, 01:45 PM   #1
Registered: Oct 2006
Posts: 43

Rep: Reputation: 15
exim smart host for specific domains


Our exim mail server sends e-mail out without using any smart host. It uses the regular DNS/SMTP method.

However, we now need to send e-mails destined to a few specific domains to a specific mail server (something different than what the DNS resolves to).

So what I would like to do is setup exim so that any e-mail destined for that list of domains, gets sent directly to a specific mail server. Any idea on how to do this?

Old 12-17-2007, 05:29 PM   #2
Registered: Oct 2006
Posts: 43

Original Poster
Rep: Reputation: 15
I figured it out.

For those of you who may later get the same issue, here is the config settings I put in the configure file:

domainlist smarthost_domains =
In the routers section (the very first one):

  driver = manualroute
  domains = +smarthost_domains
  transport = remote_smtp
  route_list = +smarthost_domains IP_or_DNS_of_smarthost


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem with Exim with multiple domains in the From area LMZ Linux - Software 1 06-01-2007 12:32 PM
Limit Browser to specific domains whayford Linux - General 5 05-31-2006 08:49 AM
Multiple Domains with Exim 4.34 jonwatson Linux - Software 2 09-27-2004 01:51 PM
EXIM blocking domains n3r0 Debian 3 09-22-2004 09:23 PM
Specific destination mail host in EXIM merana Linux - Software 0 02-19-2004 11:38 AM > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 03:43 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration