Cyrus 2.5.11 default domain on auth

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello,
 
we have Cyrus installations with virtual domains for years.
Users usually authenticate via imap as name.lastname@xxxxxxxxxx and get to their inboxes.
 
I have now a situation where I need to let users authenticate just with name.lastname and let the system fill in the default domain.
Here is our saslauthd.conf:
 
ldap_servers: ldap://localhost/
ldap_default_domain: sonicle.com
ldap_search_base: ou=People,dc=%2,dc=%1
ldap_auth_method: bind
ldap_filter: uid=%u

and this imapd.conf:

allowusermoves: 1
lmtp_downcase_rcpt: 1
configdirectory: /sonicle/var/imap
partition-default: /sonicle/var/spool/imap
sievedir: /sonicle/var/sieve
sieve_extensions: fileinto reject vacation vacation-seconds imapflags imap4flags notify envelope relational regex subaddress copy date
sieve_utf8fileinto: 1
sieve_vacation_min_response: 0
admins: sonicle
sasl_pwcheck_method: saslauthd
allowplaintext: yes
sasl_mech_list: plain
tls_ca_file: /sonicle/ssl/certs/acme/fullchain.pem
tls_cert_file: /sonicle/ssl/certs/acme/cert.pem
tls_key_file: /sonicle/ssl/certs/acme/key.pem
altnamespace: yes
virtdomains: userid
unixhierarchysep: 1
duplicatesuppression: 0
sendmail: /sonicle/sbin/sendmail
xlist-archive: Archives
xlist-drafts: Drafts
xlist-sent: Sent
xlist-spam: Spam
xlist-trash: Trash

If I try adding defaultdomain, what happens is that authentication works both with and without specifying domain, but then you're not on your normal inbox of user/name.lastname@xxxxxxxxxx but somewhere else strange, a SELECT INBOX returns mailbox not found.
 
What's wrong? How can I achieve my goal?
 
Thanks!
Gabriele

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

[Index of Archives]     [Cyrus SASL]     [Squirrel Mail]     [Asterisk PBX]     [Video For Linux]     [Photo]     [Yosemite News]     [gtk]     [KDE]     [Gimp on Windows]     [Steve's Art]

  Powered by Linux