Uffe Jakobsen
2011-Apr-27 15:09 UTC
[Dovecot] What is the recommended way to move a message from one mailbox to another using CLI
What is the recommended way to move a message from one mailbox to another using CLI - serverside commands ? Since IMAP does not support transactional moves between mailboxes - The only thing that comes to my mind is this operation: 1) extract message from mailbox A using "doveadm fetch" 2) inject message into mailbox B using "dovecot-lda" 3) expunge message from mailbox A using "doveadm expunge" it this the right solution ? One problem with above approach is that injecting through "dovecot-lda" will trigger the sieve script - which I'm not interested in since the message have already been injected and processed once before - at delivery... Any advice is much welcome -- View this message in context: http://old.nabble.com/What-is-the-recommended-way-to-move-a-message-from-one-mailbox-to-another-using-CLI-tp31488298p31488298.html Sent from the Dovecot mailing list archive at Nabble.com.
Eduardo M KALINOWSKI
2011-Apr-27 15:41 UTC
[Dovecot] What is the recommended way to move a message from one mailbox to another using CLI
On Qua, 27 Abr 2011, Uffe Jakobsen wrote:> What is the recommended way to move a message from one mailbox to another > using CLI - serverside commands ?If you are using maildir, you can just mv the file. -- BOFH excuse #392: It's union rules. There's nothing we can do about it. Sorry. Eduardo M KALINOWSKI eduardo at kalinowski.com.br
Timo Sirainen
2011-Apr-27 15:43 UTC
[Dovecot] What is the recommended way to move a message from one mailbox to another using CLI
On 27.4.2011, at 18.09, Uffe Jakobsen wrote:> What is the recommended way to move a message from one mailbox to another > using CLI - serverside commands ?v2.0.12 has doveadm move command.
Uffe Jakobsen
2011-Apr-27 17:55 UTC
[Dovecot] What is the recommended way to move a message from one mailbox to another using CLI
Timo Sirainen wrote:> > On 27.4.2011, at 18.09, Uffe Jakobsen wrote: > >> What is the recommended way to move a message from one mailbox to another >> using CLI - serverside commands ? > > v2.0.12 has doveadm move command. > >Damn I'm stuck on 2.0.11 until the FreeBSD port comes through... What would be the recommended approach on 2.0.11 ? Thanks in advance -- View this message in context: http://old.nabble.com/What-is-the-recommended-way-to-move-a-message-from-one-mailbox-to-another-using-CLI-tp31488298p31489620.html Sent from the Dovecot mailing list archive at Nabble.com.
Reasonably Related Threads
- What is the recommended way to move a message from one mailbox to another using CLI
- What is the recommended way to delete a message from a mailbox ?
- What is the recommended way to delete a message from a mailbox ?
- What is the recommended way to delete a message from a mailbox ?
- courier-imap to dovecot-imap migration: missing TLS_TRUSTCERTS feature