[Dovecot] [Q] A mix-up between /%d/%u/ and /%d/%n for virtual users
Timo Sirainen
tss at iki.fi
Tue Feb 22 10:53:49 EET 2011
On Mon, 2011-02-21 at 16:53 +0100, J4K wrote:
>
> As a result I have maildirs being created for both (e.g):
> /var/vmail/bigdomain.com/dirk at bigdomain.com
> /var/vmail/bigdomain.com/dirk
>
>
> The actual email is placed in
> /var/vmail/bigdomain.com/dirk at bigdomain.com, which I am happy with.
>
> I would liek to tidy up the configuration so that these extra maildirs
> are not created, without breaking everything. Would someone recommend
> what the best steps are? (other than reinstalling and starting from
> scratch - Its in production).
Write a script that moves all mails from %n to %u directory and then
deletes the %n directory. Stop Dovecot, run the script, start Dovecot.
More information about the dovecot
mailing list