Dovecot
From Docunext Technology Wiki
Contents |
Dovecot Summary
Dovecot is a POP3 and IMAP server, similar to Courier. It supports both mbox and maildir storage formats. I've never used it, but I've heard good things.
I'm interested in trying it out as LDA in conjunction with Postfix, as well as a SASL authentication system for Postfix.
Dovecot Authentication
Dovecot supports a bewildering amount of authentication storage systems, for example:
I'm trying it out as an IMAP based authentication system for Postfix SASL:
auth default {
mechanisms = plain
passdb passwd-file {
args = username_format=%u /etc/dovecot/imap.passwd
}
userdb prefetch {
}
}
Since I'm only authenticating the user and not accessing a Maildir or anything, I use the prefetch userdb option.
Dovecot AUTH Mechanisms
Looks like either LOGIN or CRAM-MD5 / HMAC-MD5 are good to use.
By storing a password in the CRAM-MD5 scheme for Dovecot, either PLAIN or CRAM-MD5 authentication mechanisms will work.
Chroot
addgroup --system dovecotauth adduser --system --no-create-home --shel /bin/false --ingroup dovecotauth --disabled-password --disabled-login dovecotauth
Really Awesome Dovecot Features / Plugins
See Also
- IMAP
- Postfix
- Courier
- GMail
- My Email Services Configurations
- Converting from Courier IMAP to Dovecot IMAP
Links
- http://www.dovecot.org/
- http://www.lxtreme.nl/index.pl/docs/linux/dovecot_postfix_pam
- http://wiki.dovecot.org/LDA