[Dovecot] Quick win... command to remove all attachments from an Inbox

IT geek 31
Sat, 12 Apr 2014 16:35:03 -0000

Good evening all,

Does anyone know of a doveadm command I can use to remove (delete) all
attachments from an mdbox Inbox?

I prefer to save my attachments and have a sleek Inbox... but sometimes I
forget.  A command I can feed into a cron job would be ideal.

Many thanks,


-Mark