Dovecot


From Docunext Technology Wiki

Jump to: navigation, search

Dovecot Logo

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

Links

Personal tools