Hello List,
i have a working dovecot imap service running with multiple clients
running fine, even iOS.
What's anying is, that only on iOS ( ) i see a huge bunch of .CONTROL
directories - marked grey.
It seems to be a copy of the existing folder structure. I don't see this
on thunderbird, outlook or even roundcube.
Is there any chance to configure dovecot to hide those folders to iOS?
Here's some extended Information....
Attached: Screenshot from iOS, where you can see, what i mean
dovecot Version: 2.1.7
root at mail01:~# dovecot -n
# 2.1.7: /etc/dovecot/dovecot.conf
# OS: Linux 4.9.14+ armv6l Debian 7.11
lda_mailbox_autocreate = yes
listen = *
mail_location =
maildir:~/Maildir:INBOX=~/Maildir/Inbox:LAYOUT=fs:CONTROL=~/Maildir/.CONTROL:INDEX=~/Maildir/.INDEX
namespace {
inbox = yes
location mailbox {
special_use = \Drafts
name = Drafts
}
mailbox {
special_use = \Junk
name = Junk
}
mailbox {
special_use = \Sent
name = Sent
}
mailbox {
special_use = \Sent
name = Sent Messages
}
mailbox {
special_use = \Trash
name = Trash
}
prefix name = inbox
}
passdb {
driver = pam
}
plugin {
antispam_debug_target = syslog
antispam_signature = X-DSPAM-Signature
antispam_spam = SPAM
antispam_verbose_debug = 1
}
postmaster_address = postmaster at domain
protocols = " imap"
service replication-notify-fifo {
name = aggregator
}
service anvil-auth-penalty {
name = anvil
}
service auth-worker {
name = auth-worker
}
service auth-client {
name = auth
}
service config {
name = config
}
service dict {
name = dict
}
service login/proxy-notify {
name = director
}
service dns-client {
name = dns_client
}
service doveadm-server {
name = doveadm
}
service imap {
name = imap-login
}
service login/imap {
name = imap
}
service indexer-worker {
name = indexer-worker
}
service indexer {
name = indexer
}
service ipc {
name = ipc
}
service lmtp {
name = lmtp
}
service log-errors {
name = log
}
service pop3 {
name = pop3-login
}
service login/pop3 {
name = pop3
}
service replicator {
name = replicator
}
service login/ssl-params {
name = ssl-params
}
service stats-mail {
name = stats
}
ssl_cert = </etc/dovecot/fullchain.pem
ssl_key = </etc/dovecot/private/privkey.pem
userdb {
driver = passwd
}
protocol lmtp {
service replication-notify-fifo {
name = aggregator
}
service anvil-auth-penalty {
name = anvil
}
service auth-worker {
name = auth-worker
}
service auth-client {
name = auth
}
service config {
name = config
}
service dict {
name = dict
}
service login/proxy-notify {
name = director
}
service dns-client {
name = dns_client
}
service doveadm-server {
name = doveadm
}
service imap {
name = imap-login
}
service login/imap {
name = imap
}
service indexer-worker {
name = indexer-worker
}
service indexer {
name = indexer
}
service ipc {
name = ipc
}
service lmtp {
name = lmtp
}
service log-errors {
name = log
}
service pop3 {
name = pop3-login
}
service login/pop3 {
name = pop3
}
service replicator {
name = replicator
}
service login/ssl-params {
name = ssl-params
}
service stats-mail {
name = stats
}
}
protocol lda {
info_log_path = /var/log/dovecot-lda.log
log_path = /var/log/dovecot-lda.log
service replication-notify-fifo {
name = aggregator
}
service anvil-auth-penalty {
name = anvil
}
service auth-worker {
name = auth-worker
}
service auth-client {
name = auth
}
service config {
name = config
}
service dict {
name = dict
}
service login/proxy-notify {
name = director
}
service dns-client {
name = dns_client
}
service doveadm-server {
name = doveadm
}
service imap {
name = imap-login
}
service login/imap {
name = imap
}
service indexer-worker {
name = indexer-worker
}
service indexer {
name = indexer
}
service ipc {
name = ipc
}
service lmtp {
name = lmtp
}
service log-errors {
name = log
}
service pop3 {
name = pop3-login
}
service login/pop3 {
name = pop3
}
service replicator {
name = replicator
}
service login/ssl-params {
name = ssl-params
}
service stats-mail {
name = stats
}
}
protocol imap {
mail_plugins = antispam
service replication-notify-fifo {
name = aggregator
}
service anvil-auth-penalty {
name = anvil
}
service auth-worker {
name = auth-worker
}
service auth-client {
name = auth
}
service config {
name = config
}
service dict {
name = dict
}
service login/proxy-notify {
name = director
}
service dns-client {
name = dns_client
}
service doveadm-server {
name = doveadm
}
service imap {
name = imap-login
}
service login/imap {
name = imap
}
service indexer-worker {
name = indexer-worker
}
service indexer {
name = indexer
}
service ipc {
name = ipc
}
service lmtp {
name = lmtp
}
service log-errors {
name = log
}
service pop3 {
name = pop3-login
}
service login/pop3 {
name = pop3
}
service replicator {
name = replicator
}
service login/ssl-params {
name = ssl-params
}
service stats-mail {
name = stats
}
}
-------------- next part --------------
A non-text attachment was scrubbed...
Name: IMG_3690.PNG
Type: image/png
Size: 86117 bytes
Desc: not available
URL:
<http://dovecot.org/pipermail/dovecot/attachments/20170316/69143608/attachment-0001.png>
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Thu, 16 Mar 2017, Dirk Laurenz wrote:> What's anying is, that only on iOS ( ) i see a huge bunch of .CONTROL > directories - marked grey.> It seems to be a copy of the existing folder structure. I don't see this on(Y)> Is there any chance to configure dovecot to hide those folders to iOS?I suppose, the mail app under iOS does display all mailboxs, the other ones display subscribed ones only. Because:> mail_location = > maildir:~/Maildir:INBOX=~/Maildir/Inbox:LAYOUT=fs:CONTROL=~/Maildir/.CONTROL:INDEX=~/Maildir/.INDEX~/Maildir is your top mailbox directory. Then you add Inbox, control and indexes into the very same tree. Moreover control and index have names with a leading dot, which means "is a mailbox" in Maildir. Why did you places control and index into a different tree at all, if you place them into the mailbox storage anyway? Either move them to ~/[.]control and ~/[.]index (with or without leading dot) or remove the settings at all and join control and index with the existing hierarchie. - -- Steffen Kaiser -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQEVAwUBWM+153z1H7kL/d9rAQIR7ggAvaGVwFfRdgKwPsv/Tz+itLQNQs+li9KT cdb6oz/zR1dSh13cfaTXYfjpcFw23V3UlSapUvIfRLtFbKk1cSiw9IuxRDdfC3j3 kwnx9d21CrGGefzWwG0ToxXXUUnrJvIz1pJWp39wuQwhBZ9eq7PyvdaIHy5Q1Q22 ymDOaH2zK5WflmBBLeSDj4VF5ysiKGP4tvKiXmToLMu8GX89NpG46wwaKUN3JsIK yxa7r5+lKE71JyzTqlID+sB+KKQAi/djMBvzgQOcLTzY4CcAZYoAxNLr8jcIyxan WqMhX0h9bqyh46BYw7i3lu5iL2k2RBQ6V6C32kCy3mXCk4eaBR3G0A==wbvx -----END PGP SIGNATURE-----
On 20.03.2017 12:58, Steffen Kaiser wrote:> On Thu, 16 Mar 2017, Dirk Laurenz wrote: > > > What's anying is, that only on iOS ( ) i see a huge bunch of > .CONTROL directories - marked grey. > > > It seems to be a copy of the existing folder structure. I don't see > this on > > (Y) > > > Is there any chance to configure dovecot to hide those folders to iOS? > > I suppose, the mail app under iOS does display all mailboxs, the other > ones display subscribed ones only. > > Because: > > > mail_location > maildir:~/Maildir:INBOX=~/Maildir/Inbox:LAYOUT=fs:CONTROL=~/Maildir/.CONTROL:INDEX=~/Maildir/.INDEX > > ~/Maildir is your top mailbox directory. > Then you add Inbox, control and indexes into the very same tree. > Moreover control and index have names with a leading dot, which means > "is a mailbox" in Maildir. > > Why did you places control and index into a different tree at all, if > you place them into the mailbox storage anyway? > > Either move them to ~/[.]control and ~/[.]index (with or without > leading dot) or remove the settings at all and join control and index > with the existing hierarchie. > > -- Steffen KaiserAs a general rule, it is a good idea to have separate Mailformat directory (such as Maildir or Mail) under mail_home which contains only your Maildir, sdbox, mdbox whatever format files only, and keep control and index *OUT* of this directory. Same goes for sieve. This is because, as seen above, Maildir contents can be mistakenly interpreted as mail folders, causing problems. So avoid this: mail_home=/var/mail/%u mail_location=/var/mail/%u instead use mail_home=/var/mail/%u mail_location=Maildir:~/Maildir Aki