[Dovecot] movming mail out of alt storage
I moved some mail into the alt storage:
doveadm altmove -u johnd@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'.
thanks! micah
--
On Wed, 2011-09-14 at 23:17 -0400, Micah Anderson wrote:
I moved some mail into the alt storage:
doveadm altmove -u johnd@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
Timo Sirainen tss@iki.fi writes:
On Wed, 2011-09-14 at 23:17 -0400, Micah Anderson wrote:
I moved some mail into the alt storage:
doveadm altmove -u johnd@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
On Thu, Sep 15, 2011 at 10:14 AM, Micah Anderson micah@riseup.net wrote:
Timo Sirainen tss@iki.fi writes:
On Wed, 2011-09-14 at 23:17 -0400, Micah Anderson wrote:
I moved some mail into the alt storage:
doveadm altmove -u johnd@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?
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@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.
On Sat, Jan 28, 2012 at 12:44 PM, Timo Sirainen tss@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@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!
participants (3)
-
Mark Moseley
-
Micah Anderson
-
Timo Sirainen