[Dovecot] bug formatting results when using doveadm-server
Timo Sirainen
tss at iki.fi
Tue Oct 2 22:38:58 EEST 2012
On 26.9.2012, at 13.55, Angel L. Mateo wrote:
> doveadm search -S /var/run/dovecot/auth-userdb -u ${user} SAVEDSINCE 5w | while read guid uid; do
> doveadm fetch -S /var/run/dovecot/auth-userdb -u ${user} size.physical mailbox-guid $guid uid $uid;
> done
-S auth-userdb? You've named it completely wrong if that works :)
> The problem is that although when I run doveadm search command in the backend server I correctly get the list of mails, each line with the mailbox-guid and the uid of the message, when I run the same command in the director server, format of the list is corrupted and there are lines that contains just the mailbox-guid and the next the uid (of the previous) and the mailbox-guid of next, and so on. Like:
>
> e62e0d3834ed094e5c7900007efb8a67 66
> e62e0d3834ed094e5c7900007efb8a67 71
> e62e0d3834ed094e5c7900007efb8a67 74
> e62e0d3834ed094e5c7900007efb8a67
> 75 e62e0d3834ed094e5c7900007efb8a67
> 77 e62e0d3834ed094e5c7900007efb8a67
> 78 e62e0d3834ed094e5c7900007efb8a67
Thanks, fixed: http://hg.dovecot.org/dovecot-2.1/rev/94c7e875f9b9
More information about the dovecot
mailing list