Hello,
Since I have activated acl plugin, master password is no longer working.
I'm running dovecot 2.1.9 with master password and acl plugin (among
others). I have attached my configuration. If I disable acl plugin, it works, but if I enabled it, dovecot fails. In the client, I get:
amateo@joshua:~$ telnet myotis30.um.es 143 Trying 155.54.211.169... Connected to myotis30.um.es. Escape character is '^]'.
OK [CAPABILITY IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ID ENABLE IDLE AUTH=PLAIN] Dovecot ready. 1 login <user>*master <master pass> 1 OK [CAPABILITY IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ID ENABLE IDLE SORT SORT=DISPLAY THREAD=REFERENCES THREAD=REFS MULTIAPPEND UNSELECT CHILDREN NAMESPACE UIDPLUS LIST-EXTENDED I18NLEVEL=1 CONDSTORE QRESYNC ESEARCH ESORT SEARCHRES WITHIN CONTEXT=SEARCH LIST-STATUS SPECIAL-USE QUOTA ACL RIGHTS=texk] Logged in 2 SELECT INBOX 2 NO [SERVERBUG] Internal error occurred. Refer to server log for more information. [2013-02-27 11:46:50]
and in the server I get:
Feb 27 11:46:47 myotis30 dovecot: imap-login: Login: user=<<user>>, method=PLAIN, rip=155.54.67.5, lip=155.54.211.169, mpid=53762, session=<aECqfbLWvACbNkMF> Feb 27 11:46:47 myotis30 dovecot: imap: Debug: Loading modules from directory: /usr/lib/dovecot/modules Feb 27 11:46:47 myotis30 dovecot: imap: Debug: Module loaded: /usr/lib/dovecot/modules/lib01_acl_plugin.so Feb 27 11:46:47 myotis30 dovecot: imap: Debug: Module loaded: /usr/lib/dovecot/modules/lib02_imap_acl_plugin.so Feb 27 11:46:47 myotis30 dovecot: imap: Debug: Module loaded: /usr/lib/dovecot/modules/lib10_quota_plugin.so Feb 27 11:46:47 myotis30 dovecot: imap: Debug: Module loaded: /usr/lib/dovecot/modules/lib11_imap_quota_plugin.so Feb 27 11:46:47 myotis30 dovecot: imap: Debug: Module loaded: /usr/lib/dovecot/modules/lib20_zlib_plugin.so Feb 27 11:46:47 myotis30 dovecot: imap: Debug: Added userdb setting: plugin/master_user=master Feb 27 11:46:47 myotis30 dovecot: imap: Debug: Added userdb setting: plugin/quota_rule=*:storage=10G Feb 27 11:46:47 myotis30 dovecot: imap(<user>): Debug: Effective uid=113246, gid=110, home=/home/alumnos/46/113246 Feb 27 11:46:47 myotis30 dovecot: imap(<user>): Debug: acl: No acl_shared_dict setting - shared mailbox listing is disabled Feb 27 11:46:47 myotis30 dovecot: imap(<user>): Debug: Quota root: name=User quota backend=dict args=:file:/home/alumnos/46/113246/Maildir/dovecot.quota Feb 27 11:46:47 myotis30 dovecot: imap(<user>): Debug: Quota rule: root=User quota mailbox=* bytes=10737418240 messages=0 Feb 27 11:46:47 myotis30 dovecot: imap(<user>): Debug: Quota rule: root=User quota mailbox=Trash bytes=+1073741824 messages=0 Feb 27 11:46:47 myotis30 dovecot: imap(<user>): Debug: dict quota: user=<user>, uri=file:/home/alumnos/46/113246/Maildir/dovecot.quota, noenforcing=0 Feb 27 11:46:47 myotis30 dovecot: imap(<user>): Debug: Namespace : type=private, prefix=, sep=., inbox=yes, hidden=no, list=yes, subscriptions=yes location=maildir:~/Maildir:INDEX=/var/indexes/<user> Feb 27 11:46:47 myotis30 dovecot: imap(<user>): Debug: maildir++: root=/home/alumnos/46/113246/Maildir, index=/var/indexes/<user>, control=, inbox=/home/alumnos/46/113246/Maildir, alt= Feb 27 11:46:47 myotis30 dovecot: imap(<user>): Debug: acl: initializing backend with data: vfile Feb 27 11:46:47 myotis30 dovecot: imap(<user>): Debug: acl: acl username = master Feb 27 11:46:47 myotis30 dovecot: imap(<user>): Debug: acl: owner = 0 Feb 27 11:46:47 myotis30 dovecot: imap(<user>): Debug: acl vfile: Global ACL directory: (none) Feb 27 11:46:47 myotis30 dovecot: imap(<user>): Debug: Namespace : type=private, prefix=BORRADOS., sep=., inbox=no, hidden=yes, list=no, subscriptions=yes location=maildir:~/Maildir/expunged Feb 27 11:46:47 myotis30 dovecot: imap(<user>): Debug: maildir++: root=/home/alumnos/46/113246/Maildir/expunged, index=, control=, inbox=, alt= Feb 27 11:46:47 myotis30 dovecot: imap(<user>): Debug: acl: initializing backend with data: vfile Feb 27 11:46:47 myotis30 dovecot: imap(<user>): Debug: acl: acl username = master Feb 27 11:46:47 myotis30 dovecot: imap(<user>): Debug: acl: owner = 0 Feb 27 11:46:47 myotis30 dovecot: imap(<user>): Debug: acl vfile: Global ACL directory: (none) Feb 27 11:46:47 myotis30 dovecot: imap(<user>): Debug: Namespace : type=shared, prefix=shared.%u., sep=., inbox=no, hidden=no, list=children, subscriptions=no location=maildir:%h/Maildir:INDEX=~/Maildir/shared/%u Feb 27 11:46:47 myotis30 dovecot: imap(<user>): Debug: shared: root=/var/run/dovecot, index=, control=, inbox=, alt= Feb 27 11:46:47 myotis30 dovecot: imap(<user>): Debug: acl: initializing backend with data: vfile Feb 27 11:46:47 myotis30 dovecot: imap(<user>): Debug: acl: acl username = master Feb 27 11:46:47 myotis30 dovecot: imap(<user>): Debug: acl: owner = 0 Feb 27 11:46:47 myotis30 dovecot: imap(<user>): Debug: acl vfile: Global ACL directory: (none) Feb 27 11:46:50 myotis30 dovecot: imap(<user>): Debug: acl vfile: file /home/alumnos/46/113246/Maildir/dovecot-acl not found Feb 27 11:46:50 myotis30 dovecot: imap(<user>): Error: Failed to autocreate mailbox INBOX: Permission denied
This user, accesed directly, without master user, works perfectly, with
no problem, even with acl plugin.
Any idea?
-- Angel L. Mateo Martínez Sección de Telemática Área de Tecnologías de la Información y las Comunicaciones Aplicadas (ATICA) http://www.um.es/atica Tfo: 868889150 Fax: 868888337