Changing your MX records with cPanel
From Computer Tyme Support Wiki
m |
(→New cPanel) |
||
(21 intermediate revisions not shown) | |||
Line 1: | Line 1: | ||
- | [http://www.cpanel.net 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 [http://wiki.ctyme.com/index.php/DNS-Info#MX_Record_Settings set several MX records] and | + | == New cPanel == |
+ | |||
+ | [http://www.cpanel.net 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 [http://wiki.ctyme.com/index.php/DNS-Info#MX_Record_Settings 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: | ||
+ | |||
+ | <font color=red><b>Always accept mail locally even if the primary mx does not point to this server.</b></font> | ||
+ | |||
+ | Alternatively - if the choice is "<font color=red><b>Local Mail Exchanger</b></font>" - 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 junkemailfilter.com 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 (mx.junkemailfilter.com)........ok: ok ...Done | ||
+ | Setting mx priority 20 (mx.junkemailfilter.net)........ok: ok ...Done | ||
+ | Setting mx priority 30 (mx.junkemailfilter.org)........ok: ok ...Done | ||
+ | |||
+ | Reconfiguring Local Mail: This server will serve as a primary mail exchanger for example.com'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'''. | 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'''. | ||
Line 11: | Line 34: | ||
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. | 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. | ||
- | domain.com. 14400 IN MX | + | domain.com. 14400 IN MX 10 mx.junkemailfilter.com. |
Then you go to the forms at the bottom and add three more lines: | Then you go to the forms at the bottom and add three more lines: | ||
- | |||
domain.com. 14400 IN MX 20 mx.junkemailfilter.net. | domain.com. 14400 IN MX 20 mx.junkemailfilter.net. | ||
domain.com. 14400 IN MX 30 mx.junkemailfilter.org. | domain.com. 14400 IN MX 30 mx.junkemailfilter.org. |
Latest revision as of 21:48, 23 February 2012
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 junkemailfilter.com 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 (mx.junkemailfilter.com)........ok: ok ...Done Setting mx priority 20 (mx.junkemailfilter.net)........ok: ok ...Done Setting mx priority 30 (mx.junkemailfilter.org)........ok: ok ...Done Reconfiguring Local Mail: This server will serve as a primary mail exchanger for example.com'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:
domain.com. 14400 IN MX 0 domain.com.
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.
domain.com. 14400 IN MX 10 mx.junkemailfilter.com.
Then you go to the forms at the bottom and add three more lines:
domain.com. 14400 IN MX 20 mx.junkemailfilter.net. domain.com. 14400 IN MX 30 mx.junkemailfilter.org.
When filling this out you put domain.com. 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 domain.com refers to your domain, not domain.com literally.