[Dovecot] doveadm fetch

Timo Sirainen tss at iki.fi
Fri Apr 30 16:19:49 EEST 2010


On Wed, 2010-04-21 at 09:26 +0200, Steffen Kaiser wrote:
> doveadm search INBOX from me at example.com | while read uid trail; do
>    doveadm fetch "$uid"
> done

This works now:

doveadm search from me at example.com | while read mailbox uid; do
  doveadm fetch text mailbox-guid $mailbox uid $uid > msg.$uid
done

also note how it supports searching/fetching from multiple mailboxes :)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part
Url : http://dovecot.org/pipermail/dovecot/attachments/20100430/5243a380/attachment.bin 


More information about the dovecot mailing list