Filters UI
-
RainLoop had a UI for setting up common filters like vacation and forwarding. It seems SnappyMail has removed this, in favor of showing a raw sieve filter page.
I guess I will post some common filters here.
-
Vacation mail is something like this:
require ["vacation"]; if true { vacation :subject "Out of office" "Off to the alps!"; }
-
Forward all is something like this:
require ["copy","fileinto","vacation"]; if true { redirect :copy "test@cloudron.io"; }
-
I put some tutorials links in our docs - https://docs.cloudron.io/apps/snappymail/#filters
-
@girish SnappyMail should support the rainloop script as well (it's in the list named "rainloop.user").
Difference is that SnappyMail also supports all other scripts and you can creat a script to include multiple scripts.I made it this way because i also use Kmail (and others like Thunderbird) and then RainLoop conflicts with them because in Sieve you can only enable 1 script and RainLoop disables them in favour of rainloop.user
So you could finegrane your instructions how to combine/include scripts and still use the gui on the rainloop.user script.
-
@djmaze oh hey, welcome here! Indeed, each mail client seems to want to disable each other's filter, I think roundcube has a similar behavior. I had to check if
include
is enabled by default in dovecot and indeed it is - https://doc.dovecot.org/configuration_manual/sieve/pigeonhole_sieve_interpreter/Is there a plan to add a UI for setting up filters? I wish mail clients at least had a simple "Create filter from this" from the email view.
Great progress with SnappyMail btw, it really is super fast loading.
-
@girish said in Filters UI:
I wish mail clients at least had a simple "Create filter from this" from the email view.
+1
-
@girish thanks.
Oh yes, there are future plans but it is a lot of work to create a good gui.
The issue is at https://github.com/the-djmaze/snappymail/issues/80But first i'm fixing the OpenPGP issues which also takes some time.
-
@djmaze said in Filters UI:
it is a lot of work to create a good gui
Doesn't need to be net new from scratch. Be inspired.
You can borrow any such from an existing project and improve upon their shortcomings.
Easy, peasy.