Differences

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

Link to this comparison view

Next revision
Previous revision
dovecot [2006/06/23 21:39]
greebo created
dovecot [2012/10/15 11:58] (current)
zagi old revision restored
Line 1: Line 1:
 +====== Devocot hacks ======
 +
 +===== Devocot + MySQL =====
 +
 +**Creating user table**
 +
   CREATE TABLE users (   CREATE TABLE users (
       userid VARCHAR(128) NOT NULL,       userid VARCHAR(128) NOT NULL,
Line 5: Line 11:
       uid INTEGER NOT NULL,       uid INTEGER NOT NULL,
       gid INTEGER NOT NULL,       gid INTEGER NOT NULL,
-      active CHAR(1) DEFAULT 'Y' NOT NULL+      active CHAR(1) DEFAULT 'Y' NOT NULL
 +      PRIMARY KEY(userid)
   );   );
  
 +**Configuration**:
 +
 +  auth_passdb = mysql /etc/dovecot/dovecot-mysql.conf
 +  auth_userdb = mysql /etc/dovecot/dovecot-mysql.conf
 +  default_mail_env = maildir:/home/virtual_mail/%u/Maildir:INDEX=/var/mail/%u
 +
 +**dovecof.conf**
 +
 +login_greeting_capability=yes
 +
 +
 +protocol imap {
 +  mail_plugins = expire
 +}
 +protocol pop3 {
 +  mail_plugins = expire
 +}
 +
 +plugin {
 +  # Trash 7d, Spam 30d
 +  expire = Trash 7 Spam 30
 +}
  
-auth_passdb = mysql /etc/dovecot/dovecot-mysql.conf 
-auth_userdb = mysql /etc/dovecot/dovecot-mysql.conf 
  
-default_mail_env = maildir:/home/virtual_mail/%u/Maildir:INDEX=/var/mail/%u 
dovecot.1151091568.txt.gz · Last modified: 2009/05/25 00:34 (external edit)
CC Attribution-Share Alike 4.0 International
Driven by DokuWiki Recent changes RSS feed Valid CSS Valid XHTML 1.0 ipv6 ready