[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:
- extract message from mailbox A using "doveadm fetch"
- inject message into mailbox B using "dovecot-lda"
- 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... Sent from the Dovecot mailing list archive at Nabble.com.
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@kalinowski.com.br
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.
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... Sent from the Dovecot mailing list archive at Nabble.com.
participants (3)
-
Eduardo M KALINOWSKI
-
Timo Sirainen
-
Uffe Jakobsen