Skip to main content

Question about rDNS for email.

Comments

10 comments

  • madmanmachines
    HI, 1. By default, mail will be sent from the main shared IP of your server. You can set and view this at WHM > Server Configuration > Basic cPanel & WHM Setup. However, if you have manually specified another mail IP, you would see this at `/etc/mailips'. If this file is empty, your main shared IP will be used for mail. You may also toggle this file on/off at WHM > Server Configuration > Exim Configuration Manager > "Reference /etc/mailips for outgoing SMTP connections". 2. I want webpanel.mydomain.com as the hostname
    If this is the case and you are not specifying an alternative mail IP via `/etc/mailips', simply ensure the IP that "webpanel.mydomain.com" resolves to, has a PTR record of "webpanel.mydomain.com". If you are using `/etc/mailips' simply ensure that each IP specified in this file has matching forward/reverse DNS. Note the PTR records of these IP's do not have to correspond to your MX record. You may also find the following documentation helpful:
    0
  • krazos
    HI, 1. By default, mail will be sent from the main shared IP of your server. You can set and view this at WHM > Server Configuration > Basic cPanel & WHM Setup. However, if you have manually specified another mail IP, you would see this at `/etc/mailips'. If this file is empty, your main shared IP will be used for mail. You may also toggle this file on/off at WHM > Server Configuration > Exim Configuration Manager > "Reference /etc/mailips for outgoing SMTP connections". 2. If this is the case and you are not specifying an alternative mail IP via `/etc/mailips', simply ensure the IP that "webpanel.mydomain.com" resolves to, has a PTR record of "webpanel.mydomain.com". If you are using `/etc/mailips' simply ensure that each IP specified in this file has matching forward/reverse DNS. Note the PTR records of these IP's do not have to correspond to your MX record. You may also find the following documentation helpful:
    0
  • cPanelMichael
    Hello, I am happy to see those answers were helpful. Feel free to let us know if you have additional questions. Thank you.
    0
  • krazos
    Hi! Sorry for bumping, but I never got any further with this since we had to focus on other stuff. I wonder, if I only want one IP for mail-sending, is this how my /etc/mailips should look?: *: xxx.xxx.xxx.xxx only this? whereas xxx.xxx.xxx.xxx is my IP adress I want to use for mail.
    0
  • cPanelMichael
    I wonder, if I only want one IP for mail-sending, is this how my /etc/mailips should look?: *: xxx.xxx.xxx.xxx

    Yes, but you must also ensure you follow all other instructions found at:
    0
  • krazos
    Yes, but you must also ensure you follow all other instructions found at:
    0
  • cPanelMichael
    the domain I was told to use to set up my email manually was webpanel.mydomain.com

    Could you clarify where you are attempting to change this? Do you have a SSL certificate installed for this domain name with Mail SNI enabled?
    And also, how is my /etc/mailhelo supposed to look?

    If you want all email from the hostname, it should look like this:
    *: hostname.example.com
    Thank you.
    0
  • krazos
    Could you clarify where you are attempting to change this? Do you have a SSL certificate installed for this domain name with Mail SNI enabled?

    Yes I have SSL certificate installed for this domain name, a wildcard SSL for our whole domain. I don't know if I have SNI enabled, where can I check this? I don't even know If I should have it enabled or disabled.
    If you want all email from the hostname, it should look like this:
    *: hostname.example.com
    Thank you.

    Alright, thank you. So for instance "*: mail.mydomain.com" ?
    0
  • krazos
    Hi, this is not a bump. But I don't wanna complicate things, so I'll skip this about using mail.mydomain.com, as I said earlier our domain is webpanel.mydomain.com We have 5 IP's assigned to the cPanel server, should I just update the rDNS for these 5 IP's to webpanel.mydomain.com and skip changing mailhelo and mailips files? Easier to just let it all be automatic. Thanks in advance.
    0
  • cPanelMichael
    We have 5 IP's assigned to the cPanel server, should I just update the rDNS for these 5 IP's to webpanel.mydomain.com and skip changing mailhelo and mailips files? Easier to just let it all be automatic.

    Hello :) Yes, it's normal and acceptable to have all of your IP addresses point back to the hostname of the server. This only changes if you decide to send email out through different IP addresses for different accounts. Thank you.
    0

Please sign in to leave a comment.