Editing bandwidth warning message template

Mike N

Member
Sep 15, 2010
10
0
51
cPanel Access Level
Root Administrator
I'd like to add a short message in the bandwidth warning message to my clients, with a link for them to open a support request if they have questions about the warning, or to request an increase in their bandwidth allowance.

I see the template at /usr/local/cpanel/src/templates/bandwidth_limit/main.default

If I copy it to /var/cpanel/templates/bandwidth_limit/main.default and edit it there, will that over-ride the default template?

Is this the proper method to edit the contents of the auto-generated message that they receive?

Thanks!
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,261
463
Hello :)

The bandwidth warning email template is located within the following directory:

Code:
/usr/local/cpanel/src/templates/bandwidth_limit/
You will need to copy the directory of the specific template you want to edit to "/var/cpanel/templates/" to avoid changes being overwritten by cPanel updates. EX:

Code:
cp -a /usr/local/cpanel/src/templates/bandwidth_limit /var/cpanel/templates/
You would then edit the "main.default" file within "/var/cpanel/templates/bandwidth_limit".

Thank you.
 

ergonetsam

Registered
Aug 27, 2008
1
0
51
Glastonbury, UK.
I've followed this exactly but still it makes no difference to what the system sends out. I want a very simple change so that instead of the statement "Your message will go nowhere" it at least suggests getting in touch with the administration - talk about a lost sales lead!!

So I changed it in all 3 places as given above but to no avail. :(
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,261
463
The method described in my previous reply is the correct method to edit the template. If it's not working properly, could you submit a support ticket so we can investigate further? You can open a ticket via:

Submit A Ticket

Thank you.