Config Redstation D.C Setting on Exim

AR3N4

Verified User
Joined
Oct 10, 2011
Messages
5
Hi.
We have a server from Redstation D.C
This D.C have own mail server an we must config our directadmin with d.c mail server configurations !

this is FAQ : http://www.redstation.com/dedicated-server/mail-relay-faq

How do I setup the free relay on Exim (not CPanel)

Using your favorite text editor simply

Open: /etc/exim/main.cf
Add or Edit the following:
smarthost:
driver = manualroute
domains = ! +local_domains
transport = remote_smtp
route_data = "relay.redstationmail.co.uk"
Run: service exim restart

but when copy
Code:
smarthost:
driver = manualroute
domains = ! +local_domains
transport = remote_smtp
route_data = "relay.redstationmail.co.uk"
in exim.conf, i can't restart exim ! and exim going down !

any body can help to me ?
 
I guess you need to comment:

Code:
lookuphost:
  driver = dnslookup
  domains = ! +local_domains
  ignore_target_hosts = 127.0.0.0/8
  condition = "${perl{check_limits}}"
  transport = remote_smtp
  no_more

Check this:

If this server routes its own remote email, then the lookuphost
router should be uncommented and the smarthost driver should be commented.
If this exim configuration sends all remote email to a smarthost,
then the lookuphost router should be commented, the smarthost driver
should be uncommented, AND THE HOSTNAME OR IP MUST BE INCLUDED
IN THE SMARTHOST ROUTER
By default this exim.conf file presumes this server will route its own
remote email.

From EDIT#48 http://www.nobaloney.net/downloads/...1/ReadMe-SpamBlockerVersion-4.1.exim.conf.txt
 
you are right ...
thanx a lot ...
good job :)

my changes :

Code:
#lookuphost:
#  driver = dnslookup
#  domains = ! +local_domains
#  ignore_target_hosts = 127.0.0.0/8
#  condition = "${perl{check_limits}}"
#  transport = remote_smtp
#  no_more

smarthost:
  driver = manualroute
  domains = ! +local_domains
  transport = remote_smtp
  route_data = "relay.redstationmail.co.uk"
 
Back
Top