Outbound SMTP Relay per Domain
Question asked by Jeremy Farrance - October 15, 2016 at 10:56 AM
I have a SmarterMail server (v13 still) with about 500 users across 20+ domains. I have 1 domain on this server that I need to send all its outbound messages through a specific SMTP Relay. I understand how to setup the whole server to have all messages use an outbound SMTP relay, but I only want this one client/domain to have their messages get routed. All the other domains should continue to send out their deliveries direct from SmarterMail. Is there some way to accomplish this? 

2 Replies

Reply to Thread
The easiest way to achieve this would be to setup Exim on CentOS. Then setup a custom transport rule within Exim to deliver all email from the specific domain to the smarthost then all other email by DNS/MX resolution. An outbound route would then be defined within Smartermail to send all outbound email via Exim.
It requires some Linux experience but provides ultimate flexibility in mail routing / handling that far outstrips anything Smartermail can do. If you are not familiar with Exim invest the time to learn as it will pay off.
Rod Lasky Replied
Employee Post
Hi Jeremy.  This KB Article will explain how to route a single domain through a separate SMTP gateway.
Rod Lasky
Technical Support Specialist
SmarterTools Inc.
(877) 357-6278

Reply to Thread