[Dovecot] @2.0, autocreate fails. "Permission lookup failed"?

PGNet Dev pgnet.dev+dovecot at gmail.com
Sun Oct 11 08:06:54 EEST 2009


i'm trying to setup autocreate in 2.0.

in mail.conf,

	...
	namespace private {
		separator                 = /
		prefix                    = ""
		inbox                     = yes
		hidden                    = no
		list                      = yes
		subscriptions             = yes
	}
	namespace public {
		separator                 = /
		prefix                    = "Public/"
		inbox                     = no
		hidden                    = no
		location = maildir:/data/mail/Domains/%d/Public
	}
	namespace shared {
		separator                 = /
		prefix                    = "Shared/"
		inbox                     = no
		hidden                    = no
		location = maildir:/data/mail/Domains/%d/Shared
	}
	...

and in plugin.conf,

	...
	plugin {
		...
		autocreate                    = Trash
		autocreate2                   = Spam
		autocreate3                   = Drafts
		autocreate4                   = Templates
		autosubscribe                 = Trash
		autosubscribe2                = Spam
		autosubscribe3                = Drafts
		autosubscribe4                = Templates
		autosubscribe5                = INBOX
		...
	...

with similar confs in v1.2, autocreate works as expected, creating all
subdirs correctly.

in v2.0, @ imap login (with TBird, atm), only Trash folder is created,
but nothing else,

	ls -1
		cur/
		dovecot.index.log
		dovecot.mailbox.log
		dovecot-uidlist
		dovecot-uidvalidity
		dovecot-uidvalidity.4ad16699
		new/
		subscriptions
		tmp/
-->		Trash/

logs show,

Oct 10 22:01:11 IMAP(testuser at my.domain.com): Info: Effective
uid=1001, gid=1000,
home=/data/mail/Domains/my.domain.com/Accounts/testuser
Oct 10 22:01:11 IMAP(testuser at my.domain.com): Info: Namespace:
type=private, prefix=, sep=/, inbox=yes, hidden=no, list=yes,
subscriptions=yes
Oct 10 22:01:11 IMAP(testuser at my.domain.com): Info: fs:
root=/data/mail/Domains/my.domain.com/Accounts/testuser, index=,
control=, inbox=/data/mail/Domains/my.domain.com/Accounts/testuser
Oct 10 22:01:11 IMAP(testuser at my.domain.com): Info: Namespace:
type=public, prefix=Public/, sep=/, inbox=no, hidden=no, list=yes,
subscriptions=yes
Oct 10 22:01:11 IMAP(testuser at my.domain.com): Info: maildir++:
root=/data/mail/Domains/my.domain.com/Public, index=, control=, inbox=
Oct 10 22:01:11 IMAP(testuser at my.domain.com): Info: Namespace Public/:
Permission lookup failed from /data/mail/Domains/my.domain.com/Public
Oct 10 22:01:11 IMAP(testuser at my.domain.com): Info: Namespace Public/:
Using permissions from /data/mail/Domains/my.domain.com/Public:
mode=0700 gid=-1
Oct 10 22:01:11 IMAP(testuser at my.domain.com): Info: Namespace:
type=shared, prefix=Shared/, sep=/, inbox=no, hidden=no, list=yes,
subscriptions=yes
Oct 10 22:01:11 IMAP(testuser at my.domain.com): Info: maildir++:
root=/data/mail/Domains/my.domain.com/Shared, index=, control=, inbox=
Oct 10 22:01:11 IMAP(testuser at my.domain.com): Info: Namespace :
Permission lookup failed from
/data/mail/Domains/my.domain.com/Accounts/testuser/Trash
Oct 10 22:01:11 IMAP(testuser at my.domain.com): Info: Namespace : Using
permissions from /data/mail/Domains/my.domain.com/Accounts/testuser:
mode=0700 gid=-1
Oct 10 22:01:11 IMAP(testuser at my.domain.com): Info: Namespace :
Permission lookup failed from
/data/mail/Domains/my.domain.com/Accounts/testuser/Trash
Oct 10 22:01:11 IMAP(testuser at my.domain.com): Info: Namespace : Using
permissions from /data/mail/Domains/my.domain.com/Accounts/testuser:
mode=0700 gid=-1
Oct 10 22:01:20 imap-login: Info: Login:
user=<testuser at my.domain.com>, method=PLAIN, rip=192.168.1.16,
lip=192.168.1.22, TLS
Oct 10 22:01:20 IMAP(testuser at my.domain.com): Info: Effective
uid=1001, gid=1000,
home=/data/mail/Domains/my.domain.com/Accounts/testuser
Oct 10 22:01:20 IMAP(testuser at my.domain.com): Info: Namespace:
type=private, prefix=, sep=/, inbox=yes, hidden=no, list=yes,
subscriptions=yes
Oct 10 22:01:20 IMAP(testuser at my.domain.com): Info: fs:
root=/data/mail/Domains/my.domain.com/Accounts/testuser, index=,
control=, inbox=/data/mail/Domains/my.domain.com/Accounts/testuser
Oct 10 22:01:20 IMAP(testuser at my.domain.com): Info: Namespace:
type=public, prefix=Public/, sep=/, inbox=no, hidden=no, list=yes,
subscriptions=yes
Oct 10 22:01:20 IMAP(testuser at my.domain.com): Info: maildir++:
root=/data/mail/Domains/my.domain.com/Public, index=, control=, inbox=
Oct 10 22:01:20 IMAP(testuser at my.domain.com): Info: Namespace:
type=shared, prefix=Shared/, sep=/, inbox=no, hidden=no, list=yes,
subscriptions=yes
Oct 10 22:01:20 IMAP(testuser at my.domain.com): Info: maildir++:
root=/data/mail/Domains/my.domain.com/Shared, index=, control=, inbox=

not clear what i've missed ...what's the "Permission lookup failed"
about in 2.0, but not 1.2?


More information about the dovecot mailing list