#1 (permalink)  
Old 12-17-2007, 10:41 AM
Registered User
 
Join Date: Oct 2007
Posts: 45
grayloon is on a distinguished road
Exclamation SMTP Relay

I need Exim to direct all outgoing mail to an external mail server. I think I need Exim to ignore /etc/localdomains or something and add a new router in /etc/exim.conf. Can anyone elaborate on this? How can I prevent cPanel updates from overwriting my custom exim.conf file?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 12-17-2007, 11:08 AM
Registered User
 
Join Date: Oct 2007
Posts: 45
grayloon is on a distinguished road
Lightbulb

Should this work as the first listing under ROUTERS CONFIGURATION?

send_to_gateway:
driver = manualroute
domains = !+local_domains
transport = remote_smtp
route_list = * newmail.grayloon.com
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 12-27-2007, 01:14 PM
Registered User
 
Join Date: Sep 2003
Posts: 7
CoreOperations
SMTP relay

Try this matey

First box in routers

static_route:
driver = manualroute
transport = remote_smtp
route_data = ${lookup{$domain}lsearch{/etc/staticroutes}}

now create a file in /etc/staticroutes that looks like this


domain.net: 62.xx.xxx.xxx
domain.co.uk: 62.xx.xxx.xxx
domain2.co.uk: 62.xx.xxx.xxx
domain2.net: 62.xx.xxx.xxx

That will route (once it has been spam checked) to the IP of their mailserver.
__________________
John
www.servtec.co.uk
Webhosting, RVSkin & RVSiteBuilder
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
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



All times are GMT -5. The time now is 04:47 AM.


Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
© cPanel Inc