Uffe Jakobsen
2011-Apr-21 04:25 UTC
[Dovecot] What is the recommended way to delete a message from a mailbox ?
Hi, I'm implementing a shell-script (pseudo) solution to the missing IMAP Outbox feature in Dovecot (Courier IMAP feature http://www.inter7.com/courierimap/INSTALL.html#imapsend) In order to remove the message from the Outbox once it is sent I have a question: What is the recommended way to delete a message from a mailbox (from an "external" server side program - such as a shell script) ? Can I just remove the file from the mailbox - I cannot seem to find any doveadm commands that does this task. I guess that Dovecot over time will discover that the atime and mtime of its indexes and maps does not reflect reality - or is there another (better) way to delete a message. Thanks Uffe -- View this message in context: http://old.nabble.com/What-is-the-recommended-way-to-delete-a-message-from-a-mailbox---tp31446701p31446701.html Sent from the Dovecot mailing list archive at Nabble.com.
andrew at sybaweb.com
2011-Apr-22 12:20 UTC
[Dovecot] What is the recommended way to delete a message from a mailbox ?
On Wed, 20 Apr 2011 21:25:39 -0700 (PDT), Uffe Jakobsen wrote:> What is the recommended way to delete a message from a mailbox (from > an > "external" server side program - such as a shell script) ?doveadm expunge -u foo mailbox Outbox header message-id bar
Uffe Jakobsen
2011-Apr-27 15:10 UTC
[Dovecot] What is the recommended way to delete a message from a mailbox ?
Andrew Lewis-10 wrote:> > On Wed, 20 Apr 2011 21:25:39 -0700 (PDT), Uffe Jakobsen wrote: >> What is the recommended way to delete a message from a mailbox (from >> an >> "external" server side program - such as a shell script) ? > doveadm expunge -u foo mailbox Outbox header message-id bar >ah - thx :-) -- View this message in context: http://old.nabble.com/What-is-the-recommended-way-to-delete-a-message-from-a-mailbox---tp31446701p31488306.html Sent from the Dovecot mailing list archive at Nabble.com.
Reasonably Related Threads
- 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 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
- courier-imap to dovecot-imap migration: missing TLS_TRUSTCERTS feature