Convert from Maildir to Mdbox
Hi,
i'd like to convert from maildir to mdbox.
what would be the best way to do this?
i have read the dsync part of the dovecot wiki but i don't get what i have to use for my setup.
my dovecot.conf (the snippets i think would matter):
mail_gid = 5000 mail_home = /DATEN/vmail/%d/%n mail_location = maildir:/DATEN/vmail/%d/%n/mail/ mail_plugins = " zlib" mail_uid = 5000
Thanks for your input.
Juergen
11/08/15 13:35, J. Echter пишет:
Sometime, when I must converted many user's mailboxes from mbox to mdbox, I had have wrote one script to mass convert mailboxes for local or domain users and can provide it for you. It support mbox and maildir as source formats.
-- С Уважением. Ачилов Рашид Нурмухамедович (AchilovRN@granch.ru) Главный специалист по защите информации ООО НПФ "Гранч", тел: +7 (383) 233-35-12, доб. 107
14/08/15 23:33, J. Echter пишет:
http://www.sheltonsoft.ru/fileZ/other/convmbx.tar.bz2
When you converting maildir-based mail boxes, you must grant write access to anyone to root mailbox folder, elsewhere conveting failed (dsync runs in user access space). I.e. when your layout is /usr/folder/mailbox1, /usr/folder/mailbox2 etc. you must grant access to /usr/folder. Script detects user home directory and placed mail onto it.
commonlib.sh and colorprint.sh placed anywhere on PATH, /usr/bin is good place.
Message "INBOX exist..." you can safely ignored
-- С Уважением. Ачилов Рашид Нурмухамедович (AchilovRN@granch.ru) Главный специалист по защите информации ООО НПФ "Гранч", тел: +7 (383) 233-35-12, доб. 107
participants (2)
-
J. Echter
-
Ачилов Рашид Нурмухамед ович