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.

Showing mail quota in webmail or webmail login?

Discussion in 'E-mail Discussions' started by internetfab, Mar 30, 2007.

  1. internetfab

    internetfab Well-Known Member
    PartnerNOC

    Joined:
    Feb 20, 2003
    Messages:
    336
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Gothenburg, Sweden
    cPanel Access Level:
    DataCenter Provider
    Is there anyway to show the mail quota for mail users?
    Got a few admins who would like their webmail users to see when their quota is full or how much it is. From what I can tell, there is no such thing in the webmail login page or inside any of the webmails (horde - squirrelmail).

    This would be a neat feature :)
     
  2. cPanelKenneth

    cPanelKenneth cPanel Development
    Staff Member

    Joined:
    Apr 7, 2006
    Messages:
    4,461
    Likes Received:
    22
    Trophy Points:
    38
    cPanel Access Level:
    Root Administrator
    With Horde, you can make it visible in the Email folders by adding this to /usr/local/cpanel/base/horde/imp/config/servers.php:
    Code:
        quota' => array(
            'driver' => 'courier',
            'params' => array()
        )
    
    For example, my test machine has the following in servers.php:
    Code:
    $servers['imap'] = array(
        'name' => 'IMAP Server',
        'server' => 'localhost',
        'hordeauth' => 'full',
        'protocol' => 'imap/notls',
        'port' => 143,
        'maildomain' => getenv("DNS"),
        'smtphost' => 'localhost',
        'smtpport' => 25,
        'realm' => '',
        'preferred' => '',
        'dotfiles' => false,
        'hierarchies' => array(),
        'quota' => array(
            'driver' => 'courier',
            'params' => array()
        ),
    )
    
     
  3. isputra

    isputra Well-Known Member

    Joined:
    May 3, 2003
    Messages:
    576
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Mbelitar
    How to do it for squirrelmail ?
     
Loading...

Share This Page