[Dovecot] APPEND bug in dovecot-20060628
Bill Boebel
bill at webmail.us
Fri Jun 30 01:11:42 EEST 2006
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;
}
}
size = st.st_size;
}
More information about the dovecot
mailing list