Filters after migration from Rainloop
-
Hi everyone,
I haven't paid attention to Rainloop for so long and just realized I need to move to SnappyMail. I have a lot of filters configured via Rainloop. Installing SnappyMail I see those filters appearing under Settings -> Filters -> Click on "Simple" entry and a popup with my Rainloop filters comes up.
My question is - will these filters survive removal of Rainloop or some sort of cleanup will be run when Rainloop is removed? Essentially I want to keep my filters when moving to another mail client.
Thanks.
-
@bazinga I have done this in the past.. and I had to reset up all filters . Each mail app tries to parse so called [Sieve language](https://en.wikipedia.org/wiki/Sieve_(mail_filtering_language) . They support a different subset of the language and worse they rely on comments in the filters to work with the generated filters.
So, yeah, despite sieve being a standard none of them are compatible with each other
I moved from Snappy to Roundcube though
-
@bazinga I have done this in the past.. and I had to reset up all filters . Each mail app tries to parse so called [Sieve language](https://en.wikipedia.org/wiki/Sieve_(mail_filtering_language) . They support a different subset of the language and worse they rely on comments in the filters to work with the generated filters.
So, yeah, despite sieve being a standard none of them are compatible with each other
I moved from Snappy to Roundcube though
-
@joseph Ah, crap.. That's a very unfortunate news. I can only hope that Snappy would understand Rainloop's filters definitions as it is based on Rainloop.
@bazinga what I actually do at present is set-up filters in Roundcube and then suck those into SnappyMail.
Although I'm actually thinking of switching to Roundcube as SnappyMail is great but seems to also have lots of small glitches and bugs whereas Roundcube is a lot more mature and stable.
-
@bazinga what I actually do at present is set-up filters in Roundcube and then suck those into SnappyMail.
Although I'm actually thinking of switching to Roundcube as SnappyMail is great but seems to also have lots of small glitches and bugs whereas Roundcube is a lot more mature and stable.
@jdaviescoates Agreed. To me SnappyMail has more errors than Rainloop had (never had a single issue with Rainloop).
However it seems one of the problems with RoundCube is that there is no 2FA built in and it seems 2FA plugin has issues (few reports I've seen online). Plus my hope was that Snappy would work fine with Rainloop filters, but not sure if RC will keep applying Rainloop based filters. And I have a lot of those, so would have to manually re-type them all. Sigh.
-
@jdaviescoates Agreed. To me SnappyMail has more errors than Rainloop had (never had a single issue with Rainloop).
However it seems one of the problems with RoundCube is that there is no 2FA built in and it seems 2FA plugin has issues (few reports I've seen online). Plus my hope was that Snappy would work fine with Rainloop filters, but not sure if RC will keep applying Rainloop based filters. And I have a lot of those, so would have to manually re-type them all. Sigh.
@bazinga said in Filters after migration from Rainloop:
And I have a lot of those, so would have to manually re-type them all. Sigh.
You could perhaps ask an AI bot to copy them into Sieve language or something?
-
@bazinga said in Filters after migration from Rainloop:
And I have a lot of those, so would have to manually re-type them all. Sigh.
You could perhaps ask an AI bot to copy them into Sieve language or something?
@jdaviescoates Wasn't sure if I could get to the source of those filters, as in Rainloop I was using UI controls to define them. But it seems there is a way to get those via SnappyMail. Shall see.
-
@bazinga I have done this in the past.. and I had to reset up all filters . Each mail app tries to parse so called [Sieve language](https://en.wikipedia.org/wiki/Sieve_(mail_filtering_language) . They support a different subset of the language and worse they rely on comments in the filters to work with the generated filters.
So, yeah, despite sieve being a standard none of them are compatible with each other
I moved from Snappy to Roundcube though
@joseph said in Filters after migration from Rainloop:
I moved from Snappy to Roundcube though
Have you setup 2FA for Roundcube? And if you have, which plugin and where did you get the tarball (I'm basing this on Cloudron doc about Roundcube - https://docs.cloudron.io/apps/roundcube/)? I cannot find a tar for https://github.com/alexandregz/twofactor_gauthenticator
-
@joseph said in Filters after migration from Rainloop:
I moved from Snappy to Roundcube though
Have you setup 2FA for Roundcube? And if you have, which plugin and where did you get the tarball (I'm basing this on Cloudron doc about Roundcube - https://docs.cloudron.io/apps/roundcube/)? I cannot find a tar for https://github.com/alexandregz/twofactor_gauthenticator
@bazinga said in Filters after migration from Rainloop:
Have you setup 2FA for Roundcube?
No, I haven't got 2FA set-up for any email stuff.
@bazinga said in Filters after migration from Rainloop:
(I'm basing this on Cloudron doc about Roundcube - https://docs.cloudron.io/apps/roundcube/)?
Yeah, I wish we could use Composer like the official set-up is these days as per https://plugins.roundcube.net/#/ but for reasons I don't understand I don't think that's possible on Cloudron
-
Maybe someone with PHP experience can tell us how these are deployed without Cloudron . Basically, if you go around changing dependencies of roundcube and changing the source, what happens on an update? Someone writes a document indicating what needs to be done for every update of roundcube and this is followed by the updater?
For example, I think the composer commands can bump up libraries which roundcube is not tested with. This defeats have a lock file in the first place.
-
Maybe someone with PHP experience can tell us how these are deployed without Cloudron . Basically, if you go around changing dependencies of roundcube and changing the source, what happens on an update? Someone writes a document indicating what needs to be done for every update of roundcube and this is followed by the updater?
For example, I think the composer commands can bump up libraries which roundcube is not tested with. This defeats have a lock file in the first place.
@girish said in Filters after migration from Rainloop:
Maybe someone with PHP experience can tell us how these are deployed without Cloudron .
Isn't that just is described in basic terms here https://plugins.roundcube.net/#/ ?
@girish said in Filters after migration from Rainloop:
For example, I think the composer commands can bump up libraries which roundcube is not tested with.
Can they? What commands?
It looks like all that is involved is you (as per the above link):
"edit your local composer.json file and add the "vendor/plugin" names to the "require" section of the JSON structure."
You don't run any commands as far as I can tell
-
@girish said in Filters after migration from Rainloop:
Maybe someone with PHP experience can tell us how these are deployed without Cloudron .
Isn't that just is described in basic terms here https://plugins.roundcube.net/#/ ?
@girish said in Filters after migration from Rainloop:
For example, I think the composer commands can bump up libraries which roundcube is not tested with.
Can they? What commands?
It looks like all that is involved is you (as per the above link):
"edit your local composer.json file and add the "vendor/plugin" names to the "require" section of the JSON structure."
You don't run any commands as far as I can tell
@jdaviescoates said in Filters after migration from Rainloop:
Can they? What commands?
There is a "php composer.phar install" in that link . this installs/updates packages.
Isn't that just is described in basic terms here https://plugins.roundcube.net/#/ ?
So that link is asking us to edit source files (like composer.json). For example, if you download a tarball from https://roundcube.net/download/, you will find composer.lock/json in the root directory. My question is more how are these files managed outside Cloudron during updates. What happens to users's changes to this composer.json from the previous version during update?
-
@jdaviescoates said in Filters after migration from Rainloop:
Can they? What commands?
There is a "php composer.phar install" in that link . this installs/updates packages.
Isn't that just is described in basic terms here https://plugins.roundcube.net/#/ ?
So that link is asking us to edit source files (like composer.json). For example, if you download a tarball from https://roundcube.net/download/, you will find composer.lock/json in the root directory. My question is more how are these files managed outside Cloudron during updates. What happens to users's changes to this composer.json from the previous version during update?
@girish said in Filters after migration from Rainloop:
My question is more how are these files managed outside Cloudron during updates. What happens to users's changes to this composer.json from the previous version during update?
Thanks, I understand now, but I've no idea what the answer it
I guess we'd have to ask upstream...
-
Is there a way to take the Sieve rules and normalize them?
A quick search for sieve parser got me to this:
https://github.com/python-sifter/sifter