Ok. We are getting closer I believe:
If I run with a hardcoded location, my list "" "*" shows the shared folders:
- LIST (\HasNoChildren) "." "shared.dev1.Sent items"
- LIST (\HasNoChildren) "." "shared.qmail.INBOX"
- LIST (\HasNoChildren) "." "shared.radius.INBOX"
If I run with %%h I don't see the shared. folders and the logs show:
Nov 16 13:07:35 pop dovecot: dict: mysql: Connected to 192.168.1.7 (dovecot)
Nov 16 13:07:35 pop dovecot: IMAP(sheken@top-consulting.net): userdb
lookup: connect(/var/run/dovecot/auth-master) failed: No
such file or directory
Nov 16 13:07:35 pop dovecot: IMAP(sheken@top-consulting.net):
Namespace 'shared.': Could not lookup home for user dev1@top-con
sulting.net
Nov 16 13:07:35 pop dovecot: IMAP(sheken@top-consulting.net): userdb
lookup: connect(/var/run/dovecot/auth-master) failed: No
such file or directory
Nov 16 13:07:35 pop dovecot: IMAP(sheken@top-consulting.net):
Namespace 'shared.': Could not lookup home for user dev1@top-con
sulting.net
Nov 16 13:07:35 pop dovecot: IMAP(sheken@top-consulting.net): userdb
lookup: connect(/var/run/dovecot/auth-master) failed: No
such file or directory
Nov 16 13:07:35 pop dovecot: IMAP(sheken@top-consulting.net):
Namespace 'shared.': Could not lookup home for user qmail@top-co
nsulting.net
Nov 16 13:07:35 pop dovecot: IMAP(sheken@top-consulting.net): userdb
lookup: connect(/var/run/dovecot/auth-master) failed: No
such file or directory
Nov 16 13:07:35 pop dovecot: IMAP(sheken@top-consulting.net):
Namespace 'shared.': Could not lookup home for user radius@top-c
onsulting.net
Nov 16 13:07:35 pop dovecot: IMAP(sheken@top-consulting.net): userdb
lookup: connect(/var/run/dovecot/auth-master) failed: No
such file or directory
Nov 16 13:07:35 pop dovecot: IMAP(sheken@top-consulting.net):
Namespace 'shared.': Could not lookup home for user @top-consult
ing.net
Now, for authentication I use the vpopmail module like so:
auth default { mechanisms = plain login
passdb vpopmail { args = webmail=192.168.1.4 }
userdb vpopmail { args = quota_template=quota_rule=*:backend=%q }
Thanks!
Quoting Timo Sirainen tss@iki.fi:
On Tue, 2010-11-16 at 12:44 -0500, qmail@top-consulting.net wrote:
I might have forgotten to mention that I am using . (dot) as separator.
Your original message that proposed that fix is here: http://www.mail-archive.com/dovecot@dovecot.org/msg20706.html
I just copied the location value from what the guy was already using. The important part was that "." in usernames was messing things up, and you could now avoid that by using:
namespace shared { separator = . prefix = shared.%%u.
prefix = shared.%%n.
(This of course prevents users from sharing mailboxes across different domains.)
I am running the IMAP commands directly through telnet and although the namespace exists, it doesn't show up at all:
If I use the location that I commented out, shared folders will work for all the domains that exist under /usr/home/vpopmail/domains/P
- Find out some mailbox name with the location=/usr/home/etc. that you can actually successfully select, i.e. something like:
a SELECT shared.user.boxname
- Switch to %%h, set mail_debug=yes and try the same again. What does the command reply? What do the logs show?