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!

E-mail Quotas Not Working

Discussion in 'E-mail Discussion' started by Jay, Oct 21, 2003.

  1. Jay

    Jay Member

    Joined:
    Aug 15, 2001
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    301
    One of my clients has e-mail quotas setup for about 25 e-mails users, and apparently none of them are working. I have verified that even if the quota limit is reached, e-mails still get through fine to that address. Anything I can do to resolve that?

    Thanks for your help!
     
  2. mickeymouse

    mickeymouse Well-Known Member

    Joined:
    Sep 16, 2003
    Messages:
    389
    Likes Received:
    0
    Trophy Points:
    166
    Dear Jay,

    Please try a shellscript like this one for setting quota:


    ----------------------------snap------------------
    #! /bin/bash
    NEWQUOTA=50000
    cd /var/imap/quota
    for i in $(find . -name \"user.*\"); do
    cp $i $i.bak
    echo $(head -1 $i) > $i
    echo $NEWQUOTA >> $i
    done
    ----------------------------snap------------------

    Please make sure that the path of the quota file is correct.

    I think this will solve your problem.

    Regards,
     
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