LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


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

Rep: Reputation: 15
exim smart host for specific domains


Hi,

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?

Thanks.
 
Old 12-17-2007, 04:29 PM   #2
helpmhost
Member
 
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:

Code:
domainlist smarthost_domains = domain1:domain2.com
In the routers section (the very first one):

Code:
smarthost:
  driver = manualroute
  domains = +smarthost_domains
  transport = remote_smtp
  route_list = +smarthost_domains IP_or_DNS_of_smarthost
 
  


Reply



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 11:32 AM
Limit Browser to specific domains whayford Linux - General 5 05-31-2006 07:49 AM
Multiple Domains with Exim 4.34 jonwatson Linux - Software 2 09-27-2004 12:51 PM
EXIM blocking domains n3r0 Debian 3 09-22-2004 08:23 PM
Specific destination mail host in EXIM merana Linux - Software 0 02-19-2004 10:38 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 11:41 PM.

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