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!

Select the action for the system to take on an email account when it detects a potential spammer

Discussion in 'E-mail Discussion' started by davetanguay, Aug 7, 2018.

Tags:
  1. davetanguay

    davetanguay Active Member

    Joined:
    Mar 30, 2008
    Messages:
    33
    Likes Received:
    1
    Trophy Points:
    56
    I have Tweak Settings > Select the action for the system to take on an email account when it detects a potential spammer > set to "Hold outgoing mail"

    Is there a way to view these hold emails? And how would I release them?

    Does root get alerted when there are messages on hold?
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
    Gino Viroli likes this.
  2. rpvw

    rpvw Well-Known Member

    Joined:
    Jul 18, 2013
    Messages:
    968
    Likes Received:
    380
    Trophy Points:
    113
    Location:
    Spain
    cPanel Access Level:
    Root Administrator
    This is the section from the release notes :
    It describes how to release them, but I am unsure if they will be available in the WHM mail queue to be inspected.

    As far as the alert to root - it looks like that is managed by the Tweak Settings

    Hope this helps.​
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
    Gino Viroli likes this.
  3. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    45,409
    Likes Received:
    1,956
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    Hello @davetanguay,

    The information from the Release Notes that's quoted in the previous post should answer your questions. Let us know if you need additional clarification or have additional questions.

    Thanks!
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  4. mangoo_

    mangoo_ Member

    Joined:
    Aug 25, 2011
    Messages:
    7
    Likes Received:
    0
    Trophy Points:
    51
    Is there a way to whitelist selected account?

    I have dozens of accounts on the server, but one of them is sending a newsletter to thousands of users. The "Number of unique recipients per hour to trigger potential spammer notification" is set to 500 and is global.
    If I change this value to 5000 or 10000, it will affect all accounts on the server, not just the one sending a newsletter to thousands on users.


    In other words, I'd like to exempt account "someaccount" from mail hold if the mailing is too large, but have this security feature still applied to other accounts.
     
  5. Gino Viroli

    Gino Viroli Well-Known Member

    Joined:
    Oct 2, 2007
    Messages:
    49
    Likes Received:
    1
    Trophy Points:
    58
    AFAIK the only way is to turn OFF the new feature "Monitor the number of unique recipients per hour to detect potential spammers." (in "WHM > Server Configuration > Tweak Settings > Mail") and just use only the old feature "Max hourly emails per domain" that can be set per account basis.
    If the user who is sending out thousands of mail per hour is on its own domain/cpanel account, go to "WHM > Account Functions > Modify an Account" and modify his account by setting "Maximum Hourly Email by Domain Relayed" to 10000 only for his account.

    Anyway, IMHO, a user that sends thousands of email per hour is not normal. He should use an application to send them slowly, your server IP might end up blacklisted by other servers.
     
    #5 Gino Viroli, Sep 17, 2018
    Last edited: Sep 17, 2018
  6. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    45,409
    Likes Received:
    1,956
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    Hello @mangoo_,

    The functionality you are seeking was added in cPanel & WHM version 74 as part of the following case:

    Implemented case CPANEL-20694: Ability to set auto-detect threshold for users

    It's not yet offered as part of an option in WHM >> Modify an Account or as a package value, but you can manually add the following value to an account's cPanel user file (e.g. /var/cpanel/users/username123):

    Code:
    EMAIL_OUTBOUND_SPAM_DETECT_THRESHOLD=
    The value must be higher than the value set for the global Number of unique recipients per hour to trigger potential spammer notification setting (thus you can allow some accounts to send more emails than what's configured with the global value).

    Thank you.
     
    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