Changing your MX records with cPanel

From Computer Tyme Support Wiki

Jump to: navigation, search

New cPanel

cPanel is a powerful and popular server management tool that allows you to change your DNS and MX records. In order to use our spam filtering service you have to set several MX records. You set your MX to point to our servers, we filter the spam out, and forward the messages on to your existing email server. The process of setting this up is tricky in cpanel and there are traps that need to be avoided.

IMPORTANT - when changing MX records always check the box that says:

Always accept mail locally even if the primary mx does not point to this server.

Alternatively - if the choice is "Local Mail Exchanger" - select it.

You can then click the link that says: "Add Another MX Entry Field" several times to get 3 empty field for adding the MX records. After everything is entered correctly hit SAVE.

The response after hitting save should be something like this:

Deleting mx priority 0........ok: ok ...Done
Setting mx priority 10 ( ok ...Done
Setting mx priority 20 ( ok ...Done
Setting mx priority 30 ( ok ...Done

Reconfiguring Local Mail: This server will serve as a primary mail exchanger for's mail.

if it doesn't have that checkbox then proceed as below.

Older cPanel

First - cPanel has some limitation and some bugs but once you get around them you are fine. One of the bugs you need to avoid is DON'T SELECT the option to change the MX ENTRY. I know that's what you would normally do but DON'T DO IT.

Here's why. First, it only allows you to edit one MX entry, and when you do it removes that domain from a file called /etc/localdomains and your email for that domain will start to bounce. If you already edited this entry, put it back the way it was. Putting it back will put your domain back in the list /etc/localdomains and it will start to work again.

Instead - here's what you do. Under DNS Functions select Edit DNS Zone. You will see an MX entry that looks something like this: 14400 IN MX 0

Note the period at the end. That final period is necessary and your email will be seriously broken without it so it's important that you check for the period at the end. What you need to do is change that MX to. 14400 IN MX 10

Then you go to the forms at the bottom and add three more lines: 14400 IN MX 20 14400 IN MX 30

When filling this out you put in the first box, then use the pulldown to select MX. Then just ater MX put the priority number (10,20,30) in the next box and then in the next box after that put the junkemailfilter host.

Note that refers to your domain, not literally.

Personal tools