How To send all emails from all the domains of the server via an external email provider like mailgun or mailersend

Mario

New member
Joined
Dec 18, 2025
Messages
3
Hello !

I'm new to DirectAdmin.
I recently got a new server (and last week) i migrated some accounts from another server and panel.

For some reason the server is blocked in Outlook/Hotmail etc (maybe the ip was blacklisted from the previous owner, I dont know) and anyway I want to temporary send all the emails from all the domains of the server via a 4rd party service like mailgun.com or mailersend.com (I've done thins many years ago with cpanel/sendgrid).

Is there any tutorial on how to do the above without totally breaking things?

Thank you.
 
That's the working solution (already offered by the user splby) which you can adjust with domains/ports from a desired provider, e.g. https://documentation.mailgun.com/d...al/smtp-protocol/smtp-relay#exim-instructions

Combine and specify their hostname in the field "Remote server hostname:" on the page https://docs.directadmin.com/other-...ing-outbound-email-through-remote-mail-server

If you need detailed instructions you might search:

- https://www.google.com/search?q=mailgun+directadmin
- https://www.google.com/search?q=mailersend+directadmin
 
Back
Top