[Dovecot] moving mail out of alt storage
Timo Sirainen
tss at iki.fi
Sat Jan 28 22:44:45 EET 2012
On 12.1.2012, at 20.32, Mark Moseley wrote:
>>> On Wed, 2011-09-14 at 23:17 -0400, Micah Anderson wrote:
>>>> I moved some mail into the alt storage:
>>>>
>>>> doveadm altmove -u johnd at example.com seen savedbefore 1w
>>>>
>>>> and now I want to move it back to the regular INBOX, but I can't see how
>>>> I can do that with either 'altmove' or 'mailbox move'.
>>>
>>> Is this sdbox or mdbox? With sdbox you could simply "mv" the files. Or
>>> apply patch: http://hg.dovecot.org/dovecot-2.0/rev/1910c76a6cc9
>>
>> This is mdbox, which is why I am not sure how to operate because I am
>> used to individual files as is with maildir.
>>
>> micah
>>
>
> I'm curious about this too. Is moving the m.# file out of the ALT
> path's storage/ directory into the non-ALT storage/ directory
> sufficient? Or will that cause odd issues?
You can manually move m.* files to alt storage and back. Just make sure that the same file isn't being simultaneously modified by Dovecot or you'll corrupt it.
More information about the dovecot
mailing list