This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
start:howto:dovecot_plus_database_quota [2012/08/23 08:29] aseques |
start:howto:dovecot_plus_database_quota [2013/06/10 09:32] aseques |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | ===== Dovecot modifications from default imscp install ===== | + | ===== Email modifications from default imscp install ===== |
This is an improved version from the original article in ispcp (http://isp-control.net/documentation/howto:mail:replace_courier_with_dovecot) | This is an improved version from the original article in ispcp (http://isp-control.net/documentation/howto:mail:replace_courier_with_dovecot) | ||
- | All the parts related to the default install where removed since imscp already takes care of that, and it's focused to add the functionality that is available only on dovecot (instead of courier). | + | The default install suits most of the needs, so this document is focused to add some functionality that is available only on dovecot (not always in courier). |
- | The required dovecot version is now 1.2 (squeeze's default) | + | The required dovecot version is now 1.2 (squeeze's default) or newer. |
- | ===== Changes from standard dovecot in imscp ===== | + | ===== Changes from standard mail setup in imscp ===== |
* Alias and subdomains can be used as a full mail domains | * Alias and subdomains can be used as a full mail domains | ||
- | * Global sieve filtering | + | * Global sieve filtering (already enabled by default but without config) |
===== Reasons to use dovecot ===== | ===== Reasons to use dovecot ===== | ||
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://forum.i-mscp.net/showthread.php?tid=61 | http://forum.i-mscp.net/showthread.php?tid=61 | ||
- | |||
- | **NOTE:** There are currently no means to configure the quota for imscp other than fiddling with the database. The functionality from http://www.isp-control.net/forum/thread-8483.html should be imported. | ||
- | |||
- | **NOTE:** If you want to edit the quota directly; it is stored in bytes in the table "mail_users" in a field named "quota". | ||
- | |||
===== Replace Courier with Dovecot ===== | ===== Replace Courier with Dovecot ===== | ||
Line 33: | Line 28: | ||
==== Global sieve filtering ==== | ==== Global sieve filtering ==== | ||
- | There is the global script located in /etc/dovecot/sieve/dovecot.sieve, it can be edited to suit your needs with more functionality. | + | Dovecot will look for the global sieve script located in /etc/dovecot/sieve/dovecot.sieve, it can be edited to suit your needs with more functionality. |
- | In the default install it moves all the mails tagged as spam to the Junk folder of the mail user, if for some reason you don't have that script created, the content should be this one: | + | In the sample below, it moves all the mails tagged as spam to the Junk folder of the mail user: |
<code>require "fileinto"; | <code>require "fileinto"; | ||
Line 43: | Line 38: | ||
} | } | ||
}</code> | }</code> | ||
- | |||
- | |||
More info about sieve syntax and usage: http://wiki.dovecot.org/LDA/Sieve | More info about sieve syntax and usage: http://wiki.dovecot.org/LDA/Sieve |