[Dovecot] Merge multiple doveadm commands
Can I merge these three commands into one?
doveadm expunge -u %s mailbox \"INBOX.Deleted Messages\" NOT NEW doveadm expunge -u %s mailbox INBOX.Trash NOT NEW doveadm expunge -u %s mailbox INBOX deleted
-- Ralf Hildebrandt Geschäftsbereich IT | Abteilung Netzwerk Charité - Universitätsmedizin Berlin Campus Benjamin Franklin Hindenburgdamm 30 | D-12203 Berlin Tel. +49 30 450 570 155 | Fax: +49 30 450 570 962 ralf.hildebrandt@charite.de | http://www.charite.de
On 31.8.2012, at 13.01, Ralf Hildebrandt wrote:
Can I merge these three commands into one?
doveadm expunge -u %s mailbox \"INBOX.Deleted Messages\" NOT NEW doveadm expunge -u %s mailbox INBOX.Trash NOT NEW doveadm expunge -u %s mailbox INBOX deleted
doveadm expunge -u %s \( mailbox \"INBOX.Deleted Messages\" NOT NEW \) or \( mailbox INBOX.Trash NOT NEW \) or \( mailbox INBOX deleted \)
(Does "new" actually work? I'm not sure if that's intentional, or simply a side effect of some IMAP behavior accidentally spilling over.. :)
participants (2)
-
Ralf Hildebrandt
-
Timo Sirainen