<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
Sieve is run as part of the mail delivery into the mailbox.<br>
That would either be deliver or the lmtp interface.<br>
<br>
If your users are dragging and dropping the messages into the shared
mailboxes then I don't believe that you can have sieve run on the
mbox to mbox transfer.<br>
<br>
<br>
<div class="moz-cite-prefix">On 03/18/2016 06:48 AM, Merlin Hartley
via Info-cyrus wrote:<br>
</div>
<blockquote
cite="mid:CC0CAD0F-8365-437E-AD84-5AAC1CEDBE2A@mrc-mbu.cam.ac.uk"
type="cite">
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252">
Greetings
<div class=""><br class="">
</div>
<div class="">I have been managing our mail domain on a cyrus-imap
(&exim) server since 2005 and it has always been great for
our ~150 users.</div>
<div class=""><br class="">
</div>
<div class="">Of course, over-time more complexity is always
required and I have recently implemented a few shared mailboxes
(rather than just sharing user mailboxes).</div>
<div class="">Inevitably, the users are now asking for an
auto-reply to be configured for some of these shared mailboxes…</div>
<div class=""><br class="">
</div>
<div class="">We are already using sieve scripts (managed with
Roundcubemail talking through the firewall to timsieved) so it
seems natural to use this technology here too...</div>
<div class=""><br class="">
</div>
<div class="">I have followed the instructions on this page:</div>
<div class=""><a moz-do-not-send="true"
href="https://cyrusimap.org/imap/admin/sieve.html?highlight=sieve#managing-sieve-scripts"
class="">https://cyrusimap.org/imap/admin/sieve.html?highlight=sieve#managing-sieve-scripts</a></div>
<div class=""><br class="">
</div>
<div class="">But the last step doesn’t seem to do anything…</div>
<div class=""><br class="">
</div>
<div class="">So I have a few related questions:</div>
<div class=""><br class="">
</div>
<div class="">1) how can I query a mailbox to read the flags set
by mboxconfig?</div>
<div class="">2) has anyone got sieve working with shared
mailboxes?</div>
<div class="">3) is it possible to invoke a sieveshell in the
context of a shared mailbox?</div>
<div class=""><br class="">
</div>
<div class="">I seem to have successfully created the global
scripts (a ‘global’ folder has appeared in the sievedir) - just
can’t seem to attach it to a shared mailbox.</div>
<div class=""><br class="">
</div>
<div class="">Many thanks!</div>
<div class=""><br class="">
</div>
<div class=""><br class="">
</div>
<div class="">Merlin</div>
<div class=""><br class="">
</div>
<div class=""><br class="">
</div>
<div class="">P.S. Here is some relevant server info:</div>
<div class=""><br class="">
</div>
<div class="">
<div class="">
<div class="" style="margin: 0px; font-size: 10px;
line-height: normal; font-family: Menlo;">[root@mercury
merlin]# sieveshell -u cyrus -a cyrus localhost</div>
<div class="" style="margin: 0px; font-size: 10px;
line-height: normal; font-family: Menlo;">connecting to
localhost</div>
<div class="" style="margin: 0px; font-size: 10px;
line-height: normal; font-family: Menlo;">Please enter your
password: </div>
<div class="" style="margin: 0px; font-size: 10px;
line-height: normal; font-family: Menlo;">> list</div>
<div class="" style="margin: 0px; font-size: 10px;
line-height: normal; font-family: Menlo;">mbu_jobs <-
active script</div>
</div>
<div class="" style="margin: 0px; font-size: 10px; line-height:
normal; font-family: Menlo;"><br class="">
</div>
<div class="" style="margin: 0px; font-size: 10px; line-height:
normal; font-family: Menlo;">
<div class="" style="margin: 0px; line-height: normal;">[root@mercury
~]# ls /var/lib/imap/sieve/global/</div>
<div class="" style="margin: 0px; line-height: normal;"><span
class="" style="color: rgb(52, 187, 199);"><b class="">defaultbc</b></span>
mbu_jobs.bc mu_jobs.script</div>
<div class="" style="margin: 0px; line-height: normal;"><br
class="">
</div>
<div class="" style="margin: 0px; line-height: normal;">
<div class="" style="margin: 0px; line-height: normal;">[root@mercury
~]# cyrus-admin </div>
<div class="" style="margin: 0px; line-height: normal;">verify
error:num=19:self signed certificate in certificate chain</div>
<div class="" style="margin: 0px; line-height: normal;">localhost>
mboxconfig shared/mbujobs sieve mbu_jobs</div>
<div class="" style="margin: 0px; line-height: normal;">localhost> </div>
<div class="" style="margin: 0px; line-height: normal;"><br
class="">
</div>
<div class="" style="margin: 0px; line-height: normal;">
<div style="margin: 0px; line-height: normal;" class="">[root@mercury
~]# yum list cyrus-imapd</div>
</div>
<div class="" style="margin: 0px; line-height: normal;">
<div style="margin: 0px; line-height: normal;" class="">Installed
Packages</div>
<div style="margin: 0px; line-height: normal;" class="">cyrus-imapd.x86_64
2.5.0-4.9
@cyrus-imapd_2.5.x</div>
<div class="">(which is a Kolab repository I installed
onto my CentOS 6 server)</div>
</div>
</div>
</div>
</div>
<div class=""><br class="">
</div>
<div class="">
<div style="margin: 0px; font-size: 10px; line-height: normal;
font-family: Menlo;" class="">[root@mercury ~]# uname -a</div>
<div style="margin: 0px; font-size: 10px; line-height: normal;
font-family: Menlo;" class="">Linux <a moz-do-not-send="true"
href="http://mercury.mrc-mbu.cam.ac.uk" class="">mercury.mrc-mbu.cam.ac.uk</a>
2.6.32-573.18.1.el6.x86_64 #1 SMP Tue Feb 9 22:46:17 UTC 2016
x86_64 x86_64 x86_64 GNU/Linux</div>
<div style="margin: 0px; font-size: 10px; line-height: normal;
font-family: Menlo;" class=""><br class="">
</div>
<div class="">
<div style="color: rgb(0, 0, 0); letter-spacing: normal;
orphans: auto; text-align: start; text-indent: 0px;
text-transform: none; white-space: normal; widows: auto;
word-spacing: 0px; -webkit-text-stroke-width: 0px;
word-wrap: break-word; -webkit-nbsp-mode: space;
-webkit-line-break: after-white-space;" class="">
<div style="color: rgb(0, 0, 0); letter-spacing: normal;
orphans: auto; text-align: start; text-indent: 0px;
text-transform: none; white-space: normal; widows: auto;
word-spacing: 0px; -webkit-text-stroke-width: 0px;
word-wrap: break-word; -webkit-nbsp-mode: space;
-webkit-line-break: after-white-space;" class="">--<br
class="">
Merlin Hartley<br class="">
IT Systems Engineer<br class="">
MRC Mitochondrial Biology Unit</div>
<div style="color: rgb(0, 0, 0); letter-spacing: normal;
orphans: auto; text-align: start; text-indent: 0px;
text-transform: none; white-space: normal; widows: auto;
word-spacing: 0px; -webkit-text-stroke-width: 0px;
word-wrap: break-word; -webkit-nbsp-mode: space;
-webkit-line-break: after-white-space;" class="">Cambridge,
CB2 0XY</div>
<div style="color: rgb(0, 0, 0); letter-spacing: normal;
orphans: auto; text-align: start; text-indent: 0px;
text-transform: none; white-space: normal; widows: auto;
word-spacing: 0px; -webkit-text-stroke-width: 0px;
word-wrap: break-word; -webkit-nbsp-mode: space;
-webkit-line-break: after-white-space;" class="">United
Kingdom</div>
</div>
</div>
<br class="">
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">----
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>
<br>
<pre class="moz-signature" cols="72">--
Alvin Starr || voice: (905)513-7688
Netvel Inc. || Cell: (416)806-0133
<a class="moz-txt-link-abbreviated" href="mailto:alvin@netvel.net">alvin@netvel.net</a> ||
</pre>
</body>
</html>