We don't use shared mailboxes or non-user sieve at all at FastMail, so it gets less testing than most things. I'd love to have contributions of good test cases to Cassandane from someone who knows exactly how this should work so we can make sieve good for the shared case too.
It's somewhat tricky now that FastMail is sponsoring the bulk of Cyrus work, obviously the stuff we use gets the most love!
Cheers,
Bron.
On Fri, Mar 18, 2016, at 23:30, Alvin Starr via Info-cyrus wrote:
I have had mixed luck with direct mailbox delivery(+ addressing) and when I say mixed I mean mostly bad.I wanted to try using it for direct delivery of copies of all sent messages.I found I needed special permissions on all the mailboxes and duplicate delivery detection would not work in that configuration.So I dropped it.My guess would be that you may need to setup a shared mailbox or group mail account that would process the mail into the shared mailbox and then you could use sieve.On 03/18/2016 07:35 AM, Merlin Hartley wrote:Sorry I wasn’t clear: we are using an alias with +plus addressing and lmtp to deliver into the shared mailboxI have the shared mailbox working just fine… it is only the sieve on shared mailboxes that is failing...aliases file:mbujobs: +shared/mbujobsexim router:imap_shared_accept:driver = acceptlocal_parts = ^\\+[^/]+/.+transport = local_delivery_cyruscannot_route_message = Unknown userexit transport:local_delivery_cyrus:driver = lmtpsocket = /var/lib/imap/socket/lmtpbatch_max = 20user = cyrusgroup = mailtransport_filter = /usr/bin/tr -d \\000delivery_date_addenvelope_to_addreturn_path_add--Merlin HartleyIT Systems EngineerMRC Mitochondrial Biology UnitCambridge, CB2 0XYUnited KingdomOn 18 Mar 2016, at 11:29, Alvin Starr via Info-cyrus <info-cyrus@xxxxxxxxxxxxxxxxxxxx> wrote: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:GreetingsI 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: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!MerlinP.S. Here is some relevant server info:[root@mercury merlin]# sieveshell -u cyrus -a cyrus localhostconnecting to localhostPlease enter your password:> listmbu_jobs <- active script[root@mercury ~]# ls /var/lib/imap/sieve/global/defaultbc mbu_jobs.bc mu_jobs.script[root@mercury ~]# cyrus-adminverify error:num=19:self signed certificate in certificate chainlocalhost> mboxconfig shared/mbujobs sieve mbu_jobslocalhost>[root@mercury ~]# yum list cyrus-imapdInstalled Packagescyrus-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@mercury ~]# uname -aLinux 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 HartleyIT Systems EngineerMRC Mitochondrial Biology UnitCambridge, CB2 0XYUnited 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@xxxxxxxxxx||----Cyrus Home Page: http://www.cyrusimap.org/List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/To Unsubscribe:-- Alvin Starr || voice: (905)513-7688 Netvel Inc. || Cell: (416)806-0133 alvin@xxxxxxxxxx||----Cyrus Home Page: http://www.cyrusimap.org/List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/To Unsubscribe:
--
Bron Gondwana
brong@xxxxxxxxxxx
---- 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