Multiple domains

mail

#1

Hi,

Can any of the groupware packages, in conjunction with UCS, support multiple users in multiple domains?

I can things to work with two domains, as long as the users don’t have the same login name. If I have two users with the same login name, but differnet email addresses, there should be two accounts: me@domain.net should allow logins, etc. I don’t want one of the users to have to be ‘me1964’ as login.

Does that make sense?

Gerald


#2

Hey,

yes, this is possible with e.g. Zarafa. By default Zarafa’s LDAP integration on UCS is configured to use the account’s login name as Zarafa’s login name, but you can change that easily to the user’s primary email address. Simply replace “ldap_loginname_attribute=uid” with “ldap_loginname_attribute=mailPrimaryAddress” in /etc/zarafa/ldap.cfg and restart the Zarafa server process.


#3

Excellent news. I do like Zarafa.

Is the same possible with Open XChange?

Gerald


#4

No idea; I’m not an OpenXChange user.


#5

So with Zarafa, does this also change the IMAP, SMTP, and Caldav logins?

Gerald


#6

It changes the logins for all the services that Zarafa provides itself: WebApp, IMAP, CalDAV, CardDAV, Outlook. It doesn’t change other services, though, and SMTP is one of those other services as it is provided by postfix and not by Zarafa.

If you want to adjust Postfix to use the email address as the login name, too, for authenticating users and allowing them to forward emails you’ll have to configure the SASL authentication daemon (saslauthd). Postfix itself only passes the username & password provided by the client to the saslauthd, and saslauthd in turn is configured to use the system accounts by default. The system accounts use the usernames you do not want to use instead of primary email address.

However, you can configure saslauthd to authenticate against an LDAP server instead, and that should allow you to use the email address as the attribute used in user lookups. See “man saslauthd”.

Note that the postfix issue is not limited to Zarafa. It also applies to other groupware solutions.