[Dovecot] moving mail out of alt storage

Mark Moseley moseleymark at gmail.com
Tue Jan 31 03:24:12 EET 2012


On Sat, Jan 28, 2012 at 12:44 PM, Timo Sirainen <tss at iki.fi> wrote:
> 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.
>

Cool, good to know. Thanks!



More information about the dovecot mailing list