On Sun, 2006-12-03 at 10:07 +0100, John and Catherine Allen wrote:
I'm seeing a new behaviour with my Dovecot setup which has me puzzled.
I have a folder with 47000 spam messages, mostly small. There are 64 unread messages. This folder is not receiving new deliveries, it's part of my archive of spam.
If I do "mark folder read", the command appears to work, but a few minutes later there are still 64 unread messages. This behaviour has been consistent over many attempts in the past week.
You could check if the change ever even happened:
ls ~/Maildir/.spam/cur/|grep -v '.*:2,.*S'
(ie. if filename contains S it's seen)
If it shows that the files have never changed, you could check with strace what happens:
strace -p <imap process pid> 2>log grep rename log
My only guess is that the imap process doesn't have permissions to rename the files.
BTW. Please don't create new threads by replying to existing messages. It screws up threading since your message then contains In-Reply-To header.