From LedHed's Wiki
Dovecot is an open source IMAP/POP3 server for *nix Operating Systems
More info at: http://www.dovecot.org
Documentation at: http://wiki.dovecot.org
NOTE
Dovecot's default UIDL format isn't compatible with Outlook 2003 to fix set this setting as follows:
pop3_uidl_format = %08Xu%08Xv
Example dovecot.conf
# Protocols we want to be serving protocols = imap imaps pop3 pop3s # Listen on all IPv4 Interfaces listen = * # Kill all IMAP and POP3 processes when Dovecot master process shuts down shutdown_clients = yes # Disable SSL/TLS support. ssl_disable = no # SSL Certificate info ssl_cert_file = /etc/pki/tls/certs/server.crt ssl_key_file = /etc/pki/tls/certs/server.key # Mailbox locations default_mail_env = maildir:/usr/local/virtual/%u # IMAP specific settings protocol imap { listen = *:143 ssl_listen = *:993 } # POP3 specific settings protocol pop3 { listen = *:110 ssl_listen = *:995 } # Authentication processes exectuable auth_executable = /usr/libexec/dovecot/dovecot-auth # Authentication Settings auth default { # Authentication Mecahnisms mechanisms = plain login digest-md5 cram-md5 gssapi # Path for SQL configuration file passdb sql { args = /etc/dovecot-sql.conf } # Path for SQL configuration file userdb sql { args = /etc/dovecot-sql.conf } # User to use for the process. This user needs access to only user and password databases, nothing else. user = root # Make dovecot-auth available to Postifx for SASL authentication socket listen { client listen { path = /var/spool/postfix/private/auth mode = 0660 user = mail group = mail } } }
NOTE:
path = /var/spool/postfix/private/auth in dovecot.conf should match smtpd_sasl_path = /var/spool/postfix/private/auth in postfix's main.cf
See Postfix & Dovecot-Auth for reference.
Example dovecot-sql.conf
# Database driver: mysql, pgsql, sqlite driver = mysql # Database connection string. connect = host=localhost port=3306 dbname=mail user=mail password=******** # Default password scheme default_pass_scheme = PLAIN CRAM-MD5 DIGEST-MD5 MD5-CRYPT NTLM # Password Query password_query = SELECT password FROM users WHERE username = '%u' # User Query user_query = SELECT maildir, uid, gid FROM users WHERE username = '%u'
This category currently contains no pages or media.