Hi! ? I have several mbox files (unstructured, only the big?plain mbox?files) and I would like to integrate/read these mbox files into mdbox subfolders of specific users.? This is a production system and I don't want to disturb running services and I am a bit afraid of not using the right command and maybe destroying (or whatever) their mailboxes.? I am sure it is pretty easy.? Can someone please tell me the correct dsync command line that I should use to read each mbox file?(one-way)?into the specific folder of the?mdbox folder structure of a specific user? ? Thanks a lot, -lutzn ?
On 4/20/2013 12:03 PM, lutz.niederer at gmx.net wrote:> I have several mbox files (unstructured, only the big plain mbox files) and I would like to integrate/read these mbox files into mdbox subfolders of specific users. This is a production system and I don't want to disturb running services and I am a bit afraid of not using the right command and maybe destroying (or whatever) their mailboxes. I am sure it is pretty easy. Can someone please tell me the correct dsync command line that I should use to read each mbox file (one-way) into the specific folder of the mdbox folder structure of a specific user?More information about the nature of these mbox files, and how they are or will be used, would be helpful. Is there a reason you don't/won't/can't simply create a new namespace, instead of copying the contents from the mbox files into users' mdbox files? -- Stan
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Sat, 20 Apr 2013, lutz.niederer at gmx.net wrote:> I have several mbox files (unstructured, only the big?plain mbox?files) > and I would like to integrate/read these mbox files into mdbox > subfolders of specific users.? This is a production system and I don't > want to disturb running services and I am a bit afraid of not using the > right command and maybe destroying (or whatever) their mailboxes.? I am > sure it is pretty easy.? Can someone please tell me the correct dsync > command line that I should use to read each mbox file?(one-way)?into the > specific folder of the?mdbox folder structure of a specific user?what Dovecot version do you have? doveadm help import might do what you want. - -- Steffen Kaiser -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) iQEVAwUBUXaAdF3r2wJMiz2NAQLuaAf+P3B81+32fQ/35n+Vt8lWQWo1jCdAyhPB qP837o3FMwbYhOBxF99VLZDLrB09SQE6s/677QW5yTuFZnWIyWZRRYRWYPXXKCzv qaPp1LoNX+YrdR14eaq1knh4XpF3S9bvd/cb1pPVP3s0yggzLiKcyTeSzamugvFl AlFgRcDYEK+GKqwOV6w5Mg47wb0yKEFYQkWY6x5rtqTY5/XaqsvcGPBNw89U4h2w xUJcPx+lT3nI500M5IbikY1sr1rPv2XJRrngFlBbaf/hNFuFFf4H1WhKO3H06I7F miXmTs2h9u8N1ysRq/uqCZGEc2gkg1gaTGke5hMa5b53D9AvB8rZGA==KPWK -----END PGP SIGNATURE-----