[Dovecot] Seen flag in maildir filename not being respected
Eduardo M KALINOWSKI
eduardo at kalinowski.com.br
Thu Jul 31 00:43:38 EEST 2008
I'm using dovecot 1.1.2 (but I've noticed this since 1.1.1 which I
was using until yesterday). It seems dovecot is ignoring the "S" flag in
Maildir filenames, and is relying only in its Index Files to determine
if a message has been read or not.
I say that because if I delete the dovecot.index.* files for a mail
folder, all the mails in there appear as unread. Also, I've tried
accessing the maildir directly (using heirloom-mailx, but mutt should
have done, too) and reading a new message. The file name was changed to
add a "S" to the end, but this message was still marked as "unread" when
the mail folder was accessed via IMAP.
The flags R, F and T are correctly read from the filename if no
index is present. I haven't tested the other flags.
I'm using dovecot's deliver, and it creates filenames such as
is, perfectly fine.
# 1.1.2: /etc/dovecot/dovecot.conf
log_timestamp: %Y-%m-%d %H:%M:%S
mail_plugins: quota imap_quota zlib
mechanisms: plain login cram-md5
args: username_format=%n /home/vmail/%d/db/passwd
args: uid=104 gid=8 home=/home/vmail/%d/%n
More information about the dovecot