Re: 10-ssl.conf: Unknown setting: ssl / debian 1:2.2.13-12~deb8u

2017-06-05 Thread Matthias Sitte
I have the feeling that the config file is incorrect and loading
subsequent files results in reading in entries at the wrong level?

Could you attach the full 10-master.conf?

Matthias


On 06/05/2017 09:30 AM, Sophie Loewenthal wrote:
> # doveconf -a 
> # 2.2.13: /etc/dovecot/dovecot.conf
> doveconf: Fatal: Error in configuration file /etc/dovecot/conf.d/10-ssl.conf 
> line 6: Unknown setting: ssl
> doveconf: Error: managesieve-login: dump-capability process returned 89
> doveconf: Fatal: Error in configuration file 
> /etc/dovecot/conf.d/10-master.conf line 35: Invalid size: $default_vsz_limit
>
>
> # grep default_vsz_limit /etc/dovecot/conf.d/10-master.conf
> default_vsz_limit = 128M
>   vsz_limit = $default_vsz_limit
> #  vsz_limit = $default_vsz_limit
>
>
>> On 5 Jun 2017, at 09:16, Aki Tuomi  wrote:
>>
>> Ok, and can you provide, as attachment, output of "doveconf -a"?
>>
>> Aki
>>
>> On 05.06.2017 10:08, Sophie Loewenthal wrote:
>>> Hi Aki,
>>>
>>> # dovecot --build-options
>>> Build options: ioloop=epoll notify=inotify ipv6 openssl io_block_size=8192
>>> Mail storages: shared mdbox sdbox maildir mbox cydir imapc pop3c raw fail
>>> SQL driver plugins: mysql postgresql sqlite
>>> Passdb: checkpassword ldap pam passwd passwd-file shadow sql
>>> Userdb: checkpassword ldap(plugin) nss passwd prefetch passwd-file sql
>>>
>>>
>>>
>>> --
>>>
>>> On June 5, 2017 8:59:08 AM CEST, Aki Tuomi  wrote:
 Can you provide output of

 dovecot --build-options

 Aki

 On 04.06.2017 12:10, Sophie Loewenthal wrote:
> Hi Stefan, 
>
> My apologies for the long delay.  Been ill. 
>
> I tried this and had an error,
>
>
> # mv /etc/dovecot/conf.d/10-ssl.conf
 /etc/dovecot/conf.d/10-ssl.conf.bak
> # cp -p  /usr/share/dovecot/conf.d/10-ssl.conf /etc/dovecot/conf.d/
> # /etc/init.d/dovecot restart
>
> /var/log/daemon.log
> Jun  4 11:05:55 mail systemd[1]: Starting Dovecot IMAP/POP3 email
 server...
> Jun  4 11:05:55 mail systemd[1]: Started Dovecot IMAP/POP3 email
 server.
> Jun  4 11:05:55 mail dovecot[969]: doveconf: Fatal: Error in
 configuration file /etc/dovecot/conf.d/10-ssl.conf line 6: Unknown
 setting: ssl
> Jun  4 11:05:55 mail dovecot[969]: doveconf: Error:
 managesieve-login: dump-capability process returned 89
> Jun  4 11:05:55 mail dovecot[969]: doveconf: Fatal: Error in
 configuration file /etc/dovecot/conf.d/10-ssl.conf line 6: Unknown
 setting: ssl
> Jun  4 11:05:55 mail systemd[1]: dovecot.service: main process
 exited, code=exited, status=89/n/a
> Jun  4 11:05:55 mail systemd[1]: Unit dovecot.service entered failed
 state.
>> On 18 May 2017, at 23:40, S. Kremer  wrote:
>>
>> Hi Sophie
>>
>> did you try the following steps?
>>
>> 1. rename /etc/dovecot/conf.d/10-ssl.conf to
>> /etc/dovecot/conf.d/10-ssl.conf.bak
>> 2. copy /usr/share/dovecot/conf.d/10-ssl.conf to
 /etc/dovecot/conf.d/
>> 3. restart dovecot
>>
>> what happens? start dovecot normally?
>>
>> if so
>>
>> make a new cert with /usr/share/dovecot/mkcert.sh
>>
>> and do changes in /etc/dovecot/conf.d/10-ssl.conf
>>
>> ssl = yes
>> ssl_cert = > ssl_key = >
>> then restart dovecot. What happens now?
>>
>>
>> Best regards
>> Stefan
>>
>>
>> Am 18.05.2017 um 22:01 schrieb Sophie Loewenthal:
>>> Hi,
>>>
>>>
>>> I've been trying to get dovecot2 running and kept having this error
 message:
>>> May 13 13:38:32 mail systemd[1]: Started Dovecot IMAP/POP3 email
 server.
