Hi, I'm using Exim4 with SASL authentification. I use CRAM-MD5 and
DIGEST-MD5. The latter to support Outlook users because Outlook tries a
DIGEST-MD5 authentification by default and you can't tell it to use CRAM-MD5
or so.

Further, I handle several domains via my server.

The usernames are the email address of the user of the form
[EMAIL PROTECTED]

This is my Exim4 configuration for this:

  cram_md5_sasl_server:
        driver = cyrus_sasl
        public_name = CRAM-MD5
        server_realm = mail.mydomain.com
        server_set_id = $auth1

  digest_md5_sasl_server:
        driver = cyrus_sasl
        public_name = DIGEST-MD5
        server_realm = mydomain.com
        server_set_id = $auth1

Some questions:

1. I don't think that I need "server_realm" for CRAM-MD5, correct? If not,
what is it used for?

2. Is the realm stuff required for DIGEST-MD5?

3. I need to use two different calls to add user/passwords to the password
database depending on the user using Outlook or not:

a) Non Outlook users:saslpasswd2 -c [EMAIL PROTECTED]
b) Outlook users: saslpasswd2 -u mydomain.com -c username

But if the realm is hardcoded in the config file, how do I support Outlook
users from different domains? 

The only change I see at the moment is, to make user names not based on the
email address but use a realm that is the same for all users. 

Or am I missing something in the whole setup?
-- 
View this message in context: 
http://www.nabble.com/SASL---Realm---Multiple-Domains--tp20644252p20644252.html
Sent from the Exim Users mailing list archive at Nabble.com.


-- 
## List details at http://lists.exim.org/mailman/listinfo/exim-users 
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/

Reply via email to