Hello, everyone,

I have a weird issue when the user logging in with/without domain name cannot 
list any directories.

Originally I configured `imap.conf` like this:

configdirectory: /var/imap
partition-default: /var/spool/imap
sievedir: /var/sieve
admins: cyrus
sasl_pwcheck_method: saslauthd

sasl_mech_list: PLAIN LOGIN 
allowplaintext: yes # we have everything encrypted, so PLAIN is okay         
tls_server_cert: /etc/ssl/cert.fullchain.crt
tls_server_key: /etc/ssl/private/cert.net.key
tls_server_ca_file: /etc/ssl/certs/ca-certificates.crt

lmtpsocket: /run/cyrus/socket/lmtp
autocreate_quota: 0
autocreate_post: 1
unixhierarchysep: on

I could login with "bobby":"UNIX password" over imtest, cyradm, and my normal 
email client.

Later I was forced to use a different email client, which rejects any login 
names which have no "@" in them, so I added the following to my config:

loginrealms: mydomain.com
defaultdomain: mydomain.com

This let me log in with "[email protected] <mailto:[email protected]>":"UNIX 
password", but the resulting logins are all ineffective. The user cannot do 
anything.

I have that user some "sam" rights:

sam user/bobby [email protected] all

Now when logging in as "[email protected]", I can do "1 select INBOX", and "2 
create Test", and even "3 select Test", and even "5 subscribe Test", but
4 list "" "*"
produces nothing:
8 list "" "*"
8 OK Completed (0.000 secs)

As a result, that strange email client cannot see any folders other than 
"INBOX".

*Is there some magic connected with the "LIST" command? **
*

I also created mailboxes with cyradm:

user/[email protected] (\HasChildren)                   
user/[email protected]/INBOX (\HasNoChildren)  

but when logged in as [email protected] , I can neither select them, nor see 
them in the output of "list".

------------------------------------------
Cyrus: Info
Permalink: 
https://cyrus.topicbox.com/groups/info/Tbdca7fd292038627-M2c39a633996a8d35f1da2470
Delivery options: https://cyrus.topicbox.com/groups/info/subscription

Reply via email to