mail after created account

stefek143

Registered
Jul 15, 2011
4
0
51
Hi,
After when I create a new account then I have uch email:

-----Original Message-----
From: [email protected] [mailto:[email protected]ellerdomain.com]
Sent: Wednesday, November 10, 2004 4:20 PM
To: [email protected]
Subject: New account on server26.colocationdomain.com (cpaneldemo.com)

+===================================+
| New Account Info |
+===================================+
| Domain: cpaneldemo.com
| Ip: xxx.xxx.xxx.xxx (n)
| HasCgi: y
| UserName: cpdemo
| PassWord: cpdemo
| CpanelMod: x
| HomeRoot: /home
| Quota: 1 Meg
| NameServer: ns1.resellersdns.com
| Contact Email: [email protected]
+===================================+
Account was setup by: resellersusername (root)
and I would like to change in subject server26.colocationdomain.com

so from this : Subject: New account on server26.colocationdomain.com (cpaneldemo.com)
I want to change on such this : Subject: New account on mynewserv.com (cpaneldemo.com)

what I need to change in cpanel to change it?
 

Infopro

Well-Known Member
May 20, 2003
17,113
507
613
Pennsylvania
cPanel Access Level
Root Administrator
Twitter
Clients are not sent an email on new account creation from cPanel. The Server Administrator is. You can change your email contact settings here of course:

WHM > Server Contacts > Contact Manager

I don't believe editing the subject line of the emails is possible.
 

stefek143

Registered
Jul 15, 2011
4
0
51
I guess values in subject are add automatic from somewhere but I dont see anythink where is server26.colocationdomain.com in WHM . Also dont see in WHM > Server Contacts > Contact Manager
 

cPanelTristan

Quality Assurance Analyst
Staff member
Oct 2, 2010
7,607
38
248
somewhere over the rainbow
cPanel Access Level
Root Administrator
Since /usr/local/cpanel/bin/wwwacct is a binary file that is used for sending the "New Account Info" email and the email uses the server's hostname for the "Subject" line's domain, it isn't actually possible to revise that value unless the hostname were changed.

You may wish to post a feature request to have the "New Account Info" email able to be changed via a template. Our feature request forum is at the following location:

Feature Requests for cPanel and WHM
 

stefek143

Registered
Jul 15, 2011
4
0
51
But for me no matter from where I could change it. As I guess in subject this server26.colocationdomain.com is a hostname but.... from console I type "hostname" and its "mynewserv.com" , so why real hostname is different then this one in email subject?
 

cPanelTristan

Quality Assurance Analyst
Staff member
Oct 2, 2010
7,607
38
248
somewhere over the rainbow
cPanel Access Level
Root Administrator
WHM > Change Hostname and WHM > Basic cPanel & WHM Setup are the areas where the hostname is defined.

Of note, if mynewserv.com is a domain on the machine you have in a cPanel account, it should not be used as the hostname. The hostname cannot be a domain owned by a cPanel account, since under cPanel the hostname is owned by nobody. You will break mail functioning on the domain if you have it both as a domain for an existing cPanel account and the hostname of the machine. A subdomain on a domain should be used as the hostname instead such as server.mynewserv.com

Thanks