This documentation is for Dovecot v2.x, see wiki1 for v1.x documentation.
Differences between revisions 9 and 11 (spanning 2 versions)
Revision 9 as of 2009-03-15 22:35:15
Size: 834
Editor: localhost
Comment: converted to 1.6 markup
Revision 11 as of 2010-08-29 05:41:38
Size: 752
Editor: interfaSys
Comment:
Deletions are marked like this. Additions are marked like this.
Line 5: Line 5:
== dovecot.conf == == conf.d/10-master.conf ==
Line 7: Line 7:
auth default {
  mechanisms = plain login
  # .. passdb and userdb configuration ..
  socket listen {
    client {
      path = /var/run/dovecot/auth-client
      mode = 0666
    }
service auth {
...
#SASL
  unix_listener auth-client {
    mode = 0660
    user = mail
Line 16: Line 14:
...

Exim and Dovecot SASL

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

conf.d/10-master.conf

service auth {
...
#SASL
  unix_listener auth-client {
    mode = 0660
    user = mail
  }
...
}

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)