Where can I rewrite the "max defers and failures" email warning?
Hi,
so I edited /usr/local/cpanel/etc/exim/perl/mail_permissions to rewrite the text:
Domain domene.events has exceeded the max defers and failures per hour (5/5 (100%)) allowed. Message discarded.
to something a little less technical and more informative, but it is not taking the rewrite after the file edit and an exim restart.
Any hints on where I am supposed to do it?
Thanks
-
Hi @domeneas modifying that would definitely be overwritten we have instructions on how to customize notifications as well as a list of the exact template names here: Notification Templates - Version 74 Documentation - cPanel Documentation Thanks! 0 -
Hi @domeneas Can you show me information on the exact notification you're looking to find/modify? That's where all the WHM based templates are stored. Thanks! 0 -
This is the email that goes out. Like stated in the first post, the only place I can even find the text is in /usr/local/cpanel/etc/exim/perl/mail_permissions, but editing that and restarting Exim does not give the translated version when I trigger it with a test. I only want to translate the line"Domain example.com has exceeded the max defers and failures per hour (16/5 (25%)) allowed. Message discarded." to something customers actually understand. **** From: Mail Delivery System Subject: Mail delivery failed: returning message to sender Date: 27. september 2017 kl. 15.23.06 CEST To: recipient@example.com This message was created automatically by mail delivery software. A message that you sent could not be delivered to one or more of its recipients. This is a permanent error. The following address(es) failed: mail@person_I_sendt_an_email_to.com Domain example.com has exceeded the max defers and failures per hour (16/5 (25%)) allowed. Message discarded. Reporting-MTA: dns; myserver.com Action: failed Final-Recipient: rfc822;mail@person_I_sendt_an_email_to.com Status: 5.0.00 -
Hi @domeneas I see this isn't the notification this is the actual bounce. This is part of /etc/exim.pl.local: /etc/exim.pl.local: $enforce_mail_permissions_data = ":fail: Domain $domain has exceeded the max defers and failures per hour ($currentmail/$maxmails ($percentage\%)) allowed. Message discarded.";
While you potentially could modify this, I can't guarantee the changes would remain after an exim update or restart. Thanks!0
Please sign in to leave a comment.
Comments
5 comments