From joris at audriga.com Thu Apr 1 15:21:07 2021 From: joris at audriga.com (Joris Baum) Date: Thu, 1 Apr 2021 15:21:07 +0200 Subject: [RCD] Add JMAP Support via PHP library In-Reply-To: References: <09ffe79d-797f-15a1-3da6-a0bb2d6a1ea7@alec.pl> <297a001f-0a5e-a14d-9a31-4bb4c08e454c@audriga.com> <1de0e1584ed7deca29b6c9d88c91de65@schema31.it> Message-ID: <915365ea-3e81-08a8-46a4-355fbe616b3d@audriga.com> Hi Thomas, thanks for voting, clarifying and pointing us to the project. We will share it with you once we have made enough progress. Regards, Joris On 28.02.21 18:13, Thomas Bruederli wrote: > Hello Joris > > Although I'm late with this reply, I'd also like to give my votes to > Andrea's suggestion. I think it might be the best option to make the > JMAP server a stand-alone service because the full integration into > Roundcube might be tricky. For this you could make use of the > Roundcube framework which will give you direct and simplified access > to Roundcube's datastore as well as handy utilities for authentication > (-> via imap), session storage and caching. Long time ago we did > something comparable (although less complex) for Kolab's Freebusy API > (see https://git.kolab.org/diffusion/F/ > ). > > Serving contacts and basic setting from Roundcube should be easy using > the Framework and if you like fancy challenges you might even build a > JAMP <> IMAP bridge using Rouncube's IMAP client classes. > > Good luck, we're looking forward to see your progress. And don't > hesitate to ask back if you need more help. > > ~Thomas > > > On Wed, Feb 3, 2021 at 12:02 PM Andrea Brancatelli > > wrote: > > Hello Joris, > > your idea sounds cool, but my very personal opinion a Roundcube > user (and I think also Aleksander is suggesting the same in > between the lines) would be to implement a basic stand-alone JMAP > server (handling only the Calendar/Contacts Stuff if it's the case > you need to support) and then start implementing a JMAP client > plugin in round cube that's referring to the JMAP server you're > building. > > I see the advantage of recycling Roundcube's tables for contacts > but you're basically transforming a Client into a Server - > RoundCube is just a WEB "version" of lttrs... > > If you'd move in this direction count me as beta tester :-) > --- > > *Andrea Brancatelli * > > _______________________________________________ > Roundcube Development discussion mailing list > dev at lists.roundcube.net > http://lists.roundcube.net/mailman/listinfo/dev > > > > _______________________________________________ > Roundcube Development discussion mailing list > dev at lists.roundcube.net > http://lists.roundcube.net/mailman/listinfo/dev -- Joris Baum Tel: +49 721 170293 16 Fax: +49 721 170293 179 http://www.audriga.com | http://www.twitter.com/audriga -------------------------------------------------------------------------- audriga GmbH | Durlacher Allee 47 | 76131 Karlsruhe Sitz der Gesellschaft: Karlsruhe - Amtsgericht Mannheim - HRB 713034 Gesch?ftsf?hrer: Dr. Frank Dengler, Dr.-Ing. Hans-J?rg Happel -------------------------------------------------------------------------- -------------- next part -------------- An HTML attachment was scrubbed... URL: From marczi at dev-labs.com Tue Apr 13 12:42:16 2021 From: marczi at dev-labs.com (=?UTF-8?Q?Marczisovszky_D=c3=a1niel?=) Date: Tue, 13 Apr 2021 12:42:16 +0200 Subject: [RCD] Improvements to the Managesieve plugin Message-ID: <0501dc01-b1ea-0658-01b4-1f33dca46615@dev-labs.com> Hi Roundcube devs, We have been using Roundcube since many years and migrating from the unmaintained SieveRules plugin by JohnDoh to the official ManageSieve plugin. There are a few things that we want to improve, and we would like to know if it is okay to send these as patches so they can be included in a later official version of the Managesieve plugin. 1. Import of disabled rules generated by the SieveRules plugin ManageSieve uses the trick "if false ..." to disable sieve rules, but SieveRules stores disabled rules as a PHP serialized form of it's internal representation in a sieve comment. Now we have a working version for this that is able to import conditions and vacation (autoreply) rules 2. Add original subject to vacation replies SieveRules can add the original subject to the automatically sent reply, by using a trick of creating a ${subject} sieve variable in a separate rule that is hidden in SieveRules, but ManageSieve imports is an unnamed rule. The rule looks like this: set "subject" ""; if header :matches "subject" "*" { ??? set "subject" "${1}"; } There is also a feature request for this: https://github.com/roundcube/roundcubemail/issues/5258 Our plan is to support this extra rule and also hide it from the UI and add a checkbox to Subject in the vacation part that would append ${subject}. The appended ${subject} would be also hidden from the UI only the checkbox would be used to indicate if the original subject is added to the reply or not. The extra rule would be inserted only if at least one vacation rule wants to append the original subject. We would also add extra configuration options to the plugin, so both features could be disabled by default, especially for the second one, as many considers this as a source of spamming (however big email providers, like GMail appends the old subject when sending an autoreply) So, I'm waiting for your comments, suggestions on the features or if the are applicable for inclusion in the official version Thanks in advance, Daniel From alec at alec.pl Wed Apr 14 08:02:58 2021 From: alec at alec.pl (Aleksander Machniak) Date: Wed, 14 Apr 2021 08:02:58 +0200 Subject: [RCD] Improvements to the Managesieve plugin In-Reply-To: <0501dc01-b1ea-0658-01b4-1f33dca46615@dev-labs.com> References: <0501dc01-b1ea-0658-01b4-1f33dca46615@dev-labs.com> Message-ID: On 13.04.2021 12:42, Marczisovszky D?niel wrote: > 1. Import of disabled rules generated by the SieveRules plugin > ManageSieve uses the trick "if false ..." to disable sieve rules, but > SieveRules stores disabled rules as a PHP serialized form of it's > internal representation in a sieve comment. Now we have a working > version for this that is able to import conditions and vacation > (autoreply) rules > > 2. Add original subject to vacation replies Please, create two separate pull requests on https://github.com/roundcube/roundcubemail/ -- Aleksander Machniak Kolab Groupware Developer [https://kolab.org] Roundcube Webmail Developer [https://roundcube.net] ---------------------------------------------------- PGP: 19359DC1 # Blog: https://kolabian.wordpress.com