User:Hannes Röst/dovecot

From Wikibooks, open books for an open world
Jump to: navigation, search

Dovecot is an open source IMAP and POP3 server for Linux/UNIX-like systems. This means that it offers access to email that are stored on a remote server (it provides the server-side service while the client will have to connect using an Email client / MUA like thunderbird).

In order to send and receive email on a server, you still need a mail transfer agent (MTA) like postfix running on the server.

/etc/dovecot/passwd   -- has all email passwords (IMAP and SMTP since postfix will retrieve them there too)
/etc/aliases          -- maps email addresses to corresponding folder in /var/mail (run newaliases afterwards)

FAQ[edit]

How do I configure dovecot to read the passwords from an SQL table?[edit]

see also http://wiki.dovecot.org/AuthDatabase/SQL

and edit the file

auth default {
 
  ## other stuff
 
  passdb sql {
    # Path for SQL configuration file
    args = /etc/dovecot/dovecot-sql.conf
  }
}

/etc/dovecot/dovecot-sql.conf

Resources[edit]