Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

Exceeded the max defers and failures per hour error

Discussion in 'E-mail Discussion' started by Zahra95, Dec 16, 2018.

  1. Zahra95

    Zahra95 Member

    Joined:
    Sep 23, 2018
    Messages:
    10
    Likes Received:
    1
    Trophy Points:
    3
    Location:
    Iran
    cPanel Access Level:
    Root Administrator
    Hi
    I transferred my sites to a new server and i didn't transfer my config files and now when I send email at the special time I will get bellow message :
    Code:
    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:
      [email protected]
        Domain domain.com has exceeded the max defers and failures per hour (5/5 (71%)) allowed. Message discarded.
    
    how can i fix it ?
    Regards
     
    #1 Zahra95, Dec 16, 2018
    Last edited by a moderator: Dec 16, 2018
  2. HostSane

    HostSane Member

    Joined:
    Nov 26, 2018
    Messages:
    17
    Likes Received:
    4
    Trophy Points:
    3
    Location:
    Mumbai
    cPanel Access Level:
    Root Administrator
    Login to WHM and in Tweak settings under Mail section you can mention the value , however make sure you have configured MX record as well as DNS records too.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. Zahra95

    Zahra95 Member

    Joined:
    Sep 23, 2018
    Messages:
    10
    Likes Received:
    1
    Trophy Points:
    3
    Location:
    Iran
    cPanel Access Level:
    Root Administrator
    Hi @HostSane
    thanks for your reply
    what part i should set in email tweak setting ?
    please guide me
     
  4. cPanelLauren

    cPanelLauren Forums Analyst II Staff Member

    Joined:
    Nov 14, 2017
    Messages:
    6,476
    Likes Received:
    507
    Trophy Points:
    263
    Location:
    Houston
    cPanel Access Level:
    DataCenter Provider
    Hello @Zahra95

    From WHM>>Server Configuration>>Tweak Settings you need to check the Mail section for "Maximum percentage of failed or deferred messages a domain may send per hour"

    The output you show indicates:
    Which tells me you have reached/exceed the value set for that variable.

    Thanks!
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  5. Zahra95

    Zahra95 Member

    Joined:
    Sep 23, 2018
    Messages:
    10
    Likes Received:
    1
    Trophy Points:
    3
    Location:
    Iran
    cPanel Access Level:
    Root Administrator
    cPanelLauren likes this.
  6. rpvw

    rpvw Well-Known Member

    Joined:
    Jul 18, 2013
    Messages:
    1,088
    Likes Received:
    442
    Trophy Points:
    113
    Location:
    Spain
    cPanel Access Level:
    Root Administrator
    The "Maximum percentage of failed or deferred messages a domain may send per hour" setting appears in both Tweak Settings, and in the Packages Add/Edit

    Looking at the documentation for both utilities, I couldn't see ( apologies if it's there and I missed it) any statement as to the order of precedent that these setting are applied.

    I wonder if there should be an additional, and prominent, Tweak Setting that locks all the settings in Tweak Settings, and prevents any other utility or facility or setting from overriding them ?

    Please don't ask me to open a Feature Request - as it stands, that site/area does not deserve to be a part of the cPanel portfolio.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  7. cPanelLauren

    cPanelLauren Forums Analyst II Staff Member

    Joined:
    Nov 14, 2017
    Messages:
    6,476
    Likes Received:
    507
    Trophy Points:
    263
    Location:
    Houston
    cPanel Access Level:
    DataCenter Provider
    Hi @rpvw

    Good point in bringing up the package setting.

    I'm not sure that would work since package values are only relevant for the account's assigned to them whereas tweak settings are global. For instance, I could set in tweak settings the max percentage of failed/deferred to 90%, then in two packages set it to 50% and 40% - the accounts assigned those two packages would have the specified limitation of 40% or 50%, not the 90% set globally.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  8. rpvw

    rpvw Well-Known Member

    Joined:
    Jul 18, 2013
    Messages:
    1,088
    Likes Received:
    442
    Trophy Points:
    113
    Location:
    Spain
    cPanel Access Level:
    Root Administrator
    So the package setting takes precedent over the Tweak Settings value ?

    In that case, the user above may have their Tweak Settings value set to "unlimited" but have a lower value (70% or 71%) set in the package ?

    Does the package value have to be 'equal to' or less than the Tweak Setting ? eg if the Tweak Setting were to be 90%, could the package be 'unlimited' ? or would the 90% in this case be determining cap ?
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  9. cPanelLauren

    cPanelLauren Forums Analyst II Staff Member

    Joined:
    Nov 14, 2017
    Messages:
    6,476
    Likes Received:
    507
    Trophy Points:
    263
    Location:
    Houston
    cPanel Access Level:
    DataCenter Provider
    Only for the accounts that have the package setting so yes/no for example:

    If I set the max % of failed/deferred
    Package 1: 50%
    Package 2: Unlimited

    And Tweak Settings has 90%

    Package 1 will use the 50% and Package 2 will default to the global of 90%


    (I think that may have answered the other questions as well)
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  10. rpvw

    rpvw Well-Known Member

    Joined:
    Jul 18, 2013
    Messages:
    1,088
    Likes Received:
    442
    Trophy Points:
    113
    Location:
    Spain
    cPanel Access Level:
    Root Administrator
    So what would the following scenario produce ?

    If I set the max % of failed/deferred:

    Tweak Settings has 60%
    Package 1: 50%
    (I would guess that the 50% would prevail as it is less than the 60% Tweak Settings)
    Package 2: 90% (This is the real question ? Would it be 90% of the total, or 90% of the 60%, or just plain ignored since it represented a higher value than that set in Tweak Settings ?)

    I can see that not setting a value in the Package (unlimited) would default to the Tweak Settings value, but perhaps that would be better tagged as 'Not Set' rather than 'Unlimited' which suggests something else altogether ?

    Sorry, I am not trying to be pedantic, just to get a definite and explicit ruling on the setting hierarchy :)
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  11. cPanelLauren

    cPanelLauren Forums Analyst II Staff Member

    Joined:
    Nov 14, 2017
    Messages:
    6,476
    Likes Received:
    507
    Trophy Points:
    263
    Location:
    Houston
    cPanel Access Level:
    DataCenter Provider
    The global would take precedence over the 90% from what I understand of the setting - similar to the way a php.ini works. The global takes precedence over what you set in the specific account, you can set lower limits in the account but not higher.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  12. rpvw

    rpvw Well-Known Member

    Joined:
    Jul 18, 2013
    Messages:
    1,088
    Likes Received:
    442
    Trophy Points:
    113
    Location:
    Spain
    cPanel Access Level:
    Root Administrator
    Thank you very much @cPanelLauren.

    I wonder if there might be some way of reflecting the Tweak Settings global setting in the Package add/edit ? something like having the faded number in the box reflecting the eg 90, and provoking an error message if one tried to set something higher (this could also apply to other Package settings that have overriding Tweak Settings as well)

    Excellence is in the details :-D
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
    cPanelLauren likes this.
  13. Zahra95

    Zahra95 Member

    Joined:
    Sep 23, 2018
    Messages:
    10
    Likes Received:
    1
    Trophy Points:
    3
    Location:
    Iran
    cPanel Access Level:
    Root Administrator
    Hi @cPanelLauren
    Hi @rpvw
    Thank you for good information .
    I,m not sure how i can solve my issue.
    please help me
     
  14. cPanelLauren

    cPanelLauren Forums Analyst II Staff Member

    Joined:
    Nov 14, 2017
    Messages:
    6,476
    Likes Received:
    507
    Trophy Points:
    263
    Location:
    Houston
    cPanel Access Level:
    DataCenter Provider
    Hello @Zahra95

    The following should help you with the issue you're experiencing:

     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice