This documentation is for Dovecot v2.x, see wiki1 for v1.x documentation.
Differences between revisions 14 and 15
Revision 14 as of 2011-11-30 20:50:12
Size: 951
Editor: nat070-249-205-109
Revision 15 as of 2013-11-16 15:18:10
Size: 1019
Editor: office
Comment: added auth_mechanisms = plain login line as otherwise login stanza in exim will not work
Deletions are marked like this. Additions are marked like this.
Line 16: Line 16:
== conf.d/10-auth.conf ==
auth_mechanisms = plain login

Exim and Dovecot SASL

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


service auth {
  unix_listener auth-client {
    mode = 0660
    user = mail


auth_mechanisms = plain login


Create authenticators for Dovecot:

  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

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

If you are having problems with this not working ensure that you are using version 4.72 or greater of exim. Previous versions of exim have trouble with the version of the protocol used in Dovecot 2

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