[Dovecot] doveadm fetch LARGE attachments and remove message

Bradley Giesbrecht bradley.giesbrecht at gmail.com
Sun Jun 17 18:19:05 EEST 2012


Looking at the wiki and man pages I am unsure how to fetch email attachments from a unix shell.

I have an "doveadm search" that returns the messages that have the attachments I am after.

Would I loop through an "doveadm fetch" and use a commandline imap client to save the attachments and move the message to the Trash?

Or is there a doveadm command for this?

Regards,
Bradley Giesbrecht (pixilla)


More information about the dovecot mailing list