>>> May 13 13:38:32 mail dovecot[2178]: doveconf: Fatal: Error in
 configuration file /etc/dovecot/conf.d/10-ssl.conf line 61: Unknown
 setting: ssl
>>> # dovecot --build-options
>>> Build options: ioloop=epoll notify=inotify ipv6 openssl
 io_block_size=8192
>>> Mail storages: shared mdbox sdbox maildir mbox cydir imapc pop3c
 raw fail
>>> SQL driver plugins: mysql postgresql sqlite
>>> Passdb: checkpassword ldap pam passwd passwd-file shadow sql
>>> Userdb: checkpassword ldap(plugin) nss passwd prefetch passwd-file
 sql
>>> # openssl version
>>> OpenSSL 1.0.1t  3 May 2016
>>>
>>> This package is from from Debian repos with version number
 1:2.2.13-12~deb8u amd64
>>> In case I had inadvertently entered some invisible charaters in
 10-ssl.conf, I deleted and typed this out. Not copy-pasted: 
>>> # >10-ssl.conf
>>> # cat 10-ssl.conf
>>> # echo 'ssl = required' >10-ssl.conf
>>> # echo 'ssl_key  = >10-ssl.conf
>>> # echo 'ssl_cert = >10-ssl.conf
>>>
>>> I’ve done usual searching online for a week and read some dox, but
 cannot see what I’ve missed out. 
>>> Any ideas? Please?
>>>
>>> Thanks,
>>> Sophie 
>>>


Re: 10-ssl.conf: Unknown setting: ssl / debian 1:2.2.13-12~deb8u

2017-06-05 Thread Matthias Sitte
Hi,

in line 17 of your 10-master.conf you enable the "imap-login" service,
but you fail to close the config section in line 36 ... :-)

That results in loading 10-ssl.conf and trying to apply the "ssl" option
to "imap-login" which of course doesn't apply here.

Best,

Matthias


On 06/05/2017 09:43 AM, Sophie Loewenthal wrote:
>
> Sophie 
> ( ͡° ͜ʖ ͡°)
>
>
>
>
>> On 5 Jun 2017, at 09:42, Matthias Sitte > <mailto:matth...@familie-sitte.org>> wrote:
>>
>> I have the feeling that the config file is incorrect and loading
>> subsequent files results in reading in entries at the wrong level?
>>
>> Could you attach the full 10-master.conf?
>>
>> Matthias
>>
>>
>> On 06/05/2017 09:30 AM, Sophie Loewenthal wrote:
>>> # doveconf -a
>>> # 2.2.13: /etc/dovecot/dovecot.conf
>>> doveconf: Fatal: Error in configuration file
>>> /etc/dovecot/conf.d/10-ssl.conf line 6: Unknown setting: ssl
>>> doveconf: Error: managesieve-login: dump-capability process returned 89
>>> doveconf: Fatal: Error in configuration file
>>> /etc/dovecot/conf.d/10-master.conf line 35: Invalid size:
>>> $default_vsz_limit
>>>
>>>
>>> # grep default_vsz_limit /etc/dovecot/conf.d/10-master.conf
>>> default_vsz_limit = 128M
>>>  vsz_limit = $default_vsz_limit
>>> #  vsz_limit = $default_vsz_limit
>>>
>>>
>>>> On 5 Jun 2017, at 09:16, Aki Tuomi >>> <mailto:aki.tu...@dovecot.fi>> wrote:
>>>>
>>>> Ok, and can you provide, as attachment, output of "doveconf -a"?
>>>>
>>>> Aki
>>>>
>>>> On 05.06.2017 10:08, Sophie Loewenthal wrote:
>>>>> Hi Aki,
>>>>>
>>>>> # dovecot --build-options
>>>>> Build options: ioloop=epoll notify=inotify ipv6 openssl
>>>>> io_block_size=8192
>>>>> Mail storages: shared mdbox sdbox maildir mbox cydir imapc pop3c
>>>>> raw fail
>>>>> SQL driver plugins: mysql postgresql sqlite
>>>>> Passdb: checkpassword ldap pam passwd passwd-file shadow sql
>>>>> Userdb: checkpassword ldap(plugin) nss passwd prefetch passwd-file sql
>>>>>
>>>>>
>>>>>
>>>>> --
>>>>>
>>>>> On June 5, 2017 8:59:08 AM CEST, Aki Tuomi >>>> <mailto:aki.tu...@dovecot.fi>> wrote:
>>>>>> Can you provide output of
>>>>>>
>>>>>> dovecot --build-options
>>>>>>
>>>>>> Aki
>>>>>>
>>>>>> On 04.06.2017 12:10, Sophie Loewenthal wrote:
>>>>>>> Hi Stefan,
>>>>>>>
>>>>>>> My apologies for the long delay.  Been ill.
>>>>>>>
>>>>>>> I tried this and had an error,
>>>>>>>
>>>>>>>
>>>>>>> # mv /etc/dovecot/conf.d/10-ssl.conf
>>>>>> /etc/dovecot/conf.d/10-ssl.conf.bak
>>>>>>> # cp -p  /usr/share/dovecot/conf.d/10-ssl.conf /etc/dovecot/conf.d/
>>>>>>> # /etc/init.d/dovecot restart
>>>>>>>
>>>>>>> /var/log/daemon.log
>>>>>>> Jun  4 11:05:55 mail systemd[1]: Starting Dovecot IMAP/POP3 email
>>>>>> server...
>>>>>>> Jun  4 11:05:55 mail systemd[1]: Started Dovecot IMAP/POP3 email
>>>>>> server.
>>>>>>> Jun  4 11:05:55 mail dovecot[969]: doveconf: Fatal: Error in
>>>>>> configuration file /etc/dovecot/conf.d/10-ssl.conf line 6: Unknown
>>>>>> setting: ssl
>>>>>>> Jun  4 11:05:55 mail dovecot[969]: doveconf: Error:
>>>>>> managesieve-login: dump-capability process returned 89
>>>>>>> Jun  4 11:05:55 mail dovecot[969]: doveconf: Fatal: Error in
>>>>>> configuration file /etc/dovecot/conf.d/10-ssl.conf line 6: Unknown
>>>>>> setting: ssl
>>>>>>> Jun  4 11:05:55 mail systemd[1]: dovecot.service: main process
>>>>>> exited, code=exited, status=89/n/a
>>>>>>> Jun  4 11:05:55 mail systemd[1]: Unit dovecot.service entered failed
>>>>>> state.
>>>>>>>> On 18 May 2017, at 23:40, S. Kremer >>>>>>> <mailto:s...@gmx.de>> wrote:
>>>>>>>>
>>>>>>>> Hi Sophie
>>>&g

