I have very strange problem with masteruser. See two logs below: # telnet localhost 143 Trying 127.0.0.1... Connected to localhost. Escape character is '^]'. * OK [CAPABILITY IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ID ENABLE STARTTLS AUTH=PLAIN AUTH=LOGIN] Welcome to our post server! x login nevorotin password x OK [CAPABILITY IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ID ENABLE SORT SORT=DISPLAY THREAD=REFERENCES THREAD=REFS MULTIAPPEND UNSELECT IDLE CHILDREN NAMESPACE UIDPLUS LIST-EXTENDED I18NLEVEL=1 CONDSTORE QRESYNC ESEARCH ESORT SEARCHRES WITHIN CONTEXT=SEARCH LIST-STATUS ACL RIGHTS=texk] Logged in x list "" "*" * LIST (\HasNoChildren) "/" "INBOX" x OK List completed. x getacl INBOX * ACL "INBOX" "nevorotin" lrwstipekxacd x OK Getacl completed. All work perfectly. And then I log in throw masteruser: # telnet localhost 143 Trying 127.0.0.1... Connected to localhost. Escape character is '^]'. * OK [CAPABILITY IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ID ENABLE STARTTLS AUTH=PLAIN AUTH=LOGIN] Welcome to our post server! x login nevorotin*master masterpassword x OK [CAPABILITY IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ID ENABLE SORT SORT=DISPLAY THREAD=REFERENCES THREAD=REFS MULTIAPPEND UNSELECT IDLE CHILDREN NAMESPACE UIDPLUS LIST-EXTENDED I18NLEVEL=1 CONDSTORE QRESYNC ESEARCH ESORT SEARCHRES WITHIN CONTEXT=SEARCH LIST-STATUS ACL RIGHTS=texk] Logged in x list "" "*" * LIST (\Unmarked) "/" "INBOX" x OK List completed. x getacl INBOX x NO [NONEXISTENT] Mailbox doesn't exist: INBOX I've turned on debug logging, but there aren't any errors. I only see that masteruser succesfully logged in as nevorotin. How can I make a masteruser login to user account exactly the same as simple user login? Now it don't work at all [?] I use 1.2.10 version of dovecot. -------------- next part -------------- A non-text attachment was scrubbed... Name: 323.gif Type: image/gif Size: 100 bytes Desc: not available URL: <http://dovecot.org/pipermail/dovecot/attachments/20100408/1a8cce41/attachment-0002.gif>
Quoting ????????? ????? <nevorotin at gmail.com>:> I have very strange problem with masteruser. See two logs below:I can't help, but I can add my observations... Using dovecot 1.2.11 and master users, I noticed that if I login with to a user (real-user) using the master user (master-user), then the mailbox listing shows all non-acl mailboxes fine, but for acl-controlled mailboxes it shows those for which "master-user" has access, not those for which "real-user" has access. This really freaked me out the first time I logged in and a shared folder showed up when it shouldn't have. I thought I had shared it with everyone! But I was able to verify that a real login to "real-user" doesn't see the shared folder, while a master login to "real-user" does see it. So it is the master user login that is messing up the acl checks. -- Eric Rostetter The Department of Physics The University of Texas at Austin Go Longhorns!