Transitioning away from mail_location = maildir:~

Steffen Kaiser skdovecot at smail.inf.fh-brs.de
Mon Mar 6 12:46:53 UTC 2017


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Sat, 4 Mar 2017, Chris Stankevitz wrote:

> mail_home = /var/mail/vhosts/%d/%n
> mail_location = maildir:~/mail

the default for maildir-type would be ~/Maildir :-) that enables 
auto-detection as well.

> 1. Should I manually create the maildir:~/mail directories?
>
> 2. Should I move files from /var/mail/vhosts/%d/%n into maildir:~/mail? Which 
> files?  (In other words: which files are "home directory" files and which 
> files are "mail files"?)

> drwx------	.
> drwxr-xr-x	..
> drwx------	.Archives

any dir with dot at the beginning except . and ..

> drwx------	cur
> drwx------	new
> drwx------	tmp

these dirs hold the messages of the INBOX

> -rw-------	dovecot-keywords
> -rw-------	dovecot-uidlist
> -rw-------	dovecot-uidvalidity
> -r--r--r--	dovecot-uidvalidity.55411048
> -rw-------	dovecot.index
> -rw-------	dovecot.index.cache
> -rw-------	dovecot.index.log
> -rw-------	dovecot.mailbox.log
> -rw-------	subscriptions

make it:
dovecot.index* dovecot-uid*
You do not seem to use mailbox sharing or ACLs, those features would add 
some other entries.

===

These not! They belong to Sieve in home:

> lrwx------      .dovecot.sieve
> -rw-------      .dovecot.sieve.log
> -rw-------      .dovecot.sieve.log.0
> -rw-------      .dovecot.svbin
> drwx------	sieve

Keep any directory without leading dot (except cur, new,& tmp) in home as 
well.

- -- 
Steffen Kaiser
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQEVAwUBWL1aPXz1H7kL/d9rAQJO1Qf+LlWcW0yMVAYHurp4+LglYXmZiUiOpJl0
d/7K4pw0yiF0KMrvQaxxugkVJCvQoErWvCiNu9mld1dkg+zzNNBlunRVi/UiJweb
/Mp7tdmF7LQeDCdPnetqX9ASI2wr7TBtorOY/VWu+Haq98ZyLLbuhE/zz3CmF1gZ
80hdiOmsnzbakViIk37L0J9+gBZqbcHYQ2voey3UUw7cgd0yECGYCFJFuWK1X95a
qB8/nyMUiWAIySZT1jQirMpg21DFYY3qOqsD6VTXkMz0B5ZE4mxq2L7gTQ0Gs73u
m1v95QmLAKl8Y5cH7vuZivLt4ElIAAsTlL5Y7SHMkA7jIGjlhMUV3g==
=Hgrg
-----END PGP SIGNATURE-----


More information about the dovecot mailing list