This documentation is for Dovecot v2.x, see wiki1 for v1.x documentation.
Differences between revisions 3 and 4
Revision 3 as of 2007-06-25 01:27:21
Size: 691
Comment: fix line
Revision 4 as of 2007-08-13 21:07:39
Size: 813
Editor: UrsProbst
Comment: setting server_set_id=$auth1 caused quite a few problems: Several headers looked like "user@virtualdomain"@mailserver.domain, which caused rejects by other MTAs or frozen mails.
Deletions are marked like this. Additions are marked like this.
Line 3: Line 3:
Line 7: Line 6:
Line 20: Line 18:
Line 22: Line 19:
Line 30: Line 26:
  server_set_id = $auth1 # setting server_set_id might break several headers in mails sent by authenticated smtp. So be careful
# server_set_id = $auth1
Line 32: Line 29:
FIXME: Create also one for LOGIN? I can't seem to find any working example configuration.
Line 33: Line 31:
FIXME: Create also one for LOGIN? I can't seem to find any working example configuration. ----
 CategoryCategory

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
    }
  }
}

exim.conf

Create an authenticator for Dovecot:

dovecot:
  driver = dovecot
  public_name = PLAIN
  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

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


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