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. Configure Haraka for Mailman3

Configure Haraka for Mailman3

Scheduled Pinned Locked Moved Feature Requests
mail
22 Posts 7 Posters 3.2k Views 8 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.
    • J Offline
      J Offline
      jasonh
      wrote on last edited by girish
      #1

      Hi There,

      Cloudron is fantastic!! The email platform is nice and stable!! I have been running a test instance for 2 years now and it has worked pretty much flawlessly.

      I would like to move our email over to cloudron but in our current setup we use Mailman to keep track of internal lists, eg design@ourdomain.com, sales@ourdomain.com, devops@ourdomain.com, etc. We have a number of lists and people subscribe to those lists etc.

      I am happy with docker, and from reading the instructions I think I can install the dockerized containers for Mailman3. I am not sure how to configure Haraka though... Does anyone know how to do this?

      Failing that does anyone know when Mailman integration is coming?

      (For the MTA ref section see: https://docs.mailman3.org/projects/mailman/en/latest/src/mailman/docs/mta.html)

      Thanks!

      girishG 1 Reply Last reply
      3
      • J jasonh

        Hi There,

        Cloudron is fantastic!! The email platform is nice and stable!! I have been running a test instance for 2 years now and it has worked pretty much flawlessly.

        I would like to move our email over to cloudron but in our current setup we use Mailman to keep track of internal lists, eg design@ourdomain.com, sales@ourdomain.com, devops@ourdomain.com, etc. We have a number of lists and people subscribe to those lists etc.

        I am happy with docker, and from reading the instructions I think I can install the dockerized containers for Mailman3. I am not sure how to configure Haraka though... Does anyone know how to do this?

        Failing that does anyone know when Mailman integration is coming?

        (For the MTA ref section see: https://docs.mailman3.org/projects/mailman/en/latest/src/mailman/docs/mta.html)

        Thanks!

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

        @jasonh From my quick reading, it seems we need the ability for mailman3 to receive mail via LMTP from Haraka. This is not possible right now since Haraka only delivers internally to dovecot at this point.

        I will look into this further since I would really like mailman3 or another real mailing list app on Cloudron. In some ways, this request is similar to https://forum.cloudron.io/topic/6013/configure-outbound-mail-rules-in-haraka . If we could configure Haraka for specific cases like forwarding mail to another app or to another external email, we should be set.

        J micmcM jdaviescoatesJ 4 Replies Last reply
        3
        • girishG girish

          @jasonh From my quick reading, it seems we need the ability for mailman3 to receive mail via LMTP from Haraka. This is not possible right now since Haraka only delivers internally to dovecot at this point.

          I will look into this further since I would really like mailman3 or another real mailing list app on Cloudron. In some ways, this request is similar to https://forum.cloudron.io/topic/6013/configure-outbound-mail-rules-in-haraka . If we could configure Haraka for specific cases like forwarding mail to another app or to another external email, we should be set.

          J Offline
          J Offline
          jasonh
          wrote on last edited by
          #3

          @girish That is fantastic that you would also like this. I am happy to alpha / beta test this for you!! šŸ˜‰ Thank you!

          1 Reply Last reply
          1
          • girishG girish

            @jasonh From my quick reading, it seems we need the ability for mailman3 to receive mail via LMTP from Haraka. This is not possible right now since Haraka only delivers internally to dovecot at this point.

            I will look into this further since I would really like mailman3 or another real mailing list app on Cloudron. In some ways, this request is similar to https://forum.cloudron.io/topic/6013/configure-outbound-mail-rules-in-haraka . If we could configure Haraka for specific cases like forwarding mail to another app or to another external email, we should be set.

            J Offline
            J Offline
            jasonh
            wrote on last edited by
            #4

            @girish Not to be pushy but do you have any idea on the timeline here? Eg if it is more than a couple months then I might try and limp through with a hacky solution of:

            • Creating mailboxes for the lists eg mailbox.devops@ourcompany.com for the mailing list devops@ourcompany.com
            • Then with a seperate cron job periodically generating hypermail archive pages for the emails in these mailing list mailboxes?

            Kind of ugly but a bit of a stopgap...

            Thanks!

            girishG 1 Reply Last reply
            1
            • girishG girish

              @jasonh From my quick reading, it seems we need the ability for mailman3 to receive mail via LMTP from Haraka. This is not possible right now since Haraka only delivers internally to dovecot at this point.

              I will look into this further since I would really like mailman3 or another real mailing list app on Cloudron. In some ways, this request is similar to https://forum.cloudron.io/topic/6013/configure-outbound-mail-rules-in-haraka . If we could configure Haraka for specific cases like forwarding mail to another app or to another external email, we should be set.

              micmcM Offline
              micmcM Offline
              micmc
              wrote on last edited by
              #5

              @girish said

              I will look into this further since I would really like mailman3 or another real mailing list app on Cloudron.

              Not sure of exactly what kind of "real mailing list app" you are looking at, but I think this powerful one, and it's also been there forever like mailman3, should also be considered in that category.
              https://www.phplist.org/

              Ignorance is not an excuse anymore!
              https://AutomateKit.com

              J 1 Reply Last reply
              2
              • J jasonh

                @girish Not to be pushy but do you have any idea on the timeline here? Eg if it is more than a couple months then I might try and limp through with a hacky solution of:

                • Creating mailboxes for the lists eg mailbox.devops@ourcompany.com for the mailing list devops@ourcompany.com
                • Then with a seperate cron job periodically generating hypermail archive pages for the emails in these mailing list mailboxes?

                Kind of ugly but a bit of a stopgap...

                Thanks!

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

                @jasonh Currently, we are working on 7.1 - https://forum.cloudron.io/topic/5982/what-s-coming-in-cloudron-7-1 which is the only release planned this year . So, we have to look into this for Cloudron 8.

                J 1 Reply Last reply
                1
                • girishG girish

                  @jasonh Currently, we are working on 7.1 - https://forum.cloudron.io/topic/5982/what-s-coming-in-cloudron-7-1 which is the only release planned this year . So, we have to look into this for Cloudron 8.

                  J Offline
                  J Offline
                  jasonh
                  wrote on last edited by
                  #7

                  @girish Thanks Grish! It gives me an idea of timelines. We will try and hack this together if we can't find other tools!

                  1 Reply Last reply
                  0
                  • micmcM micmc

                    @girish said

                    I will look into this further since I would really like mailman3 or another real mailing list app on Cloudron.

                    Not sure of exactly what kind of "real mailing list app" you are looking at, but I think this powerful one, and it's also been there forever like mailman3, should also be considered in that category.
                    https://www.phplist.org/

                    J Offline
                    J Offline
                    jasonh
                    wrote on last edited by
                    #8

                    @micmc said in Configure Haraka for Mailman3:

                    https://www.phplist.org/

                    Thanks for the recommendation. PHPList looks like a "campaign" mailing list to send to external people. This is definitely useful but not quite what we were after.

                    More we are looking for mailing lists for internal people that maintains nice archives and people inside our group can subscribe to our de-subscribe to. Eg sales@ourconmpany.com, devops@ourcompany.com, expenses@ourcompany.com, design@ourcompany.com, marketing@ourcompany.com, etc. And so as people our interested in some of these topics they get naturally filtered to the different email lists... and we have internal archives of these lists. It works quite well as we currently have it. I just want to bring this sort of thing over to a cloudron server!

                    1 Reply Last reply
                    2
                    • avatar1024A Offline
                      avatar1024A Offline
                      avatar1024
                      wrote on last edited by
                      #9

                      Hello, just to revive this thread a bit. Any idea of ways to have a proper mailing list app on cloudron (e.g. mailman or sympa)? Is this still not possible? Anything that people could help with to take this forward? @girish ?

                      A 1 Reply Last reply
                      1
                      • avatar1024A avatar1024

                        Hello, just to revive this thread a bit. Any idea of ways to have a proper mailing list app on cloudron (e.g. mailman or sympa)? Is this still not possible? Anything that people could help with to take this forward? @girish ?

                        A Offline
                        A Offline
                        adhodgson
                        wrote on last edited by
                        #10

                        I've just done a migration of a few small VPS instances to a larger Cloudron instance, main reason because I wanted to run a small Mastodon instance. Mailman is the only app I've had to install manually alongside Cloudron. I can post notes here on how I did it but if we can get a Mailman package started that would be fab. I've experience with the Docker Mailman images as well as installing using Pip. My current setup uses a subdomain Cloudron doesn't know about, the mail for that is handled outside of Cloudron email via Exim. Only shared component is Nginx which is running the Cloudron apps as well as hosting the reverse proxy to Django using Uwsgi. Really impressed with the Cloudron ecosystem by the way.

                        I wouldn't mind betting that the majority of Mailman 2 instances now run on a CPannel host, there is nothing like that for Mailman3 and setting up Mailman3 isn't trivial and has put several people off. I've done some consultancy work for some small orgs who want to implement Mailman3 but there isn't much out there. I think it would be a real boost to get Mailman3 on a platform such as Cloudron.

                        Relating to the mail setup I'm not fimiliar with Haraka in any way. Would you look at controlling the lists in Mailman via the Cloudron interface so Haraka knows what lists exist for a given domain, or have the lists on a dedicated domain that Haraka sends mail out to via LMTP? Since Mailman 3.3.6 we can use RCPT TO callout verification via LMTP which may help. Prior integrations either use Postfix with generation the transport maps via Mailman or with Exim as each list has a directory in the filesystem which Exim can check to ensure it is actually a valid list.

                        Andrew.

                        girishG 1 Reply Last reply
                        2
                        • A adhodgson

                          I've just done a migration of a few small VPS instances to a larger Cloudron instance, main reason because I wanted to run a small Mastodon instance. Mailman is the only app I've had to install manually alongside Cloudron. I can post notes here on how I did it but if we can get a Mailman package started that would be fab. I've experience with the Docker Mailman images as well as installing using Pip. My current setup uses a subdomain Cloudron doesn't know about, the mail for that is handled outside of Cloudron email via Exim. Only shared component is Nginx which is running the Cloudron apps as well as hosting the reverse proxy to Django using Uwsgi. Really impressed with the Cloudron ecosystem by the way.

                          I wouldn't mind betting that the majority of Mailman 2 instances now run on a CPannel host, there is nothing like that for Mailman3 and setting up Mailman3 isn't trivial and has put several people off. I've done some consultancy work for some small orgs who want to implement Mailman3 but there isn't much out there. I think it would be a real boost to get Mailman3 on a platform such as Cloudron.

                          Relating to the mail setup I'm not fimiliar with Haraka in any way. Would you look at controlling the lists in Mailman via the Cloudron interface so Haraka knows what lists exist for a given domain, or have the lists on a dedicated domain that Haraka sends mail out to via LMTP? Since Mailman 3.3.6 we can use RCPT TO callout verification via LMTP which may help. Prior integrations either use Postfix with generation the transport maps via Mailman or with Exim as each list has a directory in the filesystem which Exim can check to ensure it is actually a valid list.

                          Andrew.

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

                          @adhodgson said in Configure Haraka for Mailman3:

                          Would you look at controlling the lists in Mailman via the Cloudron interface so Haraka knows what lists exist for a given domain, or have the lists on a dedicated domain that Haraka sends mail out to via LMTP?

                          Ideally, this won't be part of the Cloudron interface. Mailman3 would be a separate app you install and that somehow interfaces transparently with Haraka to send email.

                          Roughly, what is needed on Cloudron/Haraka side to make mailman work? Just an LMTP endpoint to relay mail ? Can it use SMTP instead?

                          A 1 Reply Last reply
                          2
                          • girishG girish

                            @adhodgson said in Configure Haraka for Mailman3:

                            Would you look at controlling the lists in Mailman via the Cloudron interface so Haraka knows what lists exist for a given domain, or have the lists on a dedicated domain that Haraka sends mail out to via LMTP?

                            Ideally, this won't be part of the Cloudron interface. Mailman3 would be a separate app you install and that somehow interfaces transparently with Haraka to send email.

                            Roughly, what is needed on Cloudron/Haraka side to make mailman work? Just an LMTP endpoint to relay mail ? Can it use SMTP instead?

                            A Offline
                            A Offline
                            adhodgson
                            wrote on last edited by
                            #12

                            @girish Mailman only accepts messages via LMTP. If your mail server has issues with LMTP, you could get the Mailman container to run an MTA like Exim or Postfix. Haraka could send the email via SMTP to the MTA running inside the Mailman container, which would then do LMTP to Mailman.

                            Mailman has been Dockerised before: https://github.com/maxking/docker-mailman

                            These containers assume an MTA is running on the host and can pass LMTP to the Mailman container via the Docker network.

                            1 Reply Last reply
                            2
                            • girishG girish moved this topic from Support on
                            • girishG Do not disturb
                              girishG Do not disturb
                              girish
                              Staff
                              wrote on last edited by
                              #13

                              OK, thanks. I moved this thread to feature requests. It's quite a bit of automation to do.

                              avatar1024A 1 Reply Last reply
                              2
                              • girishG girish

                                OK, thanks. I moved this thread to feature requests. It's quite a bit of automation to do.

                                avatar1024A Offline
                                avatar1024A Offline
                                avatar1024
                                wrote on last edited by
                                #14

                                @girish Is this something you have a particular interest in implementing on your end as a way to bring mailing list to Cloudron or will it need a more collaborative effort from the community? I'm asking because we seem to have someone here with good knowledge of Mailman3 right now and so could be a good time to leverage on this. Are some of the things needed for this that can only be done on your end?

                                girishG 1 Reply Last reply
                                1
                                • avatar1024A avatar1024

                                  @girish Is this something you have a particular interest in implementing on your end as a way to bring mailing list to Cloudron or will it need a more collaborative effort from the community? I'm asking because we seem to have someone here with good knowledge of Mailman3 right now and so could be a good time to leverage on this. Are some of the things needed for this that can only be done on your end?

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

                                  @avatar1024 I guess we need an initial mailman Cloudron package for a start. https://github.com/maxking/docker-mailman is quite extensive and too complicated to maintain from the looks of it. After that, we have to make the LMTP addon happen on the Cloudron platform side. It's quite a bit of work to make all this happen.

                                  Is there no other way mailman works? Is there an alternative to LMTP?

                                  Also, is sympa a good alternative to this? If it is, what does that need?

                                  avatar1024A 1 Reply Last reply
                                  2
                                  • girishG girish

                                    @avatar1024 I guess we need an initial mailman Cloudron package for a start. https://github.com/maxking/docker-mailman is quite extensive and too complicated to maintain from the looks of it. After that, we have to make the LMTP addon happen on the Cloudron platform side. It's quite a bit of work to make all this happen.

                                    Is there no other way mailman works? Is there an alternative to LMTP?

                                    Also, is sympa a good alternative to this? If it is, what does that need?

                                    avatar1024A Offline
                                    avatar1024A Offline
                                    avatar1024
                                    wrote on last edited by
                                    #16

                                    @girish Humm I see, it really doesn't sound trivial.

                                    I'm afraid it's unclear that things would be any easier with SYMPA as I don't think there is a docker install.

                                    I guess that means proper mailing list is not likely to land on Cloudron any time soon. Shame as for people I work with it is the last missing piece to move everything to Cloudron.

                                    So far I haven't found a way to really replace mailing list for working group communications as it just trikes the right balance of accessibility (everyone has an email address and roughly know how to use emails), almost instant, yet semi-organised communication. Might start a discussion and ask how other people do it for organisations with non techy people.

                                    1 Reply Last reply
                                    1
                                    • chetbakerC Offline
                                      chetbakerC Offline
                                      chetbaker
                                      wrote on last edited by
                                      #17

                                      I just want to revive this thread again. I wonder if @adhodgson can provide more insights about how to have a roundabout for not having Mailman available at Cloudron but needing to have mailing lists. I’m on that side.

                                      1 Reply Last reply
                                      2
                                      • girishG girish

                                        @jasonh From my quick reading, it seems we need the ability for mailman3 to receive mail via LMTP from Haraka. This is not possible right now since Haraka only delivers internally to dovecot at this point.

                                        I will look into this further since I would really like mailman3 or another real mailing list app on Cloudron. In some ways, this request is similar to https://forum.cloudron.io/topic/6013/configure-outbound-mail-rules-in-haraka . If we could configure Haraka for specific cases like forwarding mail to another app or to another external email, we should be set.

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

                                        @girish said in Configure Haraka for Mailman3:

                                        it seems we need the ability for mailman3 to receive mail via LMTP from Haraka. This is not possible right now since Haraka only delivers internally to dovecot at this point.

                                        But its seems Haraka itself does indeed support LMTP, no? see e.g. https://cloudinfrastructureservices.co.uk/top-20-best-open-source-email-servers-for-windows-linux/

                                        Or perhaps better:
                                        https://haraka.github.io/plugins/queue/lmtp

                                        I use Cloudron with Gandi & Hetzner

                                        girishG 1 Reply Last reply
                                        1
                                        • jdaviescoatesJ jdaviescoates

                                          @girish said in Configure Haraka for Mailman3:

                                          it seems we need the ability for mailman3 to receive mail via LMTP from Haraka. This is not possible right now since Haraka only delivers internally to dovecot at this point.

                                          But its seems Haraka itself does indeed support LMTP, no? see e.g. https://cloudinfrastructureservices.co.uk/top-20-best-open-source-email-servers-for-windows-linux/

                                          Or perhaps better:
                                          https://haraka.github.io/plugins/queue/lmtp

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

                                          @jdaviescoates we already use the LMTP plugin but it's configured to only deliver incoming mails to dovecot. In the mailmain situation, we have to deliver mails to one (or more) apps. This requires a bit of work to make a mailman like app possible.

                                          1 Reply Last reply
                                          3
                                          • avatar1024A Offline
                                            avatar1024A Offline
                                            avatar1024
                                            wrote on last edited by
                                            #20

                                            @girish I wonder if there have been any progress since September that would help with this?

                                            And if not, where should someone with coding skills start looking?

                                            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