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.

how to set the email limit

Discussion in 'E-mail Discussions' started by s1llyforyou, Mar 19, 2009.

  1. s1llyforyou

    s1llyforyou Well-Known Member

    Joined:
    Jan 24, 2008
    Messages:
    53
    Likes Received:
    0
    Trophy Points:
    6
    hello

    how to set particular email limits for per domain on server?

    please let us know asap

    thank you
     
  2. Amit Deshmukh

    Amit Deshmukh Well-Known Member

    Joined:
    Jul 1, 2007
    Messages:
    83
    Likes Received:
    0
    Trophy Points:
    6
    Per Domain ?

    I am not sure if its possible to set limits for per domain to send mails.

    However you can set The maximum each domain can send out per hour (0 is unlimited) in WHM >> Main >> Server Configuration >> Tweak Settings.

    Regards
     
  3. fmosse

    fmosse Member

    Joined:
    Jan 6, 2002
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    1
    I know that is possible, In ohe forum they told me

    "vi /var/cpanel/maxemails

    <domain>=100

    save and close


    Run this on your command prompt.


    /scripts/build_maxemails_config"

    But I dont know hoy and where... hehe!

    Thanks!
    Francisco
     
  4. thewebhosting

    thewebhosting Well-Known Member

    Joined:
    May 9, 2008
    Messages:
    1,201
    Likes Received:
    1
    Trophy Points:
    38
    To increase the mail limit for the particular domain then you would need to add the domain in your maxemailsperdomain from the below mentioned location:

    pico /var/cpanel/maxemailsperdomain/yourdomainhere.com

    yourdomainhere.com is the domain for increasing the number of mails. Once you enter the no. in the file. You may save it and REMEMBER to restart exim services by executing the following command :

    /scripts/build_maxemails_config
     
  5. fmosse

    fmosse Member

    Joined:
    Jan 6, 2002
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    1

    Hi!

    Thanks, but could you explanin me please, how can I do it, step by step?

    Thanks!
    Francisco
     
  6. logicsupport

    logicsupport Well-Known Member

    Joined:
    Jun 5, 2007
    Messages:
    138
    Likes Received:
    0
    Trophy Points:
    16
    how to set particular email limits for per domain on server?

    Hi Francisco,

    We can provide you the step by step instructions

    1) login to the server as root

    2) vi /var/cpanel/maxemails

    abc.com=100

    3) save the file and execute the following script from the shell.

    /scripts/build_maxemails_config

    The above script will automatically create a file abc.com inside

    cat /var/cpanel/maxemailsperdomain/abc.com
    100

    If you are still facing any difficulty to setup this then please contact an admin to do this for you
     
Loading...

Share This Page