Thursday 13 March 2014

Domain pointing to external MX on plesk

If you domain uses external MX record and it is hosted on linux plesk server then you need to change the setting on Plesk.

Here is what you need to do to achieve the task.


1) Update the DNS for the Domain


- Change/Add MX records to set external email server with relevant priorities

- Either remove the CNAME for mail.domainname.com(if not to be used for configuration) OR

- Edit CNAME for the domain which will point to external email server (usually provided by email service provider) OR

- Add A record for mail.domainname.com to point to external email server


* This will take some time (12 to 24 hours) to propagate the changes made in DNS.


2) Once the DNS is configured to use external email server, it is necessary to de-activate the Mail service for the domain from the Plesk.


- Login to Plesk as admin

- Domains

- Search and go into the Domain

- Click on ‘Mail’ (has drop down options)

- Click on ‘Mail Settings’ (other option is ‘Create Mailing List’)

- Under Mail Preferences Uncheck the option “Activate mail service on domain”

- Click ‘OK’ button to save the settings.


The Above settings must remove the entry for the domain from the following two “qmail” server configuration files.


=> /var/qmail/control/rcpthosts

=> /var/qmail/control/virtualdomains


After removal of above to entries, server will look for the external email server for that domain by fetching MX records from its DNS


No comments:

Post a Comment