<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
Your use of the phrase "connected to all users" and, earlier,
"connected and subscribed", is confusing. Am I correct to assume
you mean the folder is "subscribed" by all users? There is no such
thing asa mailbox/folder being "connected" as a state. It may be
subscribed or not, it may be connected to, by a client, but
"connected" is not a static condition.<br>
<br>
Cyrus can support shared seen state, but it's also not clear, from
your messages, if you want shared seen state, or don't want it?
Just what are you trying to achieve?<br>
<br>
Also, which version of Cyrus are you using? Current is 3.0.8,
historic is 2.5.12, development is 3.1.X.<br>
<br>
The rule with user sieve scripts is that they may only act on that
user's mailboxes, not on shared mailboxes which one is subscribed
to. If you want to have new messages in a shared mailbox show as
new for each user, separately, then you need to disable shared
seen. This may be done on the mailbox level, using the cyradm(8)
command, with the mboxcfg subcommand:<br>
<blockquote>
<pre>localhost> <b>info office</b>
{office}:
private:
check: NIL
checkperiod: NIL
comment: NIL
sort: NIL
specialuse: NIL
thread: NIL
expire: NIL
news2mail: NIL
sieve: NIL
squat: NIL
shared:
check: NIL
checkperiod: NIL
comment: NIL
sort: NIL
specialuse: NIL
thread: NIL
annotsize: 0
duplicatedeliver: false
expire: NIL
lastpop: NIL
lastupdate: 31-Jul-2018 09:59:20 -0500
news2mail: NIL
partition: default
pop3newuidl: true
pop3showafter: NIL
<b> sharedseen: false</b>
sieve: NIL
size: 4101
squat: NIL
synccrcs: 1118531081 0
uniqueid: 4c8f66f0-9f6a-4fa1-b8bf-547afa1ec5e8
localhost> mboxcfg office sharedseen true
localhost> <b>info office</b>
{office}:
private:
check: NIL
checkperiod: NIL
comment: NIL
sort: NIL
specialuse: NIL
thread: NIL
expire: NIL
news2mail: NIL
sieve: NIL
squat: NIL
shared:
check: NIL
checkperiod: NIL
comment: NIL
sort: NIL
specialuse: NIL
thread: NIL
annotsize: 0
duplicatedeliver: false
expire: NIL
lastpop: NIL
lastupdate: 9-Oct-2018 10:09:19 -0500
news2mail: NIL
partition: default
pop3newuidl: true
pop3showafter: NIL
<b> sharedseen: true</b>
sieve: NIL
size: 4101
squat: NIL
synccrcs: 1118531081 0
uniqueid: 4c8f66f0-9f6a-4fa1-b8bf-547afa1ec5e8
</pre>
</blockquote>
Is that what you're trying to achieve, changing the setting of
Shared \Seen?<br>
<br>
Cheers,<br>
-nic<br>
<br>
<div class="moz-cite-prefix">On 10/09/2018 12:16 PM, kvaps wrote:<br>
</div>
<blockquote type="cite"
cite="mid:CAGO-sgMR7x2rzxBQDL1NNfoScXHHjX1wAcAO=QCzkEq9RjotSA@mail.gmail.com">
<pre wrap="">Hi, thanks for quick answer,
Yes, I know about shared folder sieves, but I have aniother case:
Eg I have some users:
<a class="moz-txt-link-abbreviated" href="mailto:user/user1@example.org">user/user1@example.org</a>
<a class="moz-txt-link-abbreviated" href="mailto:user/user2@example.org">user/user2@example.org</a>
<a class="moz-txt-link-abbreviated" href="mailto:user/user3@example.org">user/user3@example.org</a>
and shared folder
<a class="moz-txt-link-abbreviated" href="mailto:shared/test@example.org">shared/test@example.org</a>
This folder connected to all users and have no shared seen state.
I need to set seen flag automatically for user1, and keep second as unseen.
- kvaps
On Tue, Oct 9, 2018 at 1:08 PM Nic Bernstein <a class="moz-txt-link-rfc2396E" href="mailto:nic@onlight.com"><nic@onlight.com></a> wrote:
</pre>
<blockquote type="cite">
<pre wrap="">
Kvaps,
It is unclear from your message just where this "shared folder" is
rooted and where your sieve scripts are. Do you mean a folder which is
outside of the "user" name space? If so, you cannot manage message
delivery to this folder via user sieve scripts, but must use global
sieve scripts instead.
Please see the documentation here:
<a class="moz-txt-link-freetext" href="https://www.cyrusimap.org/imap/reference/admin/sieve.html#sieve-scripts-in-shared-folders">https://www.cyrusimap.org/imap/reference/admin/sieve.html#sieve-scripts-in-shared-folders</a>
I hope this is helpful information,
-nic
On 10/09/2018 11:57 AM, kvaps wrote:
</pre>
<blockquote type="cite">
<pre wrap="">Hello,
I have shared folder which connected and subscribed in my mailbox, it
is looks like normal subfolder., but my sieve scripts not handle mail
inside it.
I want to set seen flag for new messages inside this folder
automatically by sieve script.
Is it possible for configure sieve-script working for connected folders too?
- kvaps
----
Cyrus Home Page: <a class="moz-txt-link-freetext" href="http://www.cyrusimap.org/">http://www.cyrusimap.org/</a>
List Archives/Info: <a class="moz-txt-link-freetext" href="http://lists.andrew.cmu.edu/pipermail/info-cyrus/">http://lists.andrew.cmu.edu/pipermail/info-cyrus/</a>
To Unsubscribe:
<a class="moz-txt-link-freetext" href="https://lists.andrew.cmu.edu/mailman/listinfo/info-cyrus">https://lists.andrew.cmu.edu/mailman/listinfo/info-cyrus</a>
</pre>
</blockquote>
<pre wrap="">
--
Nic Bernstein <a class="moz-txt-link-abbreviated" href="mailto:nic@onlight.com">nic@onlight.com</a>
Onlight Inc. <a class="moz-txt-link-abbreviated" href="http://www.onlight.com">www.onlight.com</a>
6525 W Bluemound Rd., Ste 24 v. 414.272.4477
Milwaukee, Wisconsin 53213-4073 f. 414.290.0335
</pre>
</blockquote>
</blockquote>
<br>
<pre class="moz-signature" cols="72">--
Nic Bernstein <a class="moz-txt-link-abbreviated" href="mailto:nic@onlight.com">nic@onlight.com</a>
Onlight Inc. <a class="moz-txt-link-abbreviated" href="http://www.onlight.com">www.onlight.com</a>
6525 W Bluemound Rd., Ste 24 v. 414.272.4477
Milwaukee, Wisconsin 53213-4073 f. 414.290.0335
</pre>
</body>
</html>