[Dovecot] APPEND bug in dovecot-20060628

Timo Sirainen tss at iki.fi
Sat Jul 1 20:54:46 EEST 2006


On Thu, 2006-06-29 at 18:11 -0400, Bill Boebel wrote:
> Timo,
> 
> > >I'm running maildir quotas with rc1 (dovecot-20060628) and get the
> > >following when trying to APPEND:
> > >"NO Unknown error"
> > >System logs show:
> > >Quota: Couldn't get new message's size
> > >
> > >.... and the file isn't there (unknown if Dovecot removed it, or if the
> > >lack of the file is the cause of the error).
> > 
> > I am seeing this problem as well.  Running this morning's CVS.
> 
> It is hitting this condition on line 229 of src/lib-storage/index/maildir/maildir-mail.c, in function maildir_mail_get_physical_size():
> 
>        /* size can be included in filename */
>         if (!maildir_filename_get_size(fname, MAILDIR_EXTRA_FILE_SIZE, &size)) {
>                 if (_mail->uid != 0) {
>                         if (maildir_file_do(mbox, _mail->uid,
>                                             do_stat, &st) <= 0) {
>                                 return (uoff_t)-1;
>                         }
>                 } else {
>                         /* saved mail which hasn't been committed yet */
>                         if (do_stat(mbox, fname, &st) <= 0) {
> >> line 229 >>>>>>              return (uoff_t)-1;

Right. Fix here:

http://dovecot.org/list/dovecot-cvs/2006-July/006006.html

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 191 bytes
Desc: This is a digitally signed message part
Url : http://dovecot.org/pipermail/dovecot/attachments/20060701/65980c14/attachment.pgp


More information about the dovecot mailing list