Portal Home > Knowledgebase > Articles Database > Mail is rejected using remote mail exchanger


Mail is rejected using remote mail exchanger




Posted by netwood, 04-02-2011, 03:42 PM
We recently setup a cPanel/WHM server. Most of our domains use a remote mail exchanger which checks incoming mail for spam and then delivers valid mail to the cPanel server. I set the domains to use remote mailexchanger in DNS and make sure the the MX record points to the remote exchanger. However mail from the remote exchanger is rejected by the cPanel server but if I change the MX record to use local mail exchanger - mail is deliver directly to the server bypassing the remote exchanger - then it works. Does anyone have any ideas of what I'm missing? Any ideas are greatly appriciated. //jonas

Posted by xtrac568, 04-04-2011, 09:47 AM
You have to set domains mail settings to "Local" instead of "Remote Mail Exchanger" in order to accept mails on cPanel server. When "Remote Mail Exchanger" is set, cPanel will reject mail locally of an domain. If you have set MX records to remote mail filtering server, any internet host will send mail to this filtering server based on your DNS MX records. Then you have to configure your remote filtering server to relay mail directly to your cPanel server ip address / hostname, instead of doing DNS MX lookups of your domain. If everything is configured as explained above, internet mail should NOT be bypassed, and should go through remote filtering. Only local email (the mail the is sent from cPanel server itself) will be bypassed and will be delivered locally. So, when you are doing some testings, send email from some remote mail server/domain instead from your cPanel server. Last edited by xtrac568; 04-04-2011 at 09:57 AM.

Posted by netwood, 04-04-2011, 05:02 PM
Thanks for your reply. So basically all domains should be set to use local mail exchanger but for those that use external gateway for spam filtering, all I need to do is to change the MX record in the DNS? //jonas

Posted by xtrac568, 04-04-2011, 07:44 PM
that's right.



Was this answer helpful?

Add to Favourites Add to Favourites    Print this Article Print this Article

Also Read
Nginx Vs Apache (Views: 677)
Bandwidth limitation (Views: 638)

Language: