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.

Manually changing Reseller account CONTACTEMAIL not taking effect.

Discussion in 'E-mail Discussions' started by John D, Feb 12, 2014.

  1. John D

    John D Member

    Joined:
    Feb 10, 2014
    Messages:
    12
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    Hi,

    We are trying to manually change the CONTACTEMAIL on a reseller account.
    The reason why is so that when a standard user clicks on the "Contact Customer Support" link at the bottom of their CPanel page. It sends the email onto the associated OWNER/RESELLER's email address for that users account.
    I have updated the reseller account CONTACTEMAIL with this command, and can see it does change the user file. And also shows the updated email in WHM.

    /scripts/modcpuser --user <reseller-user> --action set --key CONTACTEMAIL --value <new-email-address>

    But it is still sending a Customer Support email to the old address.

    The only way I can get this email change to take effect is to go into the reseller account in WHM and click on the CHANGE button for the email on the account. Then it works.

    Is there a way to manually force this CHANGE ?

    I have tried clearing the cache files for users and also restarting cpanel service. None of these work.

    Thanks,
    John
     
  2. John D

    John D Member

    Joined:
    Feb 10, 2014
    Messages:
    12
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    Never mind, i found the problem here.

    I had to update these two files manually as well:

    /home/<reseller-user>/.contactemail
    /home/<reseller-user>/.cpanel/contactinfo

    Hope someone else finds this usefull.

    Cheers,
    John
     
  3. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,678
    Likes Received:
    649
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
Loading...

Share This Page