CPanel - WHM - change sending email via server to email Relay (email supplier SMTP) (mailgun)
Following this article https://www.smtp2go.com/setupguide/exim_whm_cpanel/ While choosing mailgun as my supplier, and the help of one of GNS experts, here is what you need to do. NOTICE this is for SMTP. Open your WHM, in the left search for "Exim" and click "Exim Configuration Manager". Within the new window opened there are some tabs, choose "Advanced Editor". Its Highly recommended that you save the old values for each place you make a change. 1. Find the area under begin authenticators Section: AUTH and paste these values: mailgun_login: driver = plaintext public_name = LOGIN hide client_send = : postmaster@mydomain.co.il:9b7. ...e3 change the last line to your email account name and your password 2. Find the area under Section: ROUTERSTART and paste these values: mailgun: driver = manualroute domains = ! +local_domains transport = mailgun_transport route_list = "* smtp.eu.mailgun.org::587 byname" host_find_failed = defer no_more