loginrealm

2012-06-19 Thread Marc Patermann
Hi,

my servers are configured to use mailboxes without realm or domain, like 
user.jdoe for user jdoe, where his mail address is like 
john@example.com.
Authentication is against LDAP, where the mail adress is in the 
attribute mail and an attribute maildrop stores 
j...@imapserver.example.com which points to the IMAPd server used and 
his mail user name/mailbox.
This works fine.

Now we try to integrate SOGo. SOGo uses LDAP too and gets the IMAP user 
name from LDAP, where is only the attribute maildrop with the domain 
part appended to the username.

May 27 11:16:22 mailserver imap[8581]: badlogin: client [10.49.9.74] 
plaintext j...@imapserver.example.com SASL(-13): authentication failure: 
cross-realm login j...@imapserver.example.com denied

The hint on the SOGo list was to use loginrealm with 
imapserver.example.com.
With this jdoe can authenticate against my IMAPd server, but it does not 
find a maildox, because it looks for j...@imapserver.example.com / 
user.j...@imapserver.example.com and not for jdoe / user.jdoe.

Is there any way to get around this with IMAPd?


Marc

Cyrus Home Page: http://www.cyrusimap.org/
List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/
To Unsubscribe:
https://lists.andrew.cmu.edu/mailman/listinfo/info-cyrus


Re: loginrealm

2012-06-19 Thread Dan White
On 06/19/12 15:37 +0200, Marc Patermann wrote:
Hi,

my servers are configured to use mailboxes without realm or domain, like
user.jdoe for user jdoe, where his mail address is like
john@example.com.
Authentication is against LDAP, where the mail adress is in the
attribute mail and an attribute maildrop stores
j...@imapserver.example.com which points to the IMAPd server used and
his mail user name/mailbox.
This works fine.

Now we try to integrate SOGo. SOGo uses LDAP too and gets the IMAP user
name from LDAP, where is only the attribute maildrop with the domain
part appended to the username.

May 27 11:16:22 mailserver imap[8581]: badlogin: client [10.49.9.74]
plaintext j...@imapserver.example.com SASL(-13): authentication failure:
cross-realm login j...@imapserver.example.com denied

The hint on the SOGo list was to use loginrealm with
imapserver.example.com.
With this jdoe can authenticate against my IMAPd server, but it does not
find a maildox, because it looks for j...@imapserver.example.com /
user.j...@imapserver.example.com and not for jdoe / user.jdoe.

Is there any way to get around this with IMAPd?

Try setting:

defaultdomain: imapserver.example.com

-- 
Dan White

Cyrus Home Page: http://www.cyrusimap.org/
List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/
To Unsubscribe:
https://lists.andrew.cmu.edu/mailman/listinfo/info-cyrus