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


    Cloudron Forum

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular

    Filters UI

    SnappyMail
    4
    9
    231
    Loading More Posts
    • 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.
    • girish
      girish Staff last edited by

      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.

      3c05b784-b720-41b2-a382-b3855b8e1ab6-image.png

      I guess I will post some common filters here.

      1 Reply Last reply Reply Quote 6
      • girish
        girish Staff last edited by

        Vacation mail is something like this:

        require ["vacation"];
        if true
        {
               vacation :subject "Out of office" "Off to the alps!";
        }
        
        1 Reply Last reply Reply Quote 1
        • girish
          girish Staff last edited by

          Forward all is something like this:

          require ["copy","fileinto","vacation"];
          
          if true
          {
                 redirect :copy "test@cloudron.io";
          }
          
          1 Reply Last reply Reply Quote 1
          • girish
            girish Staff last edited by

            I put some tutorials links in our docs - https://docs.cloudron.io/apps/snappymail/#filters

            1 Reply Last reply Reply Quote 4
            • D
              djmaze last edited by

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

              girish 1 Reply Last reply Reply Quote 5
              • girish
                girish Staff @djmaze last edited by 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.

                jdaviescoates D 2 Replies Last reply Reply Quote 3
                • jdaviescoates
                  jdaviescoates @girish last edited by

                  @girish said in Filters UI:

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

                  +1

                  1 Reply Last reply Reply Quote 1
                  • D
                    djmaze @girish last edited by

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

                    robi 1 Reply Last reply Reply Quote 4
                    • robi
                      robi @djmaze last edited by

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

                      Life of Gratitude.
                      Life of Advanced Technology

                      1 Reply Last reply Reply Quote 0
                      • First post
                        Last post
                      Powered by NodeBB