Hello, My Dovecot Master can login but not not select INBOX ! What's wrong ? best regards Luda 1) USER can select INBOX: OK --------------------------------------------------- telnet localhost imap Trying ::1... Connected to localhost. Escape character is '^]'. * OK [CAPABILITY IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ID ENABLE IDLE STARTTLS AUTH=CRAM-MD5 AUTH=DIGEST-MD5 AUTH=GSSAPI AUTH=PLAIN AUTH=LOGIN] Dovecot ready. a login test1 password a OK [CAPABILITY IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ID ENABLE IDLE SORT SORT=DISPLAY THREAD=REFERENCES THREAD=REFS THREAD=ORDEREDSUBJECT MULTIAPPEND URL-PARTIAL CATENATE UNSELECT CHILDREN NAMESPACE UIDPLUS LIST-EXTENDED I18NLEVEL=1 CONDSTORE QRESYNC ESEARCH ESORT SEARCHRES WITHIN CONTEXT=SEARCH LIST-STATUS BINARY MOVE SEARCH=FUZZY SPECIAL-USE COMPRESS=DEFLATE QUOTA ACL RIGHTS=texk] Logged in b select INBOX * FLAGS (\Answered \Flagged \Deleted \Seen \Draft) * OK [PERMANENTFLAGS (\Answered \Flagged \Deleted \Seen \Draft \*)] Flags permitted. * 5 EXISTS * 0 RECENT * OK [UNSEEN 1] First unseen. * OK [UIDVALIDITY 1328091893] UIDs valid * OK [UIDNEXT 6] Predicted next UID * OK [HIGHESTMODSEQ 11] Highest b OK [READ-WRITE] Select completed (0.000 + 0.000 secs). c logout * BYE Logging out c OK Logout completed. Connection closed by foreign host. 2) MASTER-USER can't select INBOX: ! --------------------------------------------------- admins$ telnet localhost imap Trying ::1... Connected to localhost. Escape character is '^]'. * OK [CAPABILITY IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ID ENABLE IDLE STARTTLS AUTH=CRAM-MD5 AUTH=DIGEST-MD5 AUTH=GSSAPI AUTH=PLAIN AUTH=LOGIN] Dovecot ready. a login test1*mailmaster password a OK [CAPABILITY IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ID ENABLE IDLE SORT SORT=DISPLAY THREAD=REFERENCES THREAD=REFS THREAD=ORDEREDSUBJECT MULTIAPPEND URL-PARTIAL CATENATE UNSELECT CHILDREN NAMESPACE UIDPLUS LIST-EXTENDED I18NLEVEL=1 CONDSTORE QRESYNC ESEARCH ESORT SEARCHRES WITHIN CONTEXT=SEARCH LIST-STATUS BINARY MOVE SEARCH=FUZZY SPECIAL-USE COMPRESS=DEFLATE QUOTA ACL RIGHTS=texk] Logged in b select INBOX b NO [SERVERBUG] Internal error occurred. Refer to server log for more information. [2019-04-09 08:20:46] (0.000 + 0.000 secs). c logout * BYE Logging out c OK Logout completed. Connection closed by foreign host. ---------------------------------------- An the Server Error log says: Apr 09 00:05:40 imap(pid 62335 user test1): Error: Opening INBOX failed: Mailbox doesn't exist: INBOX ---------------------------------------- admins$ doveconf -n # 2.2.24 (a82c823): /Library/Server/Mail/Config/dovecot/dovecot.conf # OS: Darwin 16.7.0 x86_64 hfs auth_master_user_separator = * auth_mechanisms = cram-md5 digest-md5 gssapi plain login apop auth_realms = xserver.mydomain.ch auth_socket_path = /var/run/dovecot/auth-userdb auth_username_format = %n debug_log_path = /Library/Logs/Mail/mail-debug.log default_internal_user = _dovecot default_login_user = _dovenull disable_plaintext_auth = no first_valid_gid = 6 first_valid_uid = 6 imap_id_log = * imap_id_send = "name" * "version" * imap_urlauth_submit_user = submit info_log_path = /Library/Logs/Mail/mail-info.log log_path = /Library/Logs/Mail/mail-err.log login_log_format_elements = user=<%u> method=%m rip=%r lip=%l mpid=%e %c mail_access_groups = mail mail_attribute_dict = file:/Library/Server/Mail/Data/attributes/attributes.dict mail_location = maildir:/Library/Server/Mail/Data/mail/%u mail_log_prefix = "%s(pid %p user %u): " mail_plugins = quota zlib acl fts fts_sk managesieve_notify_capability = mailto managesieve_sieve_capability = fileinto reject envelope encoded-character vacation subaddress comparator-i;ascii-numeric relational regex imap4flags copy include variables body enotify environment mailbox date ihave mdbox_rotate_size = 200 M namespace acl-mailboxes { list = children location = maildir:/Library/Server/Mail/Data/mail/users/%%u:INDEX=/Library/Server/Mail/Data/mail/shared/%%u prefix = shared.%%u. separator = . subscriptions = no type = shared } namespace inbox { inbox = yes location = mailbox "Deleted Messages" { special_use = \Trash } mailbox Drafts { special_use = \Drafts } mailbox Junk { special_use = \Junk } mailbox Sent { special_use = \Sent } mailbox "Sent Messages" { special_use = \Sent } mailbox Trash { special_use = \Trash } prefix = } namespace list-archives { list = children location = maildir:/Library/Server/Mail/Data/listserver/messages/archive/lists/%%u:INDEX=/Library/Server/Mail/Data/listserver/messages/archive/shared/%%u prefix = archives.%%u. separator = . subscriptions = no type = shared } passdb { args = /Library/Server/Mail/Config/dovecot/master-users driver = passwd-file master = yes pass = yes } passdb { driver = od } passdb { args = /Library/Server/Mail/Config/dovecot/submit.passdb driver = passwd-file } plugin { acl = vfile:/Library/Server/Mail/Config/dovecot/global-acls:cache_secs=300 acl_shared_dict = file:/Library/Server/Mail/Data/shared/shared-mailboxes fts = sk quota = maildir:User quota quota_warning = storage=100%% quota-exceeded %u quota_warning2 = storage=80%% quota-warning %u sieve = /Library/Server/Mail/Data/rules/%u/dovecot.sieve sieve_dir = /Library/Server/Mail/Data/rules/%u stats_refresh = 30 secs stats_track_cmds = yes } postmaster_address = postmaster at xserver.myserver.ch protocols = imap pop3 lmtp sieve quota_full_tempfail = yes service auth { idle_kill = 15 mins unix_listener auth-userdb { user = _dovecot } } service dns_client { unix_listener dns-client { mode = 0600 } } service imap-login { inet_listener imap { port = 143 } inet_listener imaps { port = 993 ssl = yes } service_count = 0 } service imap { client_limit = 5 process_limit = 200 service_count = 0 } service indexer-worker { user = _dovecot } service lmtp { unix_listener lmtp { mode = 0600 } } service managesieve-login { inet_listener sieve { port = 4190 } } service pop3-login { inet_listener pop3 { port = 110 } inet_listener pop3s { port = 995 ssl = yes } } service pop3 { client_limit = 5 process_limit = 200 service_count = 0 } service quota-exceeded { executable = script /Applications/Server.app/Contents/ServerRoot/usr/libexec/dovecot/quota-exceeded.sh unix_listener quota-exceeded { group = mail mode = 0660 user = _dovecot } user = _dovecot } service quota-warning { executable = script /Applications/Server.app/Contents/ServerRoot/usr/libexec/dovecot/quota-warning.sh unix_listener quota-warning { group = mail mode = 0660 user = _dovecot } user = _dovecot } service stats { fifo_listener stats-mail { mode = 0600 user = _dovecot } } ssl = required ssl_ca = </etc/certificates/myserver.ch.A9FFFFB4B4C0E4CA959917BC2F60BDECBC414D35.chain.pem ssl_cert = </etc/certificates/myserver.ch.A9FFFFB4B4C0E4CA959917BC2F60BDECBC414D35.cert.pem ssl_cipher_list = ALL:!LOW:!SSLv2:!EXP:!aNULL:!ADH:!eNULL ssl_key = </etc/certificates/myserver.ch.A9FFFFB4B4C0E4CA959917BC2F60BDECBC414D35.key.pem ssl_key_path = /etc/certificates/myserver.ch.A9FFFFB4B4C0E4CA959917BC2F60BDECBC414D35.key.pem ssl_protocols = !SSLv2 !SSLv3 userdb { args = partition=/Library/Server/Mail/Config/dovecot/partition_map.conf global_quota=0 enforce_quotas=yes driver = od } userdb { args = /Library/Server/Mail/Config/dovecot/submit.passdb driver = passwd-file } verbose_proctitle = yes protocol lmtp { mail_plugins = quota zlib acl fts fts_sk sieve } protocol lda { mail_plugins = quota zlib acl fts fts_sk sieve } protocol imap { mail_max_userip_connections = 20 mail_plugins = quota zlib acl fts fts_sk imap_acl imap_quota imap_zlib } protocol pop3 { mail_max_userip_connections = 6 }
On 9.4.2019 9.41, Ludwig Wieland via dovecot wrote:> Hello, > > My Dovecot Master can login but not not select INBOX ! > What's wrong ? > > best regards > Luda > > > > 1) USER can select INBOX: OK > --------------------------------------------------- > telnet localhost imap > Trying ::1... > Connected to localhost. > Escape character is '^]'. > * OK [CAPABILITY IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ID ENABLE IDLE STARTTLS AUTH=CRAM-MD5 AUTH=DIGEST-MD5 AUTH=GSSAPI AUTH=PLAIN AUTH=LOGIN] Dovecot ready. > a login test1 password > a OK [CAPABILITY IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ID ENABLE IDLE SORT SORT=DISPLAY THREAD=REFERENCES THREAD=REFS THREAD=ORDEREDSUBJECT MULTIAPPEND URL-PARTIAL CATENATE UNSELECT CHILDREN NAMESPACE UIDPLUS LIST-EXTENDED I18NLEVEL=1 CONDSTORE QRESYNC ESEARCH ESORT SEARCHRES WITHIN CONTEXT=SEARCH LIST-STATUS BINARY MOVE SEARCH=FUZZY SPECIAL-USE COMPRESS=DEFLATE QUOTA ACL RIGHTS=texk] Logged in > b select INBOX > * FLAGS (\Answered \Flagged \Deleted \Seen \Draft) > * OK [PERMANENTFLAGS (\Answered \Flagged \Deleted \Seen \Draft \*)] Flags permitted. > * 5 EXISTS > * 0 RECENT > * OK [UNSEEN 1] First unseen. > * OK [UIDVALIDITY 1328091893] UIDs valid > * OK [UIDNEXT 6] Predicted next UID > * OK [HIGHESTMODSEQ 11] Highest > b OK [READ-WRITE] Select completed (0.000 + 0.000 secs). > c logout > * BYE Logging out > c OK Logout completed. > Connection closed by foreign host. > > 2) MASTER-USER can't select INBOX: ! > --------------------------------------------------- > admins$ telnet localhost imap > Trying ::1... > Connected to localhost. > Escape character is '^]'. > * OK [CAPABILITY IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ID ENABLE IDLE STARTTLS AUTH=CRAM-MD5 AUTH=DIGEST-MD5 AUTH=GSSAPI AUTH=PLAIN AUTH=LOGIN] Dovecot ready. > a login test1*mailmaster password > a OK [CAPABILITY IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ID ENABLE IDLE SORT SORT=DISPLAY THREAD=REFERENCES THREAD=REFS THREAD=ORDEREDSUBJECT MULTIAPPEND URL-PARTIAL CATENATE UNSELECT CHILDREN NAMESPACE UIDPLUS LIST-EXTENDED I18NLEVEL=1 CONDSTORE QRESYNC ESEARCH ESORT SEARCHRES WITHIN CONTEXT=SEARCH LIST-STATUS BINARY MOVE SEARCH=FUZZY SPECIAL-USE COMPRESS=DEFLATE QUOTA ACL RIGHTS=texk] Logged in > b select INBOX > b NO [SERVERBUG] Internal error occurred. Refer to server log for more information. [2019-04-09 08:20:46] (0.000 + 0.000 secs). > c logout > * BYE Logging out > c OK Logout completed. > Connection closed by foreign host. > > ---------------------------------------- > An the Server Error log says: > Apr 09 00:05:40 imap(pid 62335 user test1): Error: Opening INBOX failed: Mailbox doesn't exist: INBOX > ----------------------------------------Can you turn on mail_debug=yes, restart dovecot, try again and post the logs? Aki
. My debug: Apr 09 09:13:20 imap(pid 82675 user test1): Debug: acl vfile: file /Library/Server/Mail/Config/dovecot/global-acls/INBOX not found Apr 09 09:13:20 imap(pid 82675 user test1): Debug: acl vfile: file /Library/Server/Mail/Data/mail/EB83247B-1A33-4A43-AD30-E6453789072A/dovecot-acl not found Apr 09 09:13:20 imap(pid 82675 user test1): Debug: acl vfile: file /Library/Server/Mail/Config/dovecot/global-acls//.DEFAULT not found A Apr 09 09:13:06 imap(pid 82675 user test1): Debug: Added userdb setting: mail=maildir:/Library/Server/Mail/Data/mail/EB83247B-1A33-4A43-AD30-E6453789072A Apr 09 09:13:06 imap(pid 82675 user test1): Debug: Added userdb setting: mail_location=maildir:/Library/Server/Mail/Data/mail/EB83247B-1A33-4A43-AD30-E6453789072A Apr 09 09:13:06 imap(pid 82675 user test1): Debug: Added userdb setting: plugin/master_user=mailmaster Apr 09 09:13:06 imap(pid 82675 user test1): Debug: Added userdb setting: plugin/quota=maildir:User quota Apr 09 09:13:06 imap(pid 82675 user test1): Debug: Added userdb setting: plugin/quota_rule=*:storage=5120 Apr 09 09:13:06 imap(pid 82675 user test1): Debug: Added userdb setting: plugin/sieve=/Library/Server/Mail/Data/rules/EB83247B-1A33-4A43-AD30-E6453789072A/dovecot.sieve Apr 09 09:13:06 imap(pid 82675 user test1): Debug: Added userdb setting: plugin/sieve_dir=/Library/Server/Mail/Data/rules/EB83247B-1A33-4A43-AD30-E6453789072A Apr 09 09:13:06 imap(pid 82675 user test1): Debug: Added userdb setting: plugin/sieve_storage=/Library/Server/Mail/Data/rules/EB83247B-1A33-4A43-AD30-E6453789072A Apr 09 09:13:06 imap(pid 82675 user test1): Debug: Effective uid=214, gid=6, homeApr 09 09:13:06 imap(pid 82675 user test1): Debug: Quota root: name=User quota backend=maildir argsApr 09 09:13:06 imap(pid 82675 user test1): Debug: Quota rule: root=User quota mailbox=* bytes=5242880 messages=0 Apr 09 09:13:06 imap(pid 82675 user test1): Debug: Quota warning: bytes=5242880 (100%) messages=0 reverse=no command=quota-exceeded test1 Apr 09 09:13:06 imap(pid 82675 user test1): Debug: Quota warning: bytes=4194304 (80%) messages=0 reverse=no command=quota-warning test1 Apr 09 09:13:06 imap(pid 82675 user test1): Debug: Quota grace: root=User quota bytes=524288 (10%) Apr 09 09:13:06 imap(pid 82675 user test1): Debug: Namespace inbox: type=private, prefix=, sep=, inbox=yes, hidden=no, list=yes, subscriptions=yes location=maildir:/Library/Server/Mail/Data/mail/EB83247B-1A33-4A43-AD30-E6453789072A Apr 09 09:13:06 imap(pid 82675 user test1): Debug: maildir++: root=/Library/Server/Mail/Data/mail/EB83247B-1A33-4A43-AD30-E6453789072A, index=, indexpvt=, control=, inbox=/Library/Server/Mail/Data/mail/EB83247B-1A33-4A43-AD30-E6453789072A, altApr 09 09:13:06 imap(pid 82675 user test1): Debug: acl: initializing backend with data: vfile:/Library/Server/Mail/Config/dovecot/global-acls:cache_secs=300 Apr 09 09:13:06 imap(pid 82675 user test1): Debug: acl: acl username = mailmaster Apr 09 09:13:06 imap(pid 82675 user test1): Debug: acl: owner = 0 Apr 09 09:13:06 imap(pid 82675 user test1): Debug: acl vfile: Global ACL legacy directory: /Library/Server/Mail/Config/dovecot/global-acls Apr 09 09:13:06 imap(pid 82675 user test1): Debug: Namespace acl-mailboxes: type=shared, prefix=shared.%u., sep=., inbox=no, hidden=no, list=children, subscriptions=no location=maildir:/Library/Server/Mail/Data/mail/users/%u:INDEX=/Library/Server/Mail/Data/mail/shared/%u Apr 09 09:13:06 imap(pid 82675 user test1): Debug: shared: root=/var/run/dovecot, index=, indexpvt=, control=, inbox=, altApr 09 09:13:06 imap(pid 82675 user test1): Debug: acl: initializing backend with data: vfile:/Library/Server/Mail/Config/dovecot/global-acls:cache_secs=300 Apr 09 09:13:06 imap(pid 82675 user test1): Debug: acl: acl username = mailmaster Apr 09 09:13:06 imap(pid 82675 user test1): Debug: acl: owner = 0 Apr 09 09:13:06 imap(pid 82675 user test1): Debug: acl vfile: Global ACL legacy directory: /Library/Server/Mail/Config/dovecot/global-acls Apr 09 09:13:06 imap(pid 82675 user test1): Debug: Namespace list-archives: type=shared, prefix=archives.%u., sep=., inbox=no, hidden=no, list=children, subscriptions=no location=maildir:/Library/Server/Mail/Data/listserver/messages/archive/lists/%u:INDEX=/Library/Server/Mail/Data/listserver/messages/archive/shared/%u Apr 09 09:13:06 imap(pid 82675 user test1): Debug: shared: root=/var/run/dovecot, index=, indexpvt=, control=, inbox=, altApr 09 09:13:06 imap(pid 82675 user test1): Debug: acl: initializing backend with data: vfile:/Library/Server/Mail/Config/dovecot/global-acls:cache_secs=300 Apr 09 09:13:06 imap(pid 82675 user test1): Debug: acl: acl username = mailmaster Apr 09 09:13:06 imap(pid 82675 user test1): Debug: acl: owner = 0 Apr 09 09:13:06 imap(pid 82675 user test1): Debug: acl vfile: Global ACL legacy directory: /Library/Server/Mail/Config/dovecot/global-acls Apr 09 09:13:06 imap(pid 82675 user test1): Debug: fts: Indexes disabled for namespace 'shared.' Apr 09 09:13:06 imap(pid 82675 user test1): Debug: fts: Indexes disabled for namespace 'archives.'> Am 09.04.2019 um 08:43 schrieb Aki Tuomi <aki.tuomi at open-xchange.com>: > > > On 9.4.2019 9.41, Ludwig Wieland via dovecot wrote: >> Hello, >> >> My Dovecot Master can login but not not select INBOX ! >> What's wrong ? >> >> best regards >> Luda >> >> >> >> 1) USER can select INBOX: OK >> --------------------------------------------------- >> telnet localhost imap >> Trying ::1... >> Connected to localhost. >> Escape character is '^]'. >> * OK [CAPABILITY IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ID ENABLE IDLE STARTTLS AUTH=CRAM-MD5 AUTH=DIGEST-MD5 AUTH=GSSAPI AUTH=PLAIN AUTH=LOGIN] Dovecot ready. >> a login test1 password >> a OK [CAPABILITY IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ID ENABLE IDLE SORT SORT=DISPLAY THREAD=REFERENCES THREAD=REFS THREAD=ORDEREDSUBJECT MULTIAPPEND URL-PARTIAL CATENATE UNSELECT CHILDREN NAMESPACE UIDPLUS LIST-EXTENDED I18NLEVEL=1 CONDSTORE QRESYNC ESEARCH ESORT SEARCHRES WITHIN CONTEXT=SEARCH LIST-STATUS BINARY MOVE SEARCH=FUZZY SPECIAL-USE COMPRESS=DEFLATE QUOTA ACL RIGHTS=texk] Logged in >> b select INBOX >> * FLAGS (\Answered \Flagged \Deleted \Seen \Draft) >> * OK [PERMANENTFLAGS (\Answered \Flagged \Deleted \Seen \Draft \*)] Flags permitted. >> * 5 EXISTS >> * 0 RECENT >> * OK [UNSEEN 1] First unseen. >> * OK [UIDVALIDITY 1328091893] UIDs valid >> * OK [UIDNEXT 6] Predicted next UID >> * OK [HIGHESTMODSEQ 11] Highest >> b OK [READ-WRITE] Select completed (0.000 + 0.000 secs). >> c logout >> * BYE Logging out >> c OK Logout completed. >> Connection closed by foreign host. >> >> 2) MASTER-USER can't select INBOX: ! >> --------------------------------------------------- >> admins$ telnet localhost imap >> Trying ::1... >> Connected to localhost. >> Escape character is '^]'. >> * OK [CAPABILITY IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ID ENABLE IDLE STARTTLS AUTH=CRAM-MD5 AUTH=DIGEST-MD5 AUTH=GSSAPI AUTH=PLAIN AUTH=LOGIN] Dovecot ready. >> a login test1*mailmaster password >> a OK [CAPABILITY IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ID ENABLE IDLE SORT SORT=DISPLAY THREAD=REFERENCES THREAD=REFS THREAD=ORDEREDSUBJECT MULTIAPPEND URL-PARTIAL CATENATE UNSELECT CHILDREN NAMESPACE UIDPLUS LIST-EXTENDED I18NLEVEL=1 CONDSTORE QRESYNC ESEARCH ESORT SEARCHRES WITHIN CONTEXT=SEARCH LIST-STATUS BINARY MOVE SEARCH=FUZZY SPECIAL-USE COMPRESS=DEFLATE QUOTA ACL RIGHTS=texk] Logged in >> b select INBOX >> b NO [SERVERBUG] Internal error occurred. Refer to server log for more information. [2019-04-09 08:20:46] (0.000 + 0.000 secs). >> c logout >> * BYE Logging out >> c OK Logout completed. >> Connection closed by foreign host. >> >> ---------------------------------------- >> An the Server Error log says: >> Apr 09 00:05:40 imap(pid 62335 user test1): Error: Opening INBOX failed: Mailbox doesn't exist: INBOX >> ---------------------------------------- > > Can you turn on mail_debug=yes, restart dovecot, try again and post the > logs? > > Aki-------------- next part -------------- An HTML attachment was scrubbed... URL: <https://dovecot.org/pipermail/dovecot/attachments/20190409/57e7a494/attachment-0001.html>