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.

Automatic update of /etc/mailips and /etc/mailhelo when adding new domains in cPanel

Discussion in 'cPanel Developers' started by rinkleton, Nov 20, 2015.

  1. rinkleton

    rinkleton Active Member

    Joined:
    Jul 16, 2015
    Messages:
    29
    Likes Received:
    1
    Trophy Points:
    3
    Location:
    Cleveland
    cPanel Access Level:
    Root Administrator
    When you have EXIM set to send mail from each account's own dedicated IP, and you have an account with a dedicated IP, and then you add a subdomain to the account it doesn't automatically set things up on the spot so it also sends emails from the subdomain using the dedicated IP. I think it does when you assign the IP to the account in the first place.
    The only way it does is if you go into WHM and hit save on the EXIM configuration. It seems like this rebuilds everything. Is there a way to trigger this from the API?
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,854
    Likes Received:
    676
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
  3. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,854
    Likes Received:
    676
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    To update, this issue is addressed in cPanel version 56:

    Fixed case CPANEL-3642: Ensured /etc/mailips and /etc/mailhelo updated for new domains

    Version 56 is not yet available on production build tiers, but you can review the following document to review how the release process works:

    cPanel & WHM Versions and the Release Process - cPanel Knowledge Base - cPanel Documentation

    We also have a new blog post on this that offers insight on the development process:

    The cPanel Development Process | cPanel Blog

    Thank you.
     
Loading...

Share This Page