setting the seen flag?

Dan White dwhite at olp.net
Wed Apr 28 13:08:29 EDT 2010


On 28/04/10 09:43 -0500, Mike Eggleston wrote:
>cd /var/spool/imap
>find user/$user -type d -print | sed 's,/,.,g' | sed 's/^/"/' | sed 's/$/"/' | while read folder
>do
>	echo 1 select $folder > /tmp/c1
>	echo "2 uid store 1:* +flags (\seen)" >> /tmp/c1
>	echo 3 logout >> /tmp/c1
>	imtest -a cyrus -w $password -u ejsg localhost < /tmp/c1
>done
>
>I found no errors from the command's output, nor did I find any errors in
>/var/log/maillog, but the user says the message is still marked 'unread'
>by Outlook.

Is $user and ejsg the same user?

Be sure to pass the same user in the '-u xxx' option of the imtest command,
that you wish to set the seen changes for.

Cyrus uses per-user seen states (by default), so setting the \Seen flag for
user jane, when authorizing as ejsg, will not do what you want.

-- 
Dan White


More information about the Info-cyrus mailing list