Page 1 of 3 123 LastLast
Results 1 to 15 of 31

Thread: Improved Email Rate Limiting [case 58946]

  1. #1
    Registered Member rs-freddo's Avatar
    Join Date
    May 2003
    Location
    Australia
    Posts
    856
    cPanel/WHM Access Level

    Root Administrator

    Unhappy Improved Email Rate Limiting [case 58946]

    I was very disappointed that "Maximum percentage of failed or deferred messages a domain may send per hour" is a percentage. I was hoping to limit ALL accounts to a figure of 10. I don't use "Max hourly emails per domain" because i have a lot of clients with mailing lists. So that means i can't limit failed or deferred messages either..... unhappy.

    Would have been a great spam control option but it turns out to be useless.
    Michael

  2. #2
    cPanel Staff cPanelTristan's Avatar
    Join Date
    Oct 2010
    Location
    somewhere over the rainbow
    Posts
    7,610
    cPanel/WHM Access Level

    Root Administrator

    Default re: Improved Email Rate Limiting [case 58946]

    Hello Michael,

    Are you making a feature request? If so, I'd be happy to move this over to that forum (Feature Requests for cPanel/WHM).

    Thanks!
    cPResources: Support Options | More Support Options | Forums Search | cPanel.net Site Search | Mailing Lists(Alt) | Docs
    -- Tristan, Technical Analyst III, Forums Specialist, cPanel Tech Support

    Submit a ticket | Check an existing ticket

  3. #3
    Registered Member rs-freddo's Avatar
    Join Date
    May 2003
    Location
    Australia
    Posts
    856
    cPanel/WHM Access Level

    Root Administrator

    Default re: Improved Email Rate Limiting [case 58946]

    feature request would be fine.
    Michael

  4. #4
    cPanel Staff cPanelNick's Avatar
    Join Date
    Feb 2003
    Location
    Houston, TX
    Posts
    4,835

    Default re: Improved Email Rate Limiting [case 58946]

    You could accomplish this by setting email_send_limits_min_defer_fail_to_trigger_protection in cpanel.config and then setting the percentage to 1%

    If you want to do it per domain, you can set MIN_DEFER_FAIL_TO_TRIGGER_PROTECTION or MIN_DEFER_FAIL_TO_TRIGGER_PROTECTION-domain in the cpanel users file.



    Edit: Actually this is no longer possible. The system was simplified to make it easier to understand and this functionality was removed and changed to be a constant (Cpanel::Email::Constants:EFER_THRESHOLD in Cpanel::EmailLimits) in case 51825. Sorry for the confusion. So a feature request would likely just be a request to reverse (and resolve the usability issues) the changeset in case 51825.
    -Nick
    cPanel Inc.

    Need support? Submit a request here. Complimentary support is available to all license holders regardless of where you purchased your license.
    Need a complimentary support account? Create one here.

  5. #5
    Registered Member rs-freddo's Avatar
    Join Date
    May 2003
    Location
    Australia
    Posts
    856
    cPanel/WHM Access Level

    Root Administrator

    Default re: Improved Email Rate Limiting [case 58946]

    Just seems a little strange to use a percent. Really if someone has 10 emails knocked back then i want their email to stop for the rest of the hour, irrespective of whatever count they are allowed to send per hour. People with big mailing lists need to keep their mailing lists up to date. So I would have thought a constant instead of a percent.
    Michael

  6. #6
    Registered Member monarobase's Avatar
    Join Date
    Jan 2010
    Location
    France
    Posts
    498
    cPanel/WHM Access Level

    Root Administrator

    Default re: Improved Email Rate Limiting [case 58946]

    After how many e-mails does this limit kick in ?

    If a user sends one e-mail that bounces at the beginning of an hour, does he hit 100% and is not allowed to send any e-mails after this ?

    Or if a user sends 10 emails that bounce at the beginning of the hour, will this count as 100% ?

    I presume there is a minimum number of emails this percent is based on ?

  7. #7
    cPanel Staff cPanelNick's Avatar
    Join Date
    Feb 2003
    Location
    Houston, TX
    Posts
    4,835

    Default re: Improved Email Rate Limiting [case 58946]

    Right now the system is hard coded to only enforce the percentage once you reach 5 failures/deferrals.
    -Nick
    cPanel Inc.

    Need support? Submit a request here. Complimentary support is available to all license holders regardless of where you purchased your license.
    Need a complimentary support account? Create one here.

  8. #8
    Registered Member rs-freddo's Avatar
    Join Date
    May 2003
    Location
    Australia
    Posts
    856
    cPanel/WHM Access Level

    Root Administrator

    Default re: Improved Email Rate Limiting [case 58946]

    Quote Originally Posted by monarobase View Post
    After how many e-mails does this limit kick in ?

    If a user sends one e-mail that bounces at the beginning of an hour, does he hit 100% and is not allowed to send any e-mails after this ?

    Or if a user sends 10 emails that bounce at the beginning of the hour, will this count as 100% ?

    I presume there is a minimum number of emails this percent is based on ?
    It's a percentage based on the number of emails per hour the client is allowed to send. If you haven't set a maximum number of emails - i guess it doesn't work.....
    Michael

  9. #9
    cPanel Staff cPanelNick's Avatar
    Join Date
    Feb 2003
    Location
    Houston, TX
    Posts
    4,835

    Default re: Improved Email Rate Limiting [case 58946]

    Quote Originally Posted by rs-freddo View Post
    It's a percentage based on the number of emails per hour the client is allowed to send. If you haven't set a maximum number of emails - i guess it doesn't work.....
    The percentage is based on the total number of emails sent in that hour period

    IE


    40 failures/defers
    360 successes
    400 emails sent

    10% fail/defer ratio.
    -Nick
    cPanel Inc.

    Need support? Submit a request here. Complimentary support is available to all license holders regardless of where you purchased your license.
    Need a complimentary support account? Create one here.

  10. #10
    Registered Member rs-freddo's Avatar
    Join Date
    May 2003
    Location
    Australia
    Posts
    856
    cPanel/WHM Access Level

    Root Administrator

    Default re: Improved Email Rate Limiting [case 58946]

    So the question is - if someone sends 200 emails in the first 15 mins and 10 fail is he blocked for the rest of the hour? (assuming I use a tweak settings of 1% ratio).
    Michael

  11. #11
    cPanel Staff cPanelNick's Avatar
    Join Date
    Feb 2003
    Location
    Houston, TX
    Posts
    4,835

    Default re: Improved Email Rate Limiting [case 58946]

    Quote Originally Posted by rs-freddo View Post
    So the question is - if someone sends 200 emails in the first 15 mins and 10 fail is he blocked for the rest of the hour? (assuming I use a tweak settings of 1% ratio).
    Yes, thats correct. However I'd probably set this to about 10%, then slowly adjust down to ensure its not a problem.
    -Nick
    cPanel Inc.

    Need support? Submit a request here. Complimentary support is available to all license holders regardless of where you purchased your license.
    Need a complimentary support account? Create one here.

  12. #12
    Registered Member monarobase's Avatar
    Join Date
    Jan 2010
    Location
    France
    Posts
    498
    cPanel/WHM Access Level

    Root Administrator

    Default re: Improved Email Rate Limiting [case 58946]

    Right now the system is hard coded to only enforce the percentage once you reach 5 failures/deferrals.
    It would be good if we could set this number… or else have the ability to only activate this function after a certain number of sent e-mails.

    If I understand correctly, anyone whose first 5 emails get blocked get blocked for the rest of the hour…

  13. #13
    Registered Member monarobase's Avatar
    Join Date
    Jan 2010
    Location
    France
    Posts
    498
    cPanel/WHM Access Level

    Root Administrator

    Default re: Improved Email Rate Limiting [case 58946]

    I've just had a case of a user sending e-mails to an e-mailing list that was built over the last 5 years.

    This is an old list and the first e-mails no longer work.

    The 5 email failed trigger is much too low.

    I need this set to at least 30 failures.

    Is there a work around for this ? Or do I have to deactivate this feature until it is posible to configure it ?

  14. #14
    Registered Member rs-freddo's Avatar
    Join Date
    May 2003
    Location
    Australia
    Posts
    856
    cPanel/WHM Access Level

    Root Administrator

    Default re: Improved Email Rate Limiting [case 58946]

    Seriously...? The problem is that your user doesn't unsubscribe email addresses that no longer work. I got lazy people on my server too and this is going to teach them to PROPERLY maintain mailing lists.
    Michael

  15. #15
    Registered Member monarobase's Avatar
    Join Date
    Jan 2010
    Location
    France
    Posts
    498
    cPanel/WHM Access Level

    Root Administrator

    Default re: Improved Email Rate Limiting [case 58946]

    I think it depends on the type of support a host wants to provide.

    Each host sets the limit of how much they adapt to their customers needs and how much their customer must adapt to their hosting offer.

    We like to adapt within reason to our customers needs.

    The situation I encountered and presented above is just one of multiple situations where the 5 bad email limit is too low…

    Here is another situation that could happen :

    Someone in a company miss-spells an e-mail address at the beginning of the hour, it won't send so the person tries a second and a third time, it still won't send so the person calls a coleague who tries twice… 5 bad tries in a couple of minutes and the account is blocked for the rest of the hour

Page 1 of 3 123 LastLast

Similar Threads

  1. Notification upon account being email rate limited. [case 49590,55096]
    By rs-freddo in forum Feature Requests for cPanel & WHM
    Replies: 2
    Last Post: 09-24-2012, 08:33 AM
  2. Improved Email Rate Limiting [case 58946]
    By rs-freddo in forum E-mail Discussions
    Replies: 4
    Last Post: 04-09-2012, 12:52 AM
  3. Filed with Developers Exim Mail Rate Limiting Pre-Mailqueue [Case 58953]
    By cPanelDavidG in forum Feature Requests for cPanel & WHM
    Replies: 2
    Last Post: 11-12-2011, 09:32 PM
  4. Rate limiting outgoing email for users
    By tywe in forum E-mail Discussions
    Replies: 3
    Last Post: 09-02-2009, 10:51 PM
  5. Rate-limiting outgoing e-mail
    By danf in forum E-mail Discussions
    Replies: 3
    Last Post: 05-05-2009, 08:30 AM
bargain