Open main menu

Wikibooks β

User:Hannes Röst/dovecot

< User:Hannes Röst

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)


How do I configure dovecot to read the passwords from an SQL table?Edit

see also

and edit the file

auth default {

  ## other stuff

  passdb sql {
    # Path for SQL configuration file
    args = /etc/dovecot/dovecot-sql.conf