<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">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 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 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></body></html>