Re: setting the seen flag?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, 28 Apr 2010, Dan White might have said:

> 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.

I just realized that error. The names $user and ejsg are the same. The
imtest command is setting the \Seen flags for user 'cyrus' not user
'ejsg'. I'm writing a simple cgi-bin program so the users can reset
their own \Seen flags. I'll post it as soon as I'm done.

Mike
----
Cyrus Home Page: http://cyrusimap.web.cmu.edu/
Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html


[Index of Archives]     [Cyrus SASL]     [Squirrel Mail]     [Asterisk PBX]     [Video For Linux]     [Photo]     [Yosemite News]     [gtk]     [KDE]     [Gimp on Windows]     [Steve's Art]

  Powered by Linux