Timo Sirainen wrote:
On Jun 24, 2008, at 7:31 PM, Amitai Schlair wrote:
Jun 24 12:22:13 chicken-ac dovecot: IMAP(schmonz): fdatasync_path(/home/schmonz/Maildir/.Trash/cur) failed: Bad file descriptor
What OS and filesystem do you use?
NetBSD 4.0, FFS with soft updates.
Jun 24 12:22:13 chicken-ac dovecot: Panic: IMAP(schmonz): file maildir-uidlist.c: line 1217 (maildir_uidlist_sync_update): assertion failed: (ctx->first_unwritten_pos != (unsigned int)-1)
Still shouldn't crash even if the fsync fails, I'll see about fixing that.
A workaround for now would be to se fsync_disable=yes
With the workaround, deleting works, and so copying sent messages to Sent will probably also work again (just about to find out :-).
Thanks for the quick response! If you need a fix tested, I can do that.
- Amitai