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@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@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 =
-----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 Kaiser
As 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
Thanks, so how can i migrate this?
-----Ursprüngliche Nachricht----- Von: dovecot [mailto:dovecot-bounces@dovecot.org] Im Auftrag von Aki Tuomi Gesendet: Montag, 20. März 2017 12:07 An: dovecot@dovecot.org Betreff: Re: dovecot & iOS
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/.C ONTROL: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
As 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
The easiest way if you have only very few users is to just copy the files into correct place.
Aki
On 11.04.2017 12:04, Dirk Laurenz wrote:
Thanks, so how can i migrate this?
-----Ursprüngliche Nachricht----- Von: dovecot [mailto:dovecot-bounces@dovecot.org] Im Auftrag von Aki Tuomi Gesendet: Montag, 20. März 2017 12:07 An: dovecot@dovecot.org Betreff: Re: dovecot & iOS
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/.C ONTROL: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 As 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
On 20.03.2017 12:58, Steffen Kaiser wrote: 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
So stop dovecot, change setting, move files, start dovecot...?
-----Ursprüngliche Nachricht----- Von: dovecot [mailto:dovecot-bounces@dovecot.org] Im Auftrag von Aki Tuomi Gesendet: Dienstag, 11. April 2017 11:09 An: dovecot@dovecot.org Betreff: Re: AW: dovecot & iOS
The easiest way if you have only very few users is to just copy the files into correct place.
Aki
On 11.04.2017 12:04, Dirk Laurenz wrote:
Thanks, so how can i migrate this?
-----Ursprüngliche Nachricht----- Von: dovecot [mailto:dovecot-bounces@dovecot.org] Im Auftrag von Aki Tuomi Gesendet: Montag, 20. März 2017 12:07 An: dovecot@dovecot.org Betreff: Re: dovecot & iOS
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/. C ONTROL: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 As a general rule, it is a good idea to have separate Mailformat
On 20.03.2017 12:58, Steffen Kaiser wrote: 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
Hmm, i would change to:
mail_location = maildir:~/Maildir:INBOX=~/Maildir/Inbox:LAYOUT=fs:CONTROL=~/Maildata/.CONTRO L:INDEX=~/Maildata/.INDEX
so that i have mails in ~/Maildir and .CONTROL and .INDEX in ~/Maildata
-----Ursprüngliche Nachricht----- Von: dovecot [mailto:dovecot-bounces@dovecot.org] Im Auftrag von Aki Tuomi Gesendet: Dienstag, 11. April 2017 11:09 An: dovecot@dovecot.org Betreff: Re: AW: dovecot & iOS
The easiest way if you have only very few users is to just copy the files into correct place.
Aki
On 11.04.2017 12:04, Dirk Laurenz wrote:
Thanks, so how can i migrate this?
-----Ursprüngliche Nachricht----- Von: dovecot [mailto:dovecot-bounces@dovecot.org] Im Auftrag von Aki Tuomi Gesendet: Montag, 20. März 2017 12:07 An: dovecot@dovecot.org Betreff: Re: dovecot & iOS
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/. C ONTROL: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 As a general rule, it is a good idea to have separate Mailformat
On 20.03.2017 12:58, Steffen Kaiser wrote: 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
participants (3)
-
Aki Tuomi
-
Dirk Laurenz
-
Steffen Kaiser