Re: 10-ssl.conf: Unknown setting: ssl / debian 1:2.2.13-12~deb8u

2017-06-05 Thread Matthias Sitte
Aki,

is it possible to have doveconf print the current section upon error?
Like, change the following error message

May 13 13:38:32 mail dovecot[2178]: doveconf: Fatal: Error in
configuration file /etc/dovecot/conf.d/10-ssl.conf line 61: Unknown
setting: ssl

to something like

May 13 13:38:32 mail dovecot[2178]: doveconf: Fatal: Error in
configuration file /etc/dovecot/conf.d/10-ssl.conf line 61: Unknown
setting: ssl (in config section "imap-login")

That would have made it a bit easier to spot the misconfiguration.

Best,
Matthias

On 06/05/2017 09:51 AM, Aki Tuomi wrote:
> Can you create file /etc/dovecot/conf.d/10-ssl.conf
>
> and type in 'ssl = yes'
>
> and nothing else? does it work after this? leave the default_vsz_limit
> off for now.
>
> Aki
>
>
> On 05.06.2017 10:34, Aki Tuomi wrote:
>> Can you remove the offending settings, and then send it?
>>
>> Aki
>>
>>
>> On 05.06.2017 10:30, Sophie Loewenthal wrote:
>>> # doveconf -a 
>>> # 2.2.13: /etc/dovecot/dovecot.conf
>>> doveconf: Fatal: Error in configuration file
>>> /etc/dovecot/conf.d/10-ssl.conf line 6: Unknown setting: ssl
>>> doveconf: Error: managesieve-login: dump-capability process returned 89
>>> doveconf: Fatal: Error in configuration file
>>> /etc/dovecot/conf.d/10-master.conf line 35: Invalid size:
>>> $default_vsz_limit
>>>
>>>
>>> # grep default_vsz_limit /etc/dovecot/conf.d/10-master.conf
>>> default_vsz_limit = 128M
>>>   vsz_limit = $default_vsz_limit
>>> #  vsz_limit = $default_vsz_limit
>>>
>>>
 On 5 Jun 2017, at 09:16, Aki Tuomi >>> > wrote:

 Ok, and can you provide, as attachment, output of "doveconf -a"?

 Aki

 On 05.06.2017 10:08, Sophie Loewenthal wrote:
