Skip to main content

Exim: Remote relay except specific domains

Comments

2 comments

  • cPanelMichael
    Hello :) You may be able to route email for specific domain names through the remote mail server, and leave all others locally. There is a thread on this at: Forward certain domains through smart host Thank you.
    0
  • JacobHansen
    Hi Michael, Thanks. Do you know if there is any way to do say: if MX server is pointing to a local IP then use local routing otherwise use the SMTP relay? Secondly, we seem to have a problem with emails going into a bounce loop when receiving e-mails. Sending works just fine however when receiving mails it goes all crazy. Example: [url=http://d.pr/i/cNjK]Droplr • Screen Shot 2013-10-19 at 12.24.41.png where test2@chosting.pro is a local mailbox on the server with the rules in the original thread. So it seems like when it receives an email it also tries to relay it using the setup SMTP relay, but it really shouldn't do that. Any ideas on a fix?
    0

Please sign in to leave a comment.