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. Feature Requests
  3. Ability to set rcpt_to.routes for Haraka

Ability to set rcpt_to.routes for Haraka

Scheduled Pinned Locked Moved Feature Requests
mailharaka
12 Posts 5 Posters 2.1k 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.
    • fbartelsF Offline
      fbartelsF Offline
      fbartels
      App Dev
      wrote on last edited by girish
      #1

      Hi,

      I was researching possibilities to bring an app to Cloudron that would package Kopano ONE. The Kopano Groupware part brings its own mailstore so one of the challenges is to deliver an incoming mail to Kopano and not the default Dovecot storage on Cloudron.

      In my research I have come across https://github.com/haraka/haraka-plugin-recipient-routes, which allows to define per domain and user "transports" (this is what this is usually called in Postfix), which would allow to mark an address to be delivered to the Kopano lmtp interface instead of the Dovecot one.

      robiR 1 Reply Last reply
      3
      • fbartelsF fbartels

        Hi,

        I was researching possibilities to bring an app to Cloudron that would package Kopano ONE. The Kopano Groupware part brings its own mailstore so one of the challenges is to deliver an incoming mail to Kopano and not the default Dovecot storage on Cloudron.

        In my research I have come across https://github.com/haraka/haraka-plugin-recipient-routes, which allows to define per domain and user "transports" (this is what this is usually called in Postfix), which would allow to mark an address to be delivered to the Kopano lmtp interface instead of the Dovecot one.

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

        @fbartels Can Kopano just keep an eye on a particular set of mailboxes and import those instead?

        Conscious tech

        fbartelsF 1 Reply Last reply
        0
        • robiR robi

          @fbartels Can Kopano just keep an eye on a particular set of mailboxes and import those instead?

          fbartelsF Offline
          fbartelsF Offline
          fbartels
          App Dev
          wrote on last edited by
          #3

          @robi not natively. Plus adding something like fetchmail/getmail into the mail delivery path will introduce both delays (you will want to poll in intervals and not constantly) and sources for potential errors (I have changed my password and now I no longer receive mails). Not to mention that you would need to store the users password somewhere.

          robiR LonkleL 2 Replies Last reply
          0
          • fbartelsF fbartels

            @robi not natively. Plus adding something like fetchmail/getmail into the mail delivery path will introduce both delays (you will want to poll in intervals and not constantly) and sources for potential errors (I have changed my password and now I no longer receive mails). Not to mention that you would need to store the users password somewhere.

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

            @fbartels there are ways to do that more intelligently, ie. pull vs push, triggers, hooks, tail, MQTT, etc.

            Conscious tech

            1 Reply Last reply
            0
            • fbartelsF fbartels

              @robi not natively. Plus adding something like fetchmail/getmail into the mail delivery path will introduce both delays (you will want to poll in intervals and not constantly) and sources for potential errors (I have changed my password and now I no longer receive mails). Not to mention that you would need to store the users password somewhere.

              LonkleL Offline
              LonkleL Offline
              Lonkle
              wrote on last edited by Lonkle
              #5

              @fbartels said in Ability to set rcpt_to.routes for Haraka:

              Not to mention that you would need to store the users password somewhere.

              You might not have to using LDAP, but I've never used the mail features just the Cloudron features API using LDAP.

              So basically, do you need Cloudron box to see Haraka routes before it default routes them to the built-in Dovecot and will route them correctly to whatever app (Kapano in this case)? Am I understanding that correctly?

              fbartelsF 1 Reply Last reply
              0
              • LonkleL Lonkle

                @fbartels said in Ability to set rcpt_to.routes for Haraka:

                Not to mention that you would need to store the users password somewhere.

                You might not have to using LDAP, but I've never used the mail features just the Cloudron features API using LDAP.

                So basically, do you need Cloudron box to see Haraka routes before it default routes them to the built-in Dovecot and will route them correctly to whatever app (Kapano in this case)? Am I understanding that correctly?

                fbartelsF Offline
                fbartelsF Offline
                fbartels
                App Dev
                wrote on last edited by
                #6

                @lonk said in Ability to set rcpt_to.routes for Haraka:

                Am I understanding that correctly?

                yes

                LonkleL 1 Reply Last reply
                0
                • fbartelsF fbartels

                  @lonk said in Ability to set rcpt_to.routes for Haraka:

                  Am I understanding that correctly?

                  yes

                  LonkleL Offline
                  LonkleL Offline
                  Lonkle
                  wrote on last edited by
                  #7

                  @fbartels Does Kapano One allow for a programmatic response to receiving an email. Like LAMBDA on AWS. I’ve been trying to get away from AWS but I don’t know a better way to parse incoming email to react programmatically to (like the email is a trigger / confirmation / web hook in a lot of my use cases so to speak).

                  fbartelsF marcusquinnM 2 Replies Last reply
                  0
                  • LonkleL Lonkle

                    @fbartels Does Kapano One allow for a programmatic response to receiving an email. Like LAMBDA on AWS. I’ve been trying to get away from AWS but I don’t know a better way to parse incoming email to react programmatically to (like the email is a trigger / confirmation / web hook in a lot of my use cases so to speak).

                    fbartelsF Offline
                    fbartelsF Offline
                    fbartels
                    App Dev
                    wrote on last edited by
                    #8

                    Hi @lonk,

                    while Kopano Groupware has the ability to react on mails during delivery with a python plugin framework, there is currently to standard gear for what you're looking to do.

                    1 Reply Last reply
                    0
                    • LonkleL Lonkle

                      @fbartels Does Kapano One allow for a programmatic response to receiving an email. Like LAMBDA on AWS. I’ve been trying to get away from AWS but I don’t know a better way to parse incoming email to react programmatically to (like the email is a trigger / confirmation / web hook in a lot of my use cases so to speak).

                      marcusquinnM Offline
                      marcusquinnM Offline
                      marcusquinn
                      wrote on last edited by
                      #9

                      @lonk perhaps a job for n8n.io or integromat.com ?

                      Web Design https://www.evergreen.je
                      Development https://brandlight.org
                      Life https://marcusquinn.com

                      LonkleL 1 Reply Last reply
                      0
                      • marcusquinnM marcusquinn

                        @lonk perhaps a job for n8n.io or integromat.com ?

                        LonkleL Offline
                        LonkleL Offline
                        Lonkle
                        wrote on last edited by
                        #10

                        @marcusquinn said in Ability to set rcpt_to.routes for Haraka:

                        @lonk perhaps a job for n8n.io or integromat.com ?

                        Both of these seem like they'll do exactly what I need to with no need for AWS (finally)!

                        • https://support.integromat.com/hc/en-us/articles/360006171054-Email-legacy-
                        • https://n8n.io/integrations/n8n-nodes-base.emailReadImap

                        Thank for the suggestions, I think I'll go with n8n. Do you have experience with either?

                        marcusquinnM 1 Reply Last reply
                        1
                        • LonkleL Lonkle

                          @marcusquinn said in Ability to set rcpt_to.routes for Haraka:

                          @lonk perhaps a job for n8n.io or integromat.com ?

                          Both of these seem like they'll do exactly what I need to with no need for AWS (finally)!

                          • https://support.integromat.com/hc/en-us/articles/360006171054-Email-legacy-
                          • https://n8n.io/integrations/n8n-nodes-base.emailReadImap

                          Thank for the suggestions, I think I'll go with n8n. Do you have experience with either?

                          marcusquinnM Offline
                          marcusquinnM Offline
                          marcusquinn
                          wrote on last edited by
                          #11

                          @lonk Integromat I do, and like it a lot. They offer a sel-hosted Enterprise version, so will look into that at some point. I'm keen to try n8n.io though, and can help sponsor packaging if you want too?

                          Web Design https://www.evergreen.je
                          Development https://brandlight.org
                          Life https://marcusquinn.com

                          jimcavoliJ 1 Reply Last reply
                          0
                          • marcusquinnM marcusquinn

                            @lonk Integromat I do, and like it a lot. They offer a sel-hosted Enterprise version, so will look into that at some point. I'm keen to try n8n.io though, and can help sponsor packaging if you want too?

                            jimcavoliJ Offline
                            jimcavoliJ Offline
                            jimcavoli
                            App Dev
                            wrote on last edited by
                            #12

                            @marcusquinn see my post about n8n at https://forum.cloudron.io/topic/1939/n8n-io-zappier-ifttt-integromat-alternative/13?_=1605126531115 - short version is that it's been packaged, it's just not primetime-ready

                            1 Reply Last reply
                            1
                            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