Posts

Showing posts from April, 2019

WHM/cPanel/Exim Mail Server // Relaying email for specific domain(s) or email address to SMTP Smart Host or remote SMTP server

As with most of my posts, scroll to the Solution  section if you are only here for a quick fix.  BUT be sure to check out the Examples at the end of the post!    WARNING:  You will bypass my attempts at humour to make this read interesting if you skip! I recently came up against a scenario whereby a client who uses a WHM/cPanel server as a dedicated mail server.  Fine.  Easy Peasy, no issues there. These guys wanted to relay their mail through an online service for reporting and reputation reasons.  Fine, again, simple. Naive little me thought "Simple, all I gotta do is log into WHM and tell Exim where to push the mail in their sweet little web interface".  Turned out to be not so straight forward. The Scenario (long-story-short) Client uses WHM/cPanel system as dedicated mail server (Exim) Wanted to send email for specific domain to specific IP address Wanted to relay all other outbound mail via 3rd party relay serv...