Setup mailgun for only specific domains

satankoh666

Verified User
Joined
Feb 2, 2020
Messages
17
Hi guys

Is there a way to set up mailgun for example 2 domains in the server and the rest not to use mailgun?
Example, abc.com and def.com to use mailgun and ghi.com and jkl.com will NOT use mailgun?

I had already set up 3 files in etc, authenticators.post.conf, exim.routers.pre.conf and exim.transports.pre.conf.

In authenticators.post.conf, under the hide client_send = : YourMailgunEmailAddress : YourMailgunDomainPassword, I fill up with the SMTP credentials generated by the domain. So I believe this only works for that 1 domain. In this case, I am unable to run 2 domains with mailgun I assume? If I were to assign using the MAIN mailgun login details to the authenticators.post.conf, what happen if I am using 2FA for my mailgun?

Anyone with experience can advise what should i fill up those in order for specific domain to use mailgun and specific domains not to use mailgun.

Thanks in advanced
Ron
 
Back
Top