English  France













If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.



Reply
  #1 (permalink)  
Old 05-01-2009, 05:20 AM
UnderHost's Avatar
UnderHost Management
 
Join Date: Jul 2008
Posts: 581
Default How to configure Exim on a cPanel server to use a smart host?

A Smart Host is a SMTP server that will accept mail from another server and then deliver the mail for that server.



For example, server1 is setup to use server2 as a smart host.



Anytime someone sends e-mail on server1 it is automatically relayed to server2 regardless of the MX entrys for the domain.


Server2 then accepts this message, looks up the proper delivery host/IP and attempts to deliver the message to that host.


To configure a smart host, create
PHP Code:
/etc/exim.conf.local 
and add the following lines.



Be sure to change to the hostname or ip of the smart host server:


PHP Code:
 @ROUTERSTART@
            
smart_route:
                
driver manualroute
                domains 
= !+local_domains
                transport 
remote_smtp
                route_list 
= * host.name.of.smart.host.server 

Next run
PHP Code:
/scripts/buildeximconf 
Then run
PHP Code:
/scripts/restartsrv_exim 
Thats it, watch the logs for a bit to make sure it's working!
__________________
UnderHostProviding Affordable and Quality USA Hosting & Offshore cPanel Hosting
24/7 Rapid Support / 99.9% Uptime Guarantee / Shared / Reseller / VPS / Dedicated
Premium VPSUSA Cloud Virtual Private Servers - Dedicated and Scalable Resources - Parallels® Virtuozzo
Hong Kong - Singapore - USA - Canada - Netherlands - UK - Germany - Panama - Malaysia
Reply With Quote
underhost.us
Reply

Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Loading...


All times are GMT -4. The time now is 02:08 AM.
Copyright © 2010 UnderHost Networks Ltd






Partners
Underhost Facebook  Underhost Twitter

Copyright © 2011 UnderHost Networks Ltd