How to reset max defers limit on cPanel server

You may got:

2022-07-28 14:43:22 1oH9Pk-111Cld-8x ** [email protected] R=enforce_mail_permissions: Domain domain.com has exceeded the max defers and failures per hour (5/5 (100%)) allowed. Message discarded.

To reset:

/var/cpanel/email_send_limits/track/domain.com

If the limits too tiny on your server then adjust them per your needs:

sed -i -e 's/MAX_DEFER_FAIL_PERCENTAGE=.*/MAX_DEFER_FAIL_PERCENTAGE=125/g' /var/cpanel/users/*
/usr/local/cpanel/scripts/updateuserdomains
sed -i -e 's/email_send_limits_max_defer_fail_percentage=.*/email_send_limits_max_defer_fail_percentage=125/g' /var/cpanel/cpanel.config
sed -i -e 's/email_send_limits_min_defer_fail_to_trigger_protection=.*/email_send_limits_min_defer_fail_to_trigger_protection=50/g' /var/cpanel/cpanel.config
rm -rf /var/cpanel/email_send_limits/track/*

Restart services:

service cpanel restart
service exim restart

 

Similar Posts:

    None Found

Leave a Reply

Your email address will not be published.