INBOX subfolders not showing up

Dr. Matthias Sitte matthias at familie-sitte.org
Mon Aug 4 01:01:08 UTC 2014


Ok, just googled some more and came across this post [1]. It's basically
a very similar to mine, and describes the same problem that INBOX has no
subfolders. So, I've logged in with telnet to list the INBOX subfolders
as well:

=== SNIP ===
2 list "" INBOX
* LIST (\HasNoChildren) "/" "INBOX"
2 OK List completed.
=== SNAP ===

Duh. But everything else shows up:

=== SNIP ===

4 list "" "*"
[...]
* LIST (\HasChildren) "/" "Archives"
[...]
4 OK List completed.
=== SNAP ===

So, what just happened? According to [1], there's a bug in lib-storage
with LAYOUT=fs and non-mbox maildir format [2]. Is that correct? I have
to assume that it's not fixed in Debian's packaged version 2.1.7, right?

Can someone confirm that?



[1]
http://dovecot.2317879.n4.nabble.com/Subfolders-of-Inbox-with-LAYOUT-fs-td43659.html
[2] http://hg.dovecot.org/dovecot-2.1/rev/589d2f485a6e



On 08/02/2014 01:37 PM, Tim wrote:
> I came across something like this recently and it turned out it was a
> permissions issue on a users maildir/ folder. Check that - took me hours
> to figure it out and 2 secs to fix. Have you also checked your logs to
> see if there are any errors?
> 
> On 31/07/14 16:23, Matthias Sitte wrote:
>> Hi,
>>
>> I have a problem with INBOX subfolders and subscriptions which I can't
>> solve... Maybe somebody has seen this, too...
>>
>> I can create regular subfolders (not in INBOX) and (un-)subscribe to
>> them with Thunderbird.  If I create subfolders in the INBOX with TB
>> this seems to work now in v31 (just found this out), but with v24.6
>> neither INBOX subfolder creation nor subscriptions worked.  When I
>> modified the `subscriptions' file manually on the server, the folders
>> would show up in TB, though.
>>
>> Maybe this was a TB bug, but quite similarly INBOX subfolders don't
>> show up on iPhones (iOS up-to-date), but all other subfolders do.
>>
>> Any ideas what's going on?
>>
>> Best,
>>   Matthias
>>
>> ======================================================================
>>
>> # dovecot -n
>> # 2.1.7: /etc/dovecot/dovecot.conf
>> # OS: Linux 3.2.0-4-amd64 x86_64 Debian 7.6 ext4
>> hostname = familie-sitte.org
>> log_path = /var/log/dovecot.log
>> log_timestamp = "%Y-%m-%d %H:%M:%S "
>> mail_location = maildir:/srv/mail/%d/%n/Maildir:LAYOUT=fs
>> 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
>> namespace inbox {
>>   inbox = yes
>>   list = yes
>>   location =
>>   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 =
>>   separator = /
>>   subscriptions = yes
>>   type = private
>> }
>> passdb {
>>   args = /etc/dovecot/dovecot-sql.conf.ext
>>   driver = sql
>> }
>> plugin {
>>   quota = maildir:User quota
>>   quota_warning = storage=95%% quota-warning 95 %u
>>   quota_warning2 = storage=80%% quota-warning 80 %u
>>   sieve = ~/.dovecot.sieve
>>   sieve_dir = ~/sieve
>> }
>> postmaster_address = postmaster at familie-sitte.org
>> protocols = " imap sieve pop3"
>> service auth {
>>   unix_listener /var/spool/postfix/private/auth {
>>     group = postfix
>>     mode = 0660
>>     user = postfix
>>   }
>> }
>> service imap-login {
>>   inet_listener imaps {
>>     port = 993
>>     ssl = yes
>>   }
>> }
>> service managesieve-login {
>>   inet_listener sieve {
>>     port = 4190
>>   }
>> }
>> service quota-warning {
>>   executable = script /usr/local/bin/quota-warning.sh
>>   unix_listener quota-warning {
>>     user = vmail
>>   }
>>   user = dovecot
>> }
>> ssl_cert = </etc/dovecot/ssl/mail_cert.pem
>> ssl_cipher_list =
>> SSDH+ECDSA+AESGCM:EECDH+aRSA+AESGCM:EECDH+ECDSA+SHA256:EECDH+aRSA+RC4:EDH+aRSA:EECDH:RC4:!aNULL:!eNULL:!LOW:!3DES:!MD5:!EXP:!PSK:!SRP:!DSS
>>
>> ssl_key = </etc/dovecot/ssl/mail_key.pem
>> userdb {
>>   args = uid=vmail gid=vmail home=/srv/mail/%d/%n
>>   driver = static
>> }
>> protocol lda {
>>   mail_plugins = " quota sieve"
>> }
>> protocol imap {
>>   mail_plugins = " imap_quota quota"
>> }
> 

-- 
Dr. Matthias Sitte                   Email: matthias at familie-sitte.org
1003 Justin Lane                            matthias.sitte at gmail.com
Apt. 1037                                   matthias.sitte at gmx.de
Austin, TX 78757-2644
UNITED STATES OF AMERICA


More information about the dovecot mailing list