The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Custom /etc/mail_reverse_dns file - keeps reverting to default?

Discussion in 'E-mail Discussions' started by Mango45, Oct 31, 2010.

  1. Mango45

    Mango45 Active Member

    Joined:
    Apr 21, 2009
    Messages:
    40
    Likes Received:
    1
    Trophy Points:
    6
    Location:
    Canada
    cPanel Access Level:
    Root Administrator
    Hi, I have a custom /etc/mail_reverse_dns file. Sometimes (but not every time) when upcp is run, the file reverts back to its default. How can I configure it to stay the way I set it?

    Thanks,
    Mango
     
  2. cPanelTristan

    cPanelTristan Quality Assurance Analyst
    Staff Member

    Joined:
    Oct 2, 2010
    Messages:
    7,623
    Likes Received:
    21
    Trophy Points:
    38
    Location:
    somewhere over the rainbow
    cPanel Access Level:
    Root Administrator
    If you have the following set in WHM > Exim Configuration Editor:

    Uncheck it, and instead check these:

    The automatic one does just that, it automatically sets the files for you and will revert changes you make.
     
  3. Mango45

    Mango45 Active Member

    Joined:
    Apr 21, 2009
    Messages:
    40
    Likes Received:
    1
    Trophy Points:
    6
    Location:
    Canada
    cPanel Access Level:
    Root Administrator
  4. cPanelDon

    cPanelDon cPanel Quality Assurance Analyst
    Staff Member

    Joined:
    Nov 5, 2008
    Messages:
    2,557
    Likes Received:
    7
    Trophy Points:
    38
    Location:
    Houston, Texas, U.S.A.
    cPanel Access Level:
    DataCenter Provider
    Twitter:
    To the best of my knowledge the file at "/etc/mail_reverse_dns" is intended only for informational purposes as a baseline example showing what may be used when configuring reverse DNS (PTR) records; customizations applied to this file will not have any functional benefit and such customizations may not be retained.

    On a related note, please keep in mind that it is the following two files that are intended to be customizable, but only if you have disabled the option that automatically handles both and instead enabled two other options, one for each file, that allows you to maintain them manually:
    Code:
    /etc/mailhelo
    /etc/mailips
    When the following option is On, both /etc/mailhelo and /etc/mailips will be automatically generated and updated:
    • Automatically send outgoing mail from the account’s IP address instead of the main IP address. Warning: If you turn this setting on you should make sure reverse DNS entries match the ones in /etc/mail_reverse_dns.

    When the above option is Off, you may elect to manually maintain both /etc/mailhelo and /etc/mailips by setting the following options to On:
    • Send HELO based on the domain name in /etc/mailhelo (*: HELONAME can be added to the file to change the default helo name)
    • Send outgoing mail from the IP that matches the domain name in /etc/mailips (*: IP can be added to the file to change the main outgoing interface)

    Documentation:
     
Loading...

Share This Page