This shows you the differences between two versions of the page.
Next revision | Previous revision Next revision Both sides next revision | ||
start:howto:dovecot_plus_database_quota [2010/12/20 16:37] aseques migrated as a howto |
start:howto:dovecot_plus_database_quota [2011/01/17 15:52] aseques |
||
---|---|---|---|
Line 20: | Line 20: | ||
Please report any bugs/hints/whatever in the following board thread: | Please report any bugs/hints/whatever in the following board thread: | ||
- | http://www.isp-control.net/forum/thread-6088-post-49018.html | + | http://forum.i-mscp.net/showthread.php?tid=61 |
- | **NOTE:** ispCP is already assigning 10MB quota to each mail account created, but currently it is not editable by default (ticket #2219). To be able to edit the quota from the control panel you will have to follow this thread, as a bonus you will see the current values. | + | **NOTE:** i-MSCP is already assigning 10MB quota to each mail account created, but currently it is not editable by default (ticket #2219). To be able to edit the quota from the control panel you will have to follow this thread, as a bonus you will see the current values. |
http://www.isp-control.net/forum/thread-8483.html | http://www.isp-control.net/forum/thread-8483.html | ||
Line 34: | Line 34: | ||
==== Script for password verification ==== | ==== Script for password verification ==== | ||
- | Somewhere in between rc6 and 1.0.0 password encryption was added and so passwords in clear text are no longer working. Grab the perl script written by sci2tech that handles the verification of passwords for Dovecot: http://www.isp-control.net/forum/attachment.php?aid=1185 | + | The passwords are stored encripted on the database. To be able to use dovecot you have to get the script written by scy2tech that handles the verification of passwords for Dovecot: http://forum.i-mscp.net/attachment.php?aid=54 |
- | Copy it to **/var/www/ispcp/engine/ispcp-dovecot-mngr** and do a | + | Copy it to **/var/www/imscp/engine/imscp-dovecot-mngr** and do a |
- | chmod 0755 /var/www/ispcp/engine/ispcp-dovecot-mngr | + | chmod 0755 /var/www/imscp/engine/imscp-dovecot-mngr |
===== Replace Courier with Dovecot ===== | ===== Replace Courier with Dovecot ===== | ||
Line 409: | Line 409: | ||
You can configure Dovecot to execute an external command if an user's quota exceeds a specified limit. In this example the user receives alert emails if his quota exceeds 80% / 95% percent. | You can configure Dovecot to execute an external command if an user's quota exceeds a specified limit. In this example the user receives alert emails if his quota exceeds 80% / 95% percent. | ||
- | Append the following to your plugin section in **/etc/dovecot.conf**: | + | Append the following in your plugin section in **/etc/dovecot/dovecot.conf**: |
quota_warning = storage=95%% /usr/local/bin/dovecot-quota-warning.sh 95 | quota_warning = storage=95%% /usr/local/bin/dovecot-quota-warning.sh 95 |