[Dovecot] dovecot ACL's wrong maildir++ location of shared folder
Hi
I am having problem regarding ACLs. I use ldap as db backend and everything seems okay but ACL retrieving of shared folder paths... why is the date and root wrong? dovecot is 1.2.17
####dovecot-ldap.conf user_attrs = homeDirectory=home,mailQuotaSize=quota_rule=*:bytes=%$,mailQuotaCount=quota_rule2=*:messages=%$
####dovecot.conf mail_location = maildir:~/Maildir:INDEX=~/index
namespace private { separator = / prefix = #location defaults to mail_location. inbox = yes }
namespace shared { separator = / prefix = Shared/%%u/ location = maildir:%%h/Maildir:INDEX=%h/index/Shared/%%u # this namespace should handle its own subscriptions or not. subscriptions = yes list = children }
i checked there is no "mail=.." in user_attrs!!
####dovecot.info 2011-08-03 22:41:51 IMAP(tmihalicek@example.org): Info: acl vfile: file /mailbox/maildirs02/example.org/t/m/i/tmihalicek/Maildir/.Sent/dovecot-acl not found 2011-08-03 22:41:51 IMAP(tmihalicek@example.org): Info: acl vfile: file /mailbox/maildirs02/example.org/t/m/i/tmihalicek/Maildir/.SpamCop/dovecot-acl not found 2011-08-03 22:41:51 IMAP(tmihalicek@example.org): Info: acl vfile: reading file /mailbox/maildirs02/example.org/t/m/i/tmihalicek/Maildir/.Gmail/dovecot-acl 2011-08-03 22:41:51 IMAP(tmihalicek@example.org): Info: acl vfile: file /mailbox/maildirs02/example.org/t/m/i/tmihalicek/Maildir/dovecot-acl not found 2011-08-03 22:41:51 IMAP(tmihalicek@example.org): Info: dict quota: user=testuser@example.org, uri=proxy::quotadict, noenforcing=0 2011-08-03 22:41:51 IMAP(tmihalicek@example.org): Info: maildir: data=/var/run/dovecot/user-not-found/testuser@example.org 2011-08-03 22:41:51 IMAP(tmihalicek@example.org): Info: maildir++: root=/var/run/dovecot/user-not-found/testuser@example.org, index=, control=, inbox=/var/run/dovecot/user-not-found/testuser@globalnet.hr 2011-08-03 22:41:51 IMAP(tmihalicek@example.org): Info: acl: initializing backend with data: vfile 2011-08-03 22:41:51 IMAP(tmihalicek@example.org): Info: acl: acl username = tmihalicek@example.org 2011-08-03 22:41:51 IMAP(tmihalicek@example.org): Info: acl: owner = 0 2011-08-03 22:41:51 IMAP(tmihalicek@example.org): Info: acl vfile: Global ACL directory: (null) 2011-08-03 22:41:51 IMAP(tmihalicek@example.org): Info: dict quota: user=testuser@example.org, uri=proxy::quotadict, noenforcing=0 2011-08-03 22:41:51 IMAP(tmihalicek@example.org): Info: maildir: data=/var/run/dovecot/user-not-found/testuser@example.org 2011-08-03 22:41:51 IMAP(tmihalicek@example.org): Info: maildir++: root=/var/run/dovecot/user-not-found/testuser@example.org, index=, control=, inbox=/var/run/dovecot/user-not-found/testuser@example.org 2011-08-03 22:41:51 IMAP(tmihalicek@example.org): Info: acl: initializing backend with data: vfile 2010-08-03 22:41:51 IMAP(tmihalicek@example.org): Info: acl: acl username = tmihalicek@example.org 2011-08-03 22:41:51 IMAP(tmihalicek@example.org): Info: acl: owner = 0 2011-08-03 22:41:51 IMAP(tmihalicek@example.org): Info: acl vfile: Global ACL directory: (null) 2011-08-03 22:41:51 IMAP(tmihalicek@example.org): Info: expire: No expiring in mailbox: INBOX 2011-08-03 22:41:51 IMAP(tmihalicek@example.org): Info: Disconnected: Logged out bytes=89/7806
-- View this message in context: http://old.nabble.com/dovecot-ACL%27s-wrong-maildir%2B%2B-location-of-shared... Sent from the Dovecot mailing list archive at Nabble.com.
SOLVED
dovecot-ldap.conf user_filter = (&(objectClass=qmailUser)(accountService=mail)(accountService=%Ls%Lc) accountService internal needs to be added :P
Tomislav Mihalicek wrote:
Hi
I am having problem regarding ACLs. I use ldap as db backend and everything seems okay but ACL retrieving of shared folder paths... why is the date and root wrong? dovecot is 1.2.17
####dovecot-ldap.conf user_attrs = homeDirectory=home,mailQuotaSize=quota_rule=*:bytes=%$,mailQuotaCount=quota_rule2=*:messages=%$
####dovecot.conf mail_location = maildir:~/Maildir:INDEX=~/index
namespace private { separator = / prefix = #location defaults to mail_location. inbox = yes }
namespace shared { separator = / prefix = Shared/%%u/ location = maildir:%%h/Maildir:INDEX=%h/index/Shared/%%u # this namespace should handle its own subscriptions or not. subscriptions = yes list = children }
i checked there is no "mail=.." in user_attrs!!
####dovecot.info 2011-08-03 22:41:51 IMAP(tmihalicek@example.org): Info: acl vfile: file /mailbox/maildirs02/example.org/t/m/i/tmihalicek/Maildir/.Sent/dovecot-acl not found 2011-08-03 22:41:51 IMAP(tmihalicek@example.org): Info: acl vfile: file /mailbox/maildirs02/example.org/t/m/i/tmihalicek/Maildir/.SpamCop/dovecot-acl not found 2011-08-03 22:41:51 IMAP(tmihalicek@example.org): Info: acl vfile: reading file /mailbox/maildirs02/example.org/t/m/i/tmihalicek/Maildir/.Gmail/dovecot-acl 2011-08-03 22:41:51 IMAP(tmihalicek@example.org): Info: acl vfile: file /mailbox/maildirs02/example.org/t/m/i/tmihalicek/Maildir/dovecot-acl not found 2011-08-03 22:41:51 IMAP(tmihalicek@example.org): Info: dict quota: user=testuser@example.org, uri=proxy::quotadict, noenforcing=0 2011-08-03 22:41:51 IMAP(tmihalicek@example.org): Info: maildir: data=/var/run/dovecot/user-not-found/testuser@example.org 2011-08-03 22:41:51 IMAP(tmihalicek@example.org): Info: maildir++: root=/var/run/dovecot/user-not-found/testuser@example.org, index=, control=, inbox=/var/run/dovecot/user-not-found/testuser@globalnet.hr 2011-08-03 22:41:51 IMAP(tmihalicek@example.org): Info: acl: initializing backend with data: vfile 2011-08-03 22:41:51 IMAP(tmihalicek@example.org): Info: acl: acl username = tmihalicek@example.org 2011-08-03 22:41:51 IMAP(tmihalicek@example.org): Info: acl: owner = 0 2011-08-03 22:41:51 IMAP(tmihalicek@example.org): Info: acl vfile: Global ACL directory: (null) 2011-08-03 22:41:51 IMAP(tmihalicek@example.org): Info: dict quota: user=testuser@example.org, uri=proxy::quotadict, noenforcing=0 2011-08-03 22:41:51 IMAP(tmihalicek@example.org): Info: maildir: data=/var/run/dovecot/user-not-found/testuser@example.org 2011-08-03 22:41:51 IMAP(tmihalicek@example.org): Info: maildir++: root=/var/run/dovecot/user-not-found/testuser@example.org, index=, control=, inbox=/var/run/dovecot/user-not-found/testuser@example.org 2011-08-03 22:41:51 IMAP(tmihalicek@example.org): Info: acl: initializing backend with data: vfile 2010-08-03 22:41:51 IMAP(tmihalicek@example.org): Info: acl: acl username = tmihalicek@example.org 2011-08-03 22:41:51 IMAP(tmihalicek@example.org): Info: acl: owner = 0 2011-08-03 22:41:51 IMAP(tmihalicek@example.org): Info: acl vfile: Global ACL directory: (null) 2011-08-03 22:41:51 IMAP(tmihalicek@example.org): Info: expire: No expiring in mailbox: INBOX 2011-08-03 22:41:51 IMAP(tmihalicek@example.org): Info: Disconnected: Logged out bytes=89/7806
-- View this message in context: http://old.nabble.com/dovecot-ACL%27s-wrong-maildir%2B%2B-location-of-shared... Sent from the Dovecot mailing list archive at Nabble.com.
participants (1)
-
Tomislav Mihalicek