setting the seen flag?

Dan White dwhite at olp.net
Wed Apr 28 03:53:38 EDT 2010


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


More information about the Info-cyrus mailing list