Mail templates: Source of [% from %] tag

Trane Francks

Well-Known Member
Jun 19, 2012
104
19
68
Machida, Tokyo, Japan
cPanel Access Level
Root Administrator
Hi.

I'd like to know which of the server mail addresses configured in WHM is used for the [% from %] tag in the mail templates. In looking around the various screens, I see nothing that stipulates the account that WHM uses for outbound mail to user accounts, e.g., for disk quota warnings.
 

cPanelKenneth

cPanel Development
Staff member
Apr 7, 2006
4,607
79
458
cPanel Access Level
Root Administrator
The "from:" addresses in the notifications are often constructed on the fly, by the subsystem that is going to send the notification.

For example scripts/quotacheck sends the disk quota notification. The "from:" portion of the email is constructed in the sendmsg routine within the script.

Right now there is no simple way of defining the "from:" portion of the notifications. What would you like to see?
 

Trane Francks

Well-Known Member
Jun 19, 2012
104
19
68
Machida, Tokyo, Japan
cPanel Access Level
Root Administrator
Hi, Kenneth.

I'd like to see a different e-mail address. There are at least 4 possible places to define e-mail in WHM, and not a single one (that I've seen) indicates that it would be the one used by WHM to send notifications to clients. When WHM is sending quota warning notifications to an account, it's using an off-site mail account that we use instead of an on-server account. This represents branding confusion.

So, where is WHM pulling this address?
 

Trane Francks

Well-Known Member
Jun 19, 2012
104
19
68
Machida, Tokyo, Japan
cPanel Access Level
Root Administrator
From the address you've added here:
WHM » Server Contacts » Edit System Mail Preferences.

More Info:
Edit System Mail Preferences - cPanel Documentation
Thanks for that clarification. "The cpanel email account receives alerts that WHM sends about users’ cPanel accounts. For example, quota and bandwidth overage notices." Apparently, not only does this address receive alerts, it's also used to send them.
 

cultrix

Registered
Mar 13, 2014
3
0
1
cPanel Access Level
Root Administrator
Hello,

Ideally we could specify an email address for these notifications to go out from (e.g. our helpdesk support address) and we'd like to be able to create HTML emails complete with our company signature etc. At the moment many customers ignore these emails because they look like spam.