[Dovecot] dovecot 2.1 Master account Error
HI
I am running parallel dovecot 1.2 for main accounts and 2.1 for test accounts, and for some reason when i try to login with master user on dovecot 2.1 service errors.
However the normal user logins and rest works flawlesly
Here is the debug
Aug 16 15:15:56 mailstore-node-02 dovecot: auth: Debug: auth client connected (pid=27557) Aug 16 15:15:56 mailstore-node-02 dovecot: auth: Debug: client in: AUTH#0111#011PLAIN#011service=pop3#011secured#011no-penalty#011session=ZOcF2GHHdQAKVCKD#011lip=10.84.34.122#011rip=10.84.34.131#011lport=110#011rport=60021 Aug 16 15:15:56 mailstore-node-02 dovecot: auth: Debug: client out: CONT#0111#011 Aug 16 15:15:56 mailstore-node-02 dovecot: auth: Debug: client in: CONT<hidden> Aug 16 15:15:56 mailstore-node-02 dovecot: auth: Debug: auth(migration@example.net,10.84.34.131,master,<ZOcF2GHHdQAKVCKD>): Master user lookup for login: tomislav.mihalicek@example.net Aug 16 15:15:56 mailstore-node-02 dovecot: auth: Debug: passwd-file(migration@example.net,10.84.34.131,master,<ZOcF2GHHdQAKVCKD>): lookup: user=migration@example.net file=/etc/dovecot/master-users Aug 16 15:15:56 mailstore-node-02 dovecot: auth: passdb(migration@example.net,10.84.34.131,master,<ZOcF2GHHdQAKVCKD>): Master user logging in as tomislav.mihalicek@example.net Aug 16 15:15:56 mailstore-node-02 dovecot: auth: Debug: ldap(tomislav.mihalicek@example.net,10.84.34.131,<ZOcF2GHHdQAKVCKD>): pass search: base=ou=accounts,dc=example,dc=net scope=subtree filter=(&(objectClass=mailUser)(accountService=mail)(accountService=pop3secured)(|(mail=tomislav.mihalicek@example.net)(mailAlternateAddress=tomislav.mihalicek@example.net))) fields=mail,userPassword Aug 16 15:15:56 mailstore-node-02 dovecot: auth: Debug: ldap(tomislav.mihalicek@example.net,10.84.34.131,<ZOcF2GHHdQAKVCKD>): result: mail=tomislav.mihalicek@example.net userPassword=<hidden> Aug 16 15:15:56 mailstore-node-02 dovecot: auth: Debug: client out: OK#0111#011user=tomislav.mihalicek@example.net Aug 16 15:15:56 mailstore-node-02 dovecot: auth: Debug: master in: REQUEST#0113563585537#01127557#0111#0118ccf2bab093bd33a4b93958c99236471 Aug 16 15:15:56 mailstore-node-02 dovecot: auth: Debug: ldap(tomislav.mihalicek@example.net,10.84.34.131,<ZOcF2GHHdQAKVCKD>): user search: base=ou=accounts,dc=example,dc=net scope=subtree filter=(&(objectClass=mailUser)(accountService=mail)(accountService=pop3secured)(|(mail=tomislav.mihalicek@example.net)(mailAlternateAddress=tomislav.mihalicek@example.net))) fields=mail,homeDirectory,mailQuotaSize Aug 16 15:15:56 mailstore-node-02 dovecot: auth: Debug: ldap(tomislav.mihalicek@example.net,10.84.34.131,<ZOcF2GHHdQAKVCKD>): result: mail=tomislav.mihalicek@example.net mailQuotaSize=4294967296 homeDirectory=/mailbox/maildirs/example.net/t/o/m/tomislav.mihalicek Aug 16 15:15:56 mailstore-node-02 dovecot: auth: Debug: master out: USER#0113563585537#011tomislav.mihalicek@example.net#011home=/mailbox/maildirs/example.net/t/o/m/tomislav.mihalicek#011quota_rule=*:bytes=4294967296#011master_user=migration@example.net Aug 16 15:15:56 mailstore-node-02 dovecot: pop3-login: Login: user=<tomislav.mihalicek@example.net>, method=PLAIN, rip=10.84.34.131, lip=10.84.34.122, mpid=27558, secured, session=<ZOcF2GHHdQAKVCKD> Aug 16 15:15:56 mailstore-node-02 dovecot: pop3: Debug: Loading modules from directory: /usr/lib/dovecot/modules Aug 16 15:15:56 mailstore-node-02 dovecot: pop3: Debug: Module loaded: /usr/lib/dovecot/modules/lib01_acl_plugin.so Aug 16 15:15:56 mailstore-node-02 dovecot: pop3: Debug: Module loaded: /usr/lib/dovecot/modules/lib10_quota_plugin.so Aug 16 15:15:56 mailstore-node-02 dovecot: pop3: Debug: Module loaded: /usr/lib/dovecot/modules/lib15_notify_plugin.so Aug 16 15:15:56 mailstore-node-02 dovecot: pop3: Debug: Module loaded: /usr/lib/dovecot/modules/lib20_expire_plugin.so Aug 16 15:15:56 mailstore-node-02 dovecot: pop3: Debug: Module loaded: /usr/lib/dovecot/modules/lib20_mail_log_plugin.so Aug 16 15:15:56 mailstore-node-02 dovecot: pop3: Debug: Module loaded: /usr/lib/dovecot/modules/lib20_virtual_plugin.so Aug 16 15:15:56 mailstore-node-02 dovecot: pop3: Debug: Module loaded: /usr/lib/dovecot/modules/lib20_zlib_plugin.so Aug 16 15:15:56 mailstore-node-02 dovecot: pop3: Debug: Module loaded: /usr/lib/dovecot/modules/lib90_stats_plugin.so Aug 16 15:15:56 mailstore-node-02 dovecot: pop3: Debug: Added userdb setting: plugin/master_user=migration@example.net Aug 16 15:15:56 mailstore-node-02 dovecot: pop3: Debug: Added userdb setting: plugin/quota_rule=*:bytes=4294967296 Aug 16 15:15:56 mailstore-node-02 dovecot: pop3(tomislav.mihalicek@example.net): Debug: Effective uid=10101, gid=10101, home=/mailbox/maildirs/example.net/t/o/m/tomislav.mihalicek Aug 16 15:15:56 mailstore-node-02 dovecot: pop3(tomislav.mihalicek@example.net): Debug: Quota root: name=user backend=dict args=:proxy::quota Aug 16 15:15:56 mailstore-node-02 dovecot: pop3(tomislav.mihalicek@example.net): Debug: Quota rule: root=user mailbox=* bytes=4294967296 messages=0 Aug 16 15:15:56 mailstore-node-02 dovecot: pop3(tomislav.mihalicek@example.net): Debug: Quota warning: bytes=4080218931 (95%) messages=0 reverse=no command=quota-warning 95 tomislav.mihalicek@example.net Aug 16 15:15:56 mailstore-node-02 dovecot: pop3(tomislav.mihalicek@example.net): Debug: Quota warning: bytes=3650722201 (85%) messages=0 reverse=no command=quota-warning 85 tomislav.mihalicek@example.net Aug 16 15:15:56 mailstore-node-02 dovecot: pop3(tomislav.mihalicek@example.net): Debug: Quota warning: bytes=3006477107 (70%) messages=0 reverse=no command=quota-warning 70 tomislav.mihalicek@example.net Aug 16 15:15:56 mailstore-node-02 dovecot: pop3(tomislav.mihalicek@example.net): Debug: dict quota: user=tomislav.mihalicek@example.net, uri=proxy::quota, noenforcing=0 Aug 16 15:15:56 mailstore-node-02 dovecot: pop3(tomislav.mihalicek@example.net): Debug: Namespace inbox: type=private, prefix=, sep=/, inbox=yes, hidden=no, list=yes, subscriptions=yes location=sdbox:~/sdbox:INDEX=~/index Aug 16 15:15:56 mailstore-node-02 dovecot: pop3(tomislav.mihalicek@example.net): Debug: fs: root=/mailbox/maildirs/example.net/t/o/m/tomislav.mihalicek/sdbox, index=/mailbox/maildirs/example.net/t/o/m/tomislav.mihalicek/index, control=, inbox=, alt= Aug 16 15:15:56 mailstore-node-02 dovecot: pop3(tomislav.mihalicek@example.net): Debug: acl: initializing backend with data: vfile:/etc/dovecot/global-acls:cache_secs=300 Aug 16 15:15:56 mailstore-node-02 dovecot: pop3(tomislav.mihalicek@example.net): Debug: acl: acl username = migration@example.net Aug 16 15:15:56 mailstore-node-02 dovecot: pop3(tomislav.mihalicek@example.net): Debug: acl: owner = 0 Aug 16 15:15:56 mailstore-node-02 dovecot: pop3(tomislav.mihalicek@example.net): Debug: acl vfile: Global ACL directory: /etc/dovecot/global-acls Aug 16 15:15:56 mailstore-node-02 dovecot: pop3(tomislav.mihalicek@example.net): Debug: Namespace : type=shared, prefix=X-Share/%u/, sep=/, inbox=no, hidden=no, list=children, subscriptions=yes location=maildir:%h/Maildir:INDEX=~/index/Shared/%u Aug 16 15:15:56 mailstore-node-02 dovecot: pop3(tomislav.mihalicek@example.net): Debug: shared: root=/var/run/dovecot, index=, control=, inbox=, alt= Aug 16 15:15:56 mailstore-node-02 dovecot: pop3(tomislav.mihalicek@example.net): Debug: acl: initializing backend with data: vfile:/etc/dovecot/global-acls:cache_secs=300 Aug 16 15:15:56 mailstore-node-02 dovecot: pop3(tomislav.mihalicek@example.net): Debug: acl: acl username = migration@example.net Aug 16 15:15:56 mailstore-node-02 dovecot: pop3(tomislav.mihalicek@example.net): Debug: acl: owner = 0 Aug 16 15:15:56 mailstore-node-02 dovecot: pop3(tomislav.mihalicek@example.net): Debug: acl vfile: Global ACL directory: /etc/dovecot/global-acls Aug 16 15:15:56 mailstore-node-02 dovecot: pop3(tomislav.mihalicek@example.net): Debug: acl vfile: file /etc/dovecot/global-acls/INBOX not found Aug 16 15:15:56 mailstore-node-02 dovecot: pop3(tomislav.mihalicek@example.net): Debug: acl vfile: file /mailbox/maildirs/example.net/t/o/m/tomislav.mihalicek/sdbox/mailboxes/INBOX/dbox-Mails/dovecot-acl not found Aug 16 15:15:56 mailstore-node-02 dovecot: pop3(tomislav.mihalicek@example.net): Debug: acl vfile: file /etc/dovecot/global-acls/ not found Aug 16 15:15:56 mailstore-node-02 dovecot: pop3(tomislav.mihalicek@example.net): Debug: acl vfile: file /mailbox/maildirs/example.net/t/o/m/tomislav.mihalicek/sdbox/mailboxes/dovecot-acl not found Aug 16 15:15:56 mailstore-node-02 dovecot: pop3(tomislav.mihalicek@example.net): Error: Failed to autocreate mailbox INBOX: Permission denied Aug 16 15:15:56 mailstore-node-02 dovecot: pop3(tomislav.mihalicek@example.net): Error: Couldn't open INBOX: Internal error occurred. Refer to server log for more information. [2012-08-16 15:15:56] Aug 16 15:15:56 mailstore-node-02 dovecot: pop3(tomislav.mihalicek@example.net): Couldn't open INBOX top=0/0, retr=0/0, del=0/0, size=0
-- View this message in context: http://dovecot.2317879.n4.nabble.com/dovecot-2-1-Master-account-Error-tp3710... Sent from the Dovecot mailing list archive at Nabble.com.
On 16.8.2012, at 16.27, tmihalicek wrote:
I am running parallel dovecot 1.2 for main accounts and 2.1 for test accounts, and for some reason when i try to login with master user on dovecot 2.1 service errors.
Thanks Timo, after i read the ACL stuff i have another question. I would like to use a third solution which is assigning master_user=%u in userdb lookup. Should i use?
userdb { driver = ldap args = /etc/dovecot/dovecot-ldap.conf.ext # Default fields can be used to specify defaults that LDAP may override default_fields = uid=vmail gid=vmail allow_all_users=yes master_user=%u }
-- View this message in context: http://dovecot.2317879.n4.nabble.com/dovecot-2-1-Master-account-Error-tp3710... Sent from the Dovecot mailing list archive at Nabble.com.
participants (2)
-
Timo Sirainen
-
tmihalicek