Mail server

goodgirl

Verified User
Joined
Apr 27, 2005
Messages
59
Location
Wheatfield
I have a client that the server he is using has blacklisted IP's. I use 2 datacenters, and the second one doesn't have any IP problems. 1st one has better lines and machines and better backup systems. So we have him in datacenter 1.

Is there a way to setup his mail to go through one of our other servers? Also if we do this, will his scripts use the second server? His sites are ecommerce and we want to make sure customers are getting receipts and support emails.
 
thanks

route_smarthost:
driver = domainlist
transport = remote_smtp
route_list = * smtp.ISP.com byname

what does byname mean? If the other server requires login for smtp is there a way to put the login in this?
 
goodgirl said:
route_smarthost:
driver = domainlist
transport = remote_smtp
route_list = * smtp.ISP.com byname

what does byname mean?
It's a literal. For example, if the server you're going to use is smtp.example.com the last line would be:
route_list = * smtp.example.com byname
If the other server requires login for smtp is there a way to put the login in this?
No. Smart Hosts are generally inside your network. You can set up the smarthost server to always accept emails from your server's IP#.

(There was a thread on how to do this a few days ago.) Don't forget if you're using spamblocker on the smarthost you'll need to whitelist the host if it's in blocklists.

Jeff
 
I think I have the remote server setup right to accept email from the main server.

But whenever I try to add the

route_smarthost:
driver = domainlist
transport = remote_smtp
route_list = * smtp.sitename.com byname

to exim.conf on the main server exim won't start.
 
Starting exim: 2005-11-01 15:13:56 Exim configuration error in line 622 of /etc/exim.conf:
router route_smarthost: cannot find router driver "domainlist"


What do I put in domainlist if I want every domain to go through the smarthost?
 
Using a smarthost is not just a few simple lines added; I assumed (I know, I shouldn't have) that you had a completely rewritten exim.conf and were just asking the one question.

The section of exim.conf (I'm using SpamBlocker2 exim.conf as my example) following this code:
Code:
#                      ROUTERS CONFIGURATION                         #
#            Specifies how remote addresses are handled              #

... has to be rewritten so all remote access goes through a single driver.

The UITCambridge exim book recommends the manualroute driver and this router instead of the lookuphost router:
Code:
smarthost:
   driver = manualroute
   domains = !+local_domains
   transport = remote_smtp
   route_list = * smarthost.example.com
where you replace smarthost.example.com with the name of the server you'll be using.

Note that I've not tested any of this code. If you'd like us to do the implementation we can do that at our hourly rate, but otherwise I don't believe I can come up with more help on this subject.

So, I hope this helps :) .

Jeff
 
Back
Top