The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Limit mails per hour per user

Discussion in 'E-mail Discussions' started by tsak, Mar 26, 2012.

  1. tsak

    tsak Member

    Joined:
    Nov 21, 2010
    Messages:
    6
    Likes Received:
    0
    Trophy Points:
    1
    Hello. i know that i can limit the mails that can be send per domain per hour.
    But is it possible to limit one cpanel account for sending emails? not disable it.

    Lets say that i have a limit of 500emails per hour per domain on tweek settings.
    Can i set the cpanel user "test" to send only 10emails per hour?

    Thanks for your time
     
  2. cPanelTristan

    cPanelTristan Quality Assurance Analyst
    Staff Member

    Joined:
    Oct 2, 2010
    Messages:
    7,623
    Likes Received:
    21
    Trophy Points:
    38
    Location:
    somewhere over the rainbow
    cPanel Access Level:
    Root Administrator
    Hello tsak,

    If you change the setting in WHM > Account Functions > Modify an Account for a specific user, then that adds the following line to /var/cpanel/users/username file (where username is the cPanel username):

    Code:
    MAX_EMAIL_PER_HOUR=#
    Here # represents whatever number you've set for the limit. At that point, a file will be updated at /var/cpanel/maxemailsperhour for each domain or subdomain to limit to that number. This will handle the setting for all domains and subdomains under the account and not only 1 domain.

    Thanks!
     
  3. swaroopkgowda

    swaroopkgowda Registered

    Joined:
    May 2, 2012
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    HI,

    Can you please suggest me ,
    I understood we can set the limit of the email, however example: I have set teh account for 500 emails, and if teh person send 600 emails per hour , remining 100 emails cant it be in que with server and send the remaning 100 in teh next hour.

    I hope u understood my query, i am very bad in english. please suggest me .
     
Loading...

Share This Page