Wiring up mailu + mailman3 #1

Closed
opened 2020-11-01 15:22:52 +00:00 by decentral1se · 4 comments
Owner

I'm aiming to get mailman3 on the coop cloud train. In preparation for that, I've been scoping out if we can wire mailu up into mailman3. It seems possible! Creating this ticket to brainstorm an approach.

These tickets are relevant:

I am not quite sure what it means to relay messages from mailu to mailman3 though?

Relevant mailman3 references:

And of course, it seems this person actually managed to do it!

I'm aiming to get mailman3 on the coop cloud train. In preparation for that, I've been scoping out if we can wire mailu up into mailman3. It seems possible! Creating this ticket to brainstorm an approach. These tickets are relevant: - https://github.com/Mailu/Mailu/issues/220 - https://github.com/Mailu/Mailu/pull/257 I am not quite sure what it means to relay messages from mailu to mailman3 though? Relevant mailman3 references: - https://docs.mailman3.org/projects/mailman/en/latest/src/mailman/docs/mta.html And of course, it seems this person actually managed to do it! - https://patrick.georgi.family/2019/01/12/combining-mailman-3-with-mailu/
Author
Owner

Not even started but https://git.autonomic.zone/coop-cloud/mailman3 exists ;)

Not even started but https://git.autonomic.zone/coop-cloud/mailman3 exists ;)
Owner

This seems like the goodness:

For this to work properly on the same public IP address, you must run both on the same Docker network (or with a Docker network in common), and have only one of the Postfix servers to listen publicly.

The expected behaviour would probably be to have Mailu listen on the public IP address and redirect mails to Mailman's Postfix. Unfortunately, Mailu does not yet have an option to redirect emails for a specific domain to a given MX. One would have to implement this first (should be quite simple though).

Except now Mailu does have said relaying feature, so I think the steps might be:

  1. Install Mailu (done!)
  2. Install Mailman3
  3. Add the Mailman3 domain to Mailu as a relayed domain
  4. I think that's it?
  5. Otherwise we can dive into the tips from Patrick
This seems like the goodness: > For this to work properly on the same public IP address, you must run both on the same Docker network (or with a Docker network in common), and have only one of the Postfix servers to listen publicly. > > The expected behaviour would probably be to have Mailu listen on the public IP address and redirect mails to Mailman's Postfix. Unfortunately, Mailu does not yet have an option to redirect emails for a specific domain to a given MX. One would have to implement this first (should be quite simple though). Except now Mailu does have said relaying feature, so I think the steps might be: 1. Install Mailu (done!) 2. Install Mailman3 3. Add the Mailman3 domain to Mailu as a relayed domain 4. I think that's it? 5. Otherwise we can dive into the tips from Patrick
Author
Owner

Ok, thank you! I put in a quick hour on this just to get started, see https://git.autonomic.zone/coop-cloud/mailman3/issues/1#issuecomment-1922. I do think you are right, it is basically wiring up that relay domain and then everything else is just configuration on the side of mailman. Everything seems fairly well documented but it is just a bit hairy because Mailman is a bit hairy.

Ok, thank you! I put in a quick hour on this just to get started, see https://git.autonomic.zone/coop-cloud/mailman3/issues/1#issuecomment-1922. I do think you are right, it is basically wiring up that relay domain and then everything else is just configuration on the side of mailman. Everything seems fairly well documented but it is just a bit hairy because Mailman is a bit hairy.
Author
Owner

OK, nearly there. Closing this off, thanks for thinking along!

OK, nearly there. Closing this off, thanks for thinking along!
Sign in to join this conversation.
No Label
No Milestone
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: coop-cloud/mailu#1
No description provided.