Sieve for shared mailboxes
Alvin Starr
alvin at netvel.net
Fri Mar 18 07:29:08 EDT 2016
Sieve is run as part of the mail delivery into the mailbox.
That would either be deliver or the lmtp interface.
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.
On 03/18/2016 06:48 AM, Merlin Hartley via Info-cyrus wrote:
> Greetings
>
> 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.
>
> Of course, over-time more complexity is always required and I have
> recently implemented a few shared mailboxes (rather than just sharing
> user mailboxes).
> Inevitably, the users are now asking for an auto-reply to be
> configured for some of these shared mailboxes…
>
> 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...
>
> I have followed the instructions on this page:
> https://cyrusimap.org/imap/admin/sieve.html?highlight=sieve#managing-sieve-scripts
>
> But the last step doesn’t seem to do anything…
>
> So I have a few related questions:
>
> 1) how can I query a mailbox to read the flags set by mboxconfig?
> 2) has anyone got sieve working with shared mailboxes?
> 3) is it possible to invoke a sieveshell in the context of a shared
> mailbox?
>
> 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.
>
> Many thanks!
>
>
> Merlin
>
>
> P.S. Here is some relevant server info:
>
> [root at mercury merlin]# sieveshell -u cyrus -a cyrus localhost
> connecting to localhost
> Please enter your password:
> > list
> mbu_jobs <- active script
>
> [root at mercury ~]# ls /var/lib/imap/sieve/global/
> *defaultbc* mbu_jobs.bc mu_jobs.script
>
> [root at mercury ~]# cyrus-admin
> verify error:num=19:self signed certificate in certificate chain
> localhost> mboxconfig shared/mbujobs sieve mbu_jobs
> localhost>
>
> [root at mercury ~]# yum list cyrus-imapd
> Installed Packages
> cyrus-imapd.x86_64 2.5.0-4.9
> @cyrus-imapd_2.5.x
> (which is a Kolab repository I installed onto my CentOS 6 server)
>
> [root at mercury ~]# uname -a
> Linux mercury.mrc-mbu.cam.ac.uk <http://mercury.mrc-mbu.cam.ac.uk>
> 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
>
> --
> Merlin Hartley
> IT Systems Engineer
> MRC Mitochondrial Biology Unit
> Cambridge, CB2 0XY
> United Kingdom
>
>
>
> ----
> Cyrus Home Page: http://www.cyrusimap.org/
> List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/
> To Unsubscribe:
> https://lists.andrew.cmu.edu/mailman/listinfo/info-cyrus
--
Alvin Starr || voice: (905)513-7688
Netvel Inc. || Cell: (416)806-0133
alvin at netvel.net ||
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.andrew.cmu.edu/pipermail/info-cyrus/attachments/20160318/36f578eb/attachment.html>
More information about the Info-cyrus
mailing list