[Dovecot] Empty file in maildirs
I am cleaning up some old users, and found that in every maildir folder there is an empty file called maildirfolder, created at the time the original dovecot was installed.
Is this empty file necessary for dovecot, or is it left there in an upgrade proces and can it be removed?
Dovecot 2.1.7, on Debian wheezy.
-- Roel Wagenaar,
Linux-User #469851 with the Linux Counter; http://linuxcounter.net/
Antw.: Omdat het de volgorde verstoord waarin mensen tekst lezen. Vraag: Waarom is top-posting een slechte gewoonte? Antw.: Top-posting. Vraag: Wat is het meest ergerlijke in e-mail?
If we aren't supposed to eat amimals, why are they made with meat?
On 20.5.2013, at 11.29, Roel Wagenaar roel@wagenaar.nu wrote:
I am cleaning up some old users, and found that in every maildir folder there is an empty file called maildirfolder, created at the time the original dovecot was installed.
Is this empty file necessary for dovecot, or is it left there in an upgrade proces and can it be removed?
It's defined by Maildir++ specs. They're used by maildrop and maybe some other Maildir++ tools that need to update the maildirsize quota file. Dovecot itself doesn't care about if they exist or not, but it does create them whenever you create a new folder, so you can't really get rid of them completely.
participants (2)
-
Roel Wagenaar
-
Timo Sirainen