I have three Postfix instances, A, B and C. A is an MX for B and C's domains and the relayhost for B and C. B and C are mailbox and submission hosts for their users. The servers presently use PLAIN authentication. I want them to use DIGEST-MD5 authentication instead.

Software:
Dovecot 1.1.7 (on A for auth, on B and C for auth and IMAP)
Postfix 2.5.5 (all instances)
Cyrus-SASL 2.1.22 (on B and C for SMTP client SASL)

The username format is u...@example.com.

For the DIGEST-MD5 mech, Dovecot expects:

        username = user
        realm = example.com

however, Postfix sends:

        username = "u...@example.com"
        realm = ""

I haven't found any settings that affect how Postfix splits the username retrieved from the smtp_sasl_password_map nor any options to change what Dovecot expects.

How do I fix this?

Reply via email to