Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | Last revision Both sides next revision | ||
dovecot [2009/05/25 00:35] 127.0.0.1 external edit |
dovecot [2012/10/12 01:31] 94.23.1.28 tbxRGAspHoaHj |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== Devocot hacks ====== | + | This inshigt's just the way to kick life into this debate. |
- | + | ||
- | ===== Devocot + MySQL ===== | + | |
- | + | ||
- | **Creating user table** | + | |
- | + | ||
- | CREATE TABLE users ( | + | |
- | userid VARCHAR(128) NOT NULL, | + | |
- | password VARCHAR(64) NOT NULL, | + | |
- | home VARCHAR(255) NOT NULL, | + | |
- | uid INTEGER NOT NULL, | + | |
- | gid INTEGER NOT NULL, | + | |
- | active CHAR(1) DEFAULT | + | |
- | PRIMARY KEY(userid) | + | |
- | ); | + | |
- | + | ||
- | **Configuration**: | + | |
- | + | ||
- | auth_passdb = mysql / | + | |
- | auth_userdb = mysql / | + | |
- | default_mail_env = maildir:/ | + | |
- | + | ||
- | **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 | + | |
- | } | + | |
- | + |