[Dovecot] convert to mdbox
blevi.linux at gmail.com
Tue Jul 23 10:50:57 EEST 2013
On 23/07/2013 10:44, Robert Schetterer wrote:
> Am 23.07.2013 09:08, schrieb Birta Levente:
>> How can I convert all virtual mailboxes from maildir to mdbox? Manually,
>> one by one, working, but I have a lot ...
>> Virtual users and domains stored in sql database.
>> Thats what I want:
>> mail_location = maildir:/var/vmail/%d/%n/Maildir
>> mail_location = mdbox:/var/vmail/%d/%n/mdbox
> dsync should do it , but be aware from dsync bugs in some versions
> do heavy testing before doing something live, for many users do i.e with
> bash script
> export your users from sql to a file, or use live query
> for i in `cat user.lst`
> dsync .....
I thought dsync can do natively, just I don't figure out how.
I use the latest 2.2.4 dovecot, so I hope there was no problem.
> for avoid acl and quota problems
> dsync -o plugin/acl= -o plugin/quota= -u ....
Thanks for the hint.
> perhaps look at
> be aware of, if use zlib plugin all backup mails get compressed too
> Best Regards
> MfG Robert Schetterer
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 3889 bytes
Desc: S/MIME Cryptographic Signature
More information about the dovecot