Showing mail quota in webmail or webmail login?

internetfab

Well-Known Member
PartnerNOC
Feb 20, 2003
335
0
166
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 :)
 

cPanelKenneth

cPanel Development
Staff member
Apr 7, 2006
4,607
79
458
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()
    ),
)
 

isputra

Well-Known Member
May 3, 2003
574
0
166
Mbelitar
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()
    ),
)
How to do it for squirrelmail ?