User Tools

Site Tools


start:howto:dovecot_plus_database_quota

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revision Both sides next revision
start:howto:dovecot_plus_database_quota [2011/01/17 15:52]
aseques
start:howto:dovecot_plus_database_quota [2012/01/09 11:36]
aseques
Line 1: Line 1:
-====== ​Replace Courier with Dovecot ​plus Database quota ======+**__ALERT: This is a document being rewritten, only experienced people should use this__** 
 + 
 +====== Dovecot ​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)
-It describes how to replace ​the courier-pop/​imap/​authdaemon/​maildrop with dovecot taking advantage ​of the features in dovecot 1.2+I stripped all the parts related ​to the default install (imscp already takes care of that) and focus to the functionality that is available only on doecot (instead of courier).
  
 ===== The improvements from the original document ===== ===== The improvements from the original document =====
Line 9: Line 11:
   * Following the installation is easier now.   * Following the installation is easier now.
  
-===== Introduction ​=====+===== Reasons to use dovecot ​=====
  
-What do you win by changing from courier to dovecot: 
   * You can do server-side filtering with sieve (for example saving spam to junk folder)   * You can do server-side filtering with sieve (for example saving spam to junk folder)
   * Reading your logs for problems will be easier   * Reading your logs for problems will be easier
Line 28: Line 29:
  
 ===== Prerequisites ===== ===== Prerequisites =====
-==== Your system'​s hostname has to be resolvable ==== 
-You can check this by executing 
-  hostname 
-This should print your system'​s hostname. 
  
-==== Script for password verification ​==== +===== Replace Courier with Dovecot ​=====
-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/​imscp/​engine/​imscp-dovecot-mngr** ​and do a +You can do it by re-running the installer ​and changing the default imap server when asked you can choose between courier or dovecot.
-   chmod 0755 /​var/​www/​imscp/​engine/​imscp-dovecot-mngr+
  
-===== Replace Courier with Dovecot ===== 
- 
-**Please replace every appearance of "​PASS_MAILRW"​ with your password!** 
  
 ==== 1. Create a new table in ispcp called quota_dovecot ==== ==== 1. Create a new table in ispcp called quota_dovecot ====
Line 61: Line 53:
   mysql> FLUSH PRIVILEGES;   mysql> FLUSH PRIVILEGES;
   mysql> quit;   mysql> quit;
- 
-==== 2. Stop Courier services ==== 
- 
-  /​etc/​init.d/​courier-pop stop 
-  /​etc/​init.d/​courier-imap stop 
-  /​etc/​init.d/​courier-authdaemon stop 
-  /​etc/​init.d/​saslauthd stop 
- 
-==== 3. Install Dovecot ==== 
- 
-  apt-get update 
-  apt-get install dovecot-common dovecot-imapd dovecot-pop3d 
  
 ==== 4. Configure Dovecot ==== ==== 4. Configure Dovecot ====
/var/www/virtual/i-mscp.net/wiki/htdocs/data/pages/start/howto/dovecot_plus_database_quota.txt · Last modified: 2013/06/21 07:36 by aseques