Manually changing Reseller account CONTACTEMAIL not taking effect.

John D

Member
Feb 10, 2014
12
0
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
 

John D

Member
Feb 10, 2014
12
0
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