This documentation is for Dovecot v2.x, see wiki1 for v1.x documentation.
Differences between revisions 1 and 10 (spanning 9 versions)
Revision 1 as of 2007-06-12 22:10:47
Size: 636
Editor: TimoSirainen
Comment:
Revision 10 as of 2009-08-05 00:29:03
Size: 983
Editor: TimoSirainen
Comment:
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
## page was renamed from EximAndDovecotSASL
Line 2: Line 3:
Line 6: Line 6:
{{{
Line 15: Line 15:
    # deliver and some other programs need also auth-master:
    #master {
    # path = /var/run/dovecot/auth-master
    # mode = 0600
    #}
Line 17: Line 22:
}}}
Line 19: Line 24:

Create an authenticator for Dovecot:
Create authenticators for Dovecot:
Line 23: Line 27:
dovecot: dovecot_login:
  driver = dovecot
  public_name = LOGIN
  server_socket = /var/run/dovecot/auth-client
# setting server_set_id might break several headers in mails sent by authenticated smtp. So be careful.
  server_set_id = $auth1

dovecot_plain:
Line 29: Line 40:

FIXME: Create also one for LOGIN? I can't seem to find any working example configuration.

Exim and Dovecot SASL

Exim v4.64+ users can use Dovecot SASL instead of Cyrus SASL for authenticating SMTP clients.

dovecot.conf

auth default {
  mechanisms = plain login
  # .. passdb and userdb configuration ..
  socket listen {
    client {
      path = /var/run/dovecot/auth-client
      mode = 0666
    }
    # deliver and some other programs need also auth-master:
    #master {
    #  path = /var/run/dovecot/auth-master
    #  mode = 0600
    #}
  }
}

exim.conf

Create authenticators for Dovecot:

dovecot_login:
  driver = dovecot
  public_name = LOGIN
  server_socket = /var/run/dovecot/auth-client
# setting server_set_id might break several headers in mails sent by authenticated smtp. So be careful.
  server_set_id = $auth1

dovecot_plain:
  driver = dovecot
  public_name = PLAIN
  server_socket = /var/run/dovecot/auth-client
  server_set_id = $auth1

None: HowTo/EximAndDovecotSASL (last edited 2013-11-16 15:18:10 by office)