> Hi Aki,
>
> # dovecot --build-options
> Build options: ioloop=epoll notify=inotify ipv6 openssl
> io_block_size=8192
> Mail storages: shared mdbox sdbox maildir mbox cydir imapc pop3c raw
> fail
> SQL driver plugins: mysql postgresql sqlite
> Passdb: checkpassword ldap pam passwd passwd-file shadow sql
> Userdb: checkpassword ldap(plugin) nss passwd prefetch passwd-file sql
>
>
>
> --
>
> On June 5, 2017 8:59:08 AM CEST, Aki Tuomi  > wrote:
>> Can you provide output of
>>
>> dovecot --build-options
>>
>> Aki
>>
>> On 04.06.2017 12:10, Sophie Loewenthal wrote:
>>> Hi Stefan,
>>>
>>> My apologies for the long delay.  Been ill.
>>>
>>> I tried this and had an error,
>>>
>>>
>>> # mv /etc/dovecot/conf.d/10-ssl.conf
>> /etc/dovecot/conf.d/10-ssl.conf.bak
>>> # cp -p  /usr/share/dovecot/conf.d/10-ssl.conf /etc/dovecot/conf.d/
>>> # /etc/init.d/dovecot restart
>>>
>>> /var/log/daemon.log
>>> Jun  4 11:05:55 mail systemd[1]: Starting Dovecot IMAP/POP3 email
>> server...
>>> Jun  4 11:05:55 mail systemd[1]: Started Dovecot IMAP/POP3 email
>> server.
>>> Jun  4 11:05:55 mail dovecot[969]: doveconf: Fatal: Error in
>> configuration file /etc/dovecot/conf.d/10-ssl.conf line 6: Unknown
>> setting: ssl
>>> Jun  4 11:05:55 mail dovecot[969]: doveconf: Error:
>> managesieve-login: dump-capability process returned 89
>>> Jun  4 11:05:55 mail dovecot[969]: doveconf: Fatal: Error in
>> configuration file /etc/dovecot/conf.d/10-ssl.conf line 6: Unknown
>> setting: ssl
>>> Jun  4 11:05:55 mail systemd[1]: dovecot.service: main process
>> exited, code=exited, status=89/n/a
>>> Jun  4 11:05:55 mail systemd[1]: Unit dovecot.service entered failed
>> state.
 On 18 May 2017, at 23:40, S. Kremer >>> > wrote:

 Hi Sophie

 did you try the following steps?

 1. rename /etc/dovecot/conf.d/10-ssl.conf to
 /etc/dovecot/conf.d/10-ssl.conf.bak
 2. copy /usr/share/dovecot/conf.d/10-ssl.conf to
>> /etc/dovecot/conf.d/
 3. restart dovecot

 what happens? start dovecot normally?

 if so

 make a new cert with /usr/share/dovecot/mkcert.sh

 and do changes in /etc/dovecot/conf.d/10-ssl.conf

 ssl = yes
 ssl_cert = >>> ssl_key = >>>
 then restart dovecot. What happens now?


 Best regards
 Stefan


 Am 18.05.2017 um 22:01 schrieb Sophie Loewenthal:
> Hi,
>
>
> I've been trying to get dovecot2 running and kept having this error
>> message:
> May 13 13:38:32 mail systemd[1]: Started Dovecot IMAP/POP3 email
>> server.
> May 13 13:38:32 mail dovecot[2178]: doveconf: Fatal: Error in
>> configuration file /etc/dovecot/conf.d/10-ssl.conf line 61: Unknown
>> setting: ssl
> # dovecot --build-options
> Build options: ioloop=epoll notify=inotify ipv6 openssl
>> io_block_size=8192
>

INBOX subfolders not showing up

2014-07-31 Thread Matthias Sitte

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 = postmas...@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 = 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 = 

Re: INBOX subfolders not showing up

2014-08-03 Thread Dr. Matthias Sitte
Well, I created a test user to check what kind of permissions Dovecot
gives (after reading the docs I was kinda confused a bit). Except for
the INBOX folder (which had some group/other read flags) everything was
the same. I've corrected that. Folders created with Thunderbird (24.5)
now show up, but I have to restart it. Well, I can live with that.

On the other hand, the logs don't show anything unusual, no immediate
warnings or errors about permissions.

I'm still confused about it. I remember vaguely that it worked with the
previous major version of Dovecot before upgrading to Wheezy...

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 = postmas...@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 = > 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 = > 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: matth...@familie-sitte.org
1003 Justin Lanematthias.si...@gmail.com
Apt. 1037   matthias.si...@gmx.de
Austin, TX 78757-2644
UNITED STATES OF AMERICA


Re: INBOX subfolders not showing up

2014-08-03 Thread Dr. Matthias Sitte
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 = postmas...@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 = > 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 = > 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: matth...@familie-sitte.org
1003 Justin Lanematthias.si...@gmail.com
Apt. 1037   matthias.si...@gmx.de
Austin, TX 78757-2644
UNITED STATES OF AMERICA


[SOLVED] Re: INBOX subfolders not showing up

2014-08-16 Thread Dr. Matthias Sitte
Marking this issue as solved. Solution is below.

  Matthias

On 08/03/2014 08:01 PM, Dr. Matthias Sitte wrote:
> 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 = postmas...@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 = >> 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 = >> 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"
>>> }
>>
>