Re: setting the seen flag?

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

 



On 27/04/10 14:28 -0500, Mike Eggleston wrote:
>Is there an easy to set the \Seen flag on all messages for a specific
>user. I would like something as easy as 'chmod -R -x $user' if that
>is possible.
>
>I'm not using murder, just a single, small 25-account setup.

As far as I know, that can only be done via protocol.

The following command should work for a given user's (e.g. jsmith) INBOX:

cat << EOF | imtest -a cyrus -w secret -u jsmith localhost
> a01 select INBOX
> a02 uid store 1:* +flags (\seen)
> a03 logout
> EOF

You'll need to have 'proxyservers: cyrus' set in imapd.conf.

-- 
Dan White
----
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