Disable 'Contact Email' Change E-mail Alerts
Hello everyone,
Sorry to bother you but I was hoping that someone might be able to help with this one.
We would like to disable the e-mail alert notifications when we change an accounts e-mail contact in WHM.
What I mean is on the 'List Accounts' page if we put in a new e-mail address in the 'Change Contact Email' field and then click on 'Change', the original e-mail address receives a notification e-mail.
Can these be stopped?
Kind regards
James
-
Hello, That's configured on a per-account basis via the "Contact Information" option in cPanel: Contact Information - Version 70 Documentation - cPanel Documentation The specific setting you adjust is "My contact email address changes". It's not possible to set the default for this setting globally, but I encourage you to vote for the existing feature request that's open for that at: Ability to set defaults for cPanel User Notifications Thank you. 0 -
This is great, but changing the notifications will alert the user that the notifications have been disabled. I wish to completely avoid the user from being noticed. I found a way to pause ALL emails for the server. 1. In the Exim Advanced Editor, add this config and save changes (Look for the big blue button to add a config): queue_smtp_domains = * 2. You may then do whatever fires the email without it being sent. 3. You may check the email queue and delete the undesired notification email. 4. Go back to Exim Advanced Editor and delete "queue_smtp_domains" and save changes again. 5. Celebrate! Reference: 0 -
I found an eaiser way to do this. VERY Surprised WHM doesn't have a way to update this Globally. Anyways you can modify the cPanel contactinfo config file for each account from an SSH terminal. It's a bit tedious but alot less cumbersome than logging into EVERY cPanel account and clicking alot. What I did was create a notepad document exactly like this: nano /home/username1/.cpanel/contactinfo nano /home/username2/.cpanel/contactinfo nano /home/username3/.cpanel/contactinfo
Take note of the Line Break at the end (enter). This is key. You prepare all your accounts, with usernameX updated with actual usernames of your accounts... Then you just triple click each line and paste in your SSH session (must have Nano installed). Once you have the config file open look for these lines: "notify_contact_address_change": 1 "notify_contact_address_change_notification_disabled": 1 Change the 1 to 0 so it reads: "notify_contact_address_change": 0 "notify_contact_address_change_notification_disabled": 0 Then save (ctrl-x) and its done, triple click the next line and repeat the change of 1 to 0.0
Please sign in to leave a comment.
Comments
3 comments