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


  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
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

Cloudron Forum

Apps | Demo | Docs | Install

Ability to set rcpt_to.routes for Haraka

Scheduled Pinned Locked Moved Feature Requests
mailharaka
12 Posts 5 Posters 525 Views
    • 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
  • robiR Offline
    robiR Offline
    robi
    replied to fbartels on last edited by
    #2

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

    Life of sky tech

    fbartelsF 1 Reply Last reply
    0
  • fbartelsF Offline
    fbartelsF Offline
    fbartels App Dev
    replied to robi 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
  • robiR Offline
    robiR Offline
    robi
    replied to fbartels on last edited by
    #4

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

    Life of sky tech

    1 Reply Last reply
    0
  • LonkleL Offline
    LonkleL Offline
    Lonkle
    replied to fbartels 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
  • fbartelsF Offline
    fbartelsF Offline
    fbartels App Dev
    replied to Lonkle 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
  • LonkleL Offline
    LonkleL Offline
    Lonkle
    replied to fbartels 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
  • fbartelsF Offline
    fbartelsF Offline
    fbartels App Dev
    replied to Lonkle 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
  • marcusquinnM Offline
    marcusquinnM Offline
    marcusquinn
    replied to Lonkle on last edited by
    #9

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

    We're not here for a long time - but we are here for a good time :)
    Jersey/UK
    Work & Ecommerce Advice: https://brandlight.org
    Personal & Software Tips: https://marcusquinn.com

    LonkleL 1 Reply Last reply
    0
  • LonkleL Offline
    LonkleL Offline
    Lonkle
    replied to marcusquinn 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
  • marcusquinnM Offline
    marcusquinnM Offline
    marcusquinn
    replied to Lonkle 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?

    We're not here for a long time - but we are here for a good time :)
    Jersey/UK
    Work & Ecommerce Advice: https://brandlight.org
    Personal & Software Tips: https://marcusquinn.com

    jimcavoliJ 1 Reply Last reply
    0
  • jimcavoliJ Offline
    jimcavoliJ Offline
    jimcavoli App Dev
    replied to marcusquinn 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

  • Login

  • Don't have an account? Register

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

  • Don't have an account? Register

  • Login or register to search.