Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
  • Search
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

Cloudron Forum

Apps | Demo | Docs | Install
  1. Cloudron Forum
  2. SnappyMail
  3. Filters UI

Filters UI

Scheduled Pinned Locked Moved SnappyMail
19 Posts 5 Posters 3.2k Views 5 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • D Offline
      D Offline
      djmaze
      wrote on last edited by
      #5

      @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.

      girishG 1 Reply Last reply
      5
      • D djmaze

        @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.

        girishG Do not disturb
        girishG Do not disturb
        girish
        Staff
        wrote on last edited by girish
        #6

        @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.

        jdaviescoatesJ D 2 Replies Last reply
        3
        • girishG girish

          @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.

          jdaviescoatesJ Offline
          jdaviescoatesJ Offline
          jdaviescoates
          wrote on last edited by
          #7

          @girish said in Filters UI:

          I wish mail clients at least had a simple "Create filter from this" from the email view.

          +1

          I use Cloudron with Gandi & Hetzner

          1 Reply Last reply
          1
          • girishG girish

            @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.

            D Offline
            D Offline
            djmaze
            wrote on last edited by
            #8

            @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/80

            But first i'm fixing the OpenPGP issues which also takes some time.

            robiR 1 Reply Last reply
            4
            • D djmaze

              @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/80

              But first i'm fixing the OpenPGP issues which also takes some time.

              robiR Offline
              robiR Offline
              robi
              wrote on last edited by
              #9

              @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. 😄

              Conscious tech

              P 1 Reply Last reply
              0
              • robiR robi

                @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. 😄

                P Offline
                P Offline
                perler
                wrote on last edited by
                #10

                @robi ok, reviving this old thread, is this simple filter supposed to be working in snappymail or not?
                a1ad3b8d-0976-4c26-89af-8075c0a2337d-image.png

                robiR 1 Reply Last reply
                0
                • P perler

                  @robi ok, reviving this old thread, is this simple filter supposed to be working in snappymail or not?
                  a1ad3b8d-0976-4c26-89af-8075c0a2337d-image.png

                  robiR Offline
                  robiR Offline
                  robi
                  wrote on last edited by
                  #11

                  @perler best to verify with the upstream project on that one.

                  Conscious tech

                  P 1 Reply Last reply
                  0
                  • robiR robi

                    @perler best to verify with the upstream project on that one.

                    P Offline
                    P Offline
                    perler
                    wrote on last edited by
                    #12

                    @robi it should work according to this: https://github.com/the-djmaze/snappymail/issues/407

                    I would look for myself, but I am not sure where to start..

                    girishG 1 Reply Last reply
                    0
                    • P perler

                      @robi it should work according to this: https://github.com/the-djmaze/snappymail/issues/407

                      I would look for myself, but I am not sure where to start..

                      girishG Do not disturb
                      girishG Do not disturb
                      girish
                      Staff
                      wrote on last edited by
                      #13

                      @perler Unfortunately, a quirk of sieve scripts is that only the webmail app that creates them, can reliably edit them. I guess this is because the sieve language parser of each of these web apps is a limited subset of what they can handle.

                      So.. it's best to not rely on the sieve filters of other apps. Instead, create the filters within snappy. Even though snappy is a fork of rainloop, it's best to think of them as separate apps.

                      1 Reply Last reply
                      0
                      • jdaviescoatesJ Offline
                        jdaviescoatesJ Offline
                        jdaviescoates
                        wrote on last edited by
                        #14

                        I've been giving SnappyMail a try (because I just can't get Roundcube to stay logged in which is a bit frustrating) and I see this:

                        Screenshot from 2022-08-17 17-24-58.png

                        I didn't add the roundcube thing, was there already.

                        I'm guessing/ hoping this is some clever Cloudron integration the @staff have done that automagically sucks in filters I've created over in Roundcube into SnappyMail?

                        And if it's not that, any idea what it is?

                        Thanks! 🙂

                        I use Cloudron with Gandi & Hetzner

                        girishG 1 Reply Last reply
                        0
                        • jdaviescoatesJ jdaviescoates

                          I've been giving SnappyMail a try (because I just can't get Roundcube to stay logged in which is a bit frustrating) and I see this:

                          Screenshot from 2022-08-17 17-24-58.png

                          I didn't add the roundcube thing, was there already.

                          I'm guessing/ hoping this is some clever Cloudron integration the @staff have done that automagically sucks in filters I've created over in Roundcube into SnappyMail?

                          And if it's not that, any idea what it is?

                          Thanks! 🙂

                          girishG Do not disturb
                          girishG Do not disturb
                          girish
                          Staff
                          wrote on last edited by
                          #15

                          @jdaviescoates If you have roundcube still installed, delete the filters in roundcube entirely. If that doesn't do it, you might have to delete the file physically at /home/yellowtent/boxdata/mail/vmail/{user}/sieve/roundcube.sieve and restart the mail server.

                          jdaviescoatesJ 1 Reply Last reply
                          0
                          • girishG girish

                            @jdaviescoates If you have roundcube still installed, delete the filters in roundcube entirely. If that doesn't do it, you might have to delete the file physically at /home/yellowtent/boxdata/mail/vmail/{user}/sieve/roundcube.sieve and restart the mail server.

                            jdaviescoatesJ Offline
                            jdaviescoatesJ Offline
                            jdaviescoates
                            wrote on last edited by
                            #16

                            @girish sorry, I don't want to delete the roundcube filters (not sure what gave you that impression?), I'm just wondering if SnappyMail is somehow magically making use of them given I'm seeing roundcube there in the SnappyMail filters UI?

                            I use Cloudron with Gandi & Hetzner

                            jdaviescoatesJ girishG 2 Replies Last reply
                            0
                            • jdaviescoatesJ jdaviescoates

                              @girish sorry, I don't want to delete the roundcube filters (not sure what gave you that impression?), I'm just wondering if SnappyMail is somehow magically making use of them given I'm seeing roundcube there in the SnappyMail filters UI?

                              jdaviescoatesJ Offline
                              jdaviescoatesJ Offline
                              jdaviescoates
                              wrote on last edited by jdaviescoates
                              #17

                              @jdaviescoates said in Filters UI:

                              I'm just wondering if SnappyMail is somehow magically making use of them given I'm seeing roundcube there in the SnappyMail filters UI?

                              I just clicked on roundcube in the filters UI and it does indeed look like it probably is doing that!

                              Screenshot from 2022-08-17 17-32-13.png

                              Awesome! (presuming it works)

                              I use Cloudron with Gandi & Hetzner

                              1 Reply Last reply
                              1
                              • jdaviescoatesJ jdaviescoates

                                @girish sorry, I don't want to delete the roundcube filters (not sure what gave you that impression?), I'm just wondering if SnappyMail is somehow magically making use of them given I'm seeing roundcube there in the SnappyMail filters UI?

                                girishG Do not disturb
                                girishG Do not disturb
                                girish
                                Staff
                                wrote on last edited by
                                #18

                                @jdaviescoates said in Filters UI:

                                @girish sorry, I don't want to delete the roundcube filters (not sure what gave you that impression?),

                                Sadly, only the filter of one app can be "active" . Also, there is this whole mess that filters created by one app are not easily editable (if at all), by another app. So, I assumed, you are going all in on snappy and nuking the rules created in other apps.

                                jdaviescoatesJ 1 Reply Last reply
                                1
                                • girishG girish

                                  @jdaviescoates said in Filters UI:

                                  @girish sorry, I don't want to delete the roundcube filters (not sure what gave you that impression?),

                                  Sadly, only the filter of one app can be "active" . Also, there is this whole mess that filters created by one app are not easily editable (if at all), by another app. So, I assumed, you are going all in on snappy and nuking the rules created in other apps.

                                  jdaviescoatesJ Offline
                                  jdaviescoatesJ Offline
                                  jdaviescoates
                                  wrote on last edited by
                                  #19

                                  @girish said in Filters UI:

                                  Sadly, only the filter of one app can be "active"

                                  I don't really get what that means?

                                  I certainly looks like SnappyMail is automagically using the filters I set-up in roundcube.

                                  I use Cloudron with Gandi & Hetzner

                                  1 Reply Last reply
                                  0
                                  Reply
                                  • Reply as topic
                                  Log in to reply
                                  • Oldest to Newest
                                  • Newest to Oldest
                                  • Most Votes


                                    • Login

                                    • Don't have an account? Register

                                    • Login or register to search.
                                    • First post
                                      Last post
                                    0
                                    • Categories
                                    • Recent
                                    • Tags
                                    • Popular
                                    • Bookmarks
                                    • Search