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

IT geek 31
Sat, 19 Apr 2014 15:48:21 -0000

On 12 April 2014 18:35, IT geek 31 <itgeek31 at googlemail.com> wrote:

> 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.
>

Any takers?  I've had a scout around the Wiki and can't see an obvious
way.
 If someone knows it's not possible then please shout :-)

Many thanks,


-Mark