Installing Check Quota
Go this url and download check_quota-2.2-1.4.0.tar.gz:squirrelmail.org/plugin_view.php?id=237
then copy to /usr/share/squirrelmail/plugins/
#cd /usr/share/squirrelmail/plugins/
#tar -xvfz check_quota-2.2-1.4.0.tar.gz
#cd check_quota
#cp config.sample.php config.php
#squirrelmail-configure
then type number 8 to install plugin and select check_quota plugin number
save and quite.
Configuring Check Quota
#vim /usr/share/squirrelmail/plugins/check_quota/config.phpchange from
$settings['quota_type'] = 0;
to
$settings['quota_type'] = 1;
save and exit.
#/etc/init.d/apache2 reload
now is done.
please test on with mail that had quota limited.
More detail about install and configure go to download check_quota directory and read install file.
Trouble shooting:
after install the plugin and logging into SM, I'm getting the
>>>> following error.
>>>>
>>>> Fatal error: Call to undefined function: get_current_hook_name()
>>>> in /
>>>> usr/share/squirrelmail/plugins/check_quota/functions.php on
>>>> line 149
>>>>
>>>> and I can't see any Emails.
>>>>
>>>> I've done two chances in config.php:
>>>>
>>>> * Default: UNIX (filesystem) quotas
>>>> * 0: UNIX / 1: IMAP / 2: cPanel
>>>> */
>>>>
>>>> $settings['quota_type'] = 1;
>>>>
>>>> AND
>>>>
>>>> $settings['info_above_folders_list'] = 0;
Solution:
we can setup older version of check quota size.