nixos-mailserver
nixos-mailserver copied to clipboard
Provide mailing list support with mailman
It would be great to have simple switch to activate a mailing list manager like mailman on a given mail address.
Is it in the scope of this project?
Note that mailman is packed on NixOS but I did not found any module implementation.
Sounds like a good idea if it is not too complex. At some point we were planning of having downstream projects, maybe this is a good candidate.
So I'm looking at my ansible mailman role that I would like to migrate to this and it's not that complex..
Few variables are passed (if it ever worked correctly) to dependent mailserver role
postfix_alias_maps_append: ', hash:/etc/mailman/aliases'
postfix_local_recipient_maps_append: ', $alias_maps'
postfix_mydestination_append: ', $mydomain, lists.$mydomain'
Then a bunch of tasks configuring mailman and its SSL vhost https://github.com/nestihacky/ansible-role-mailman/blob/master/tasks/main.yml
This is gonna get greatly simplified as we can re-use apache/nginx/ssl from nixos and pass few variables (from the above list) to mailserver (I need to take a closer look if this is already possible but I guess so). Coincidentally I've just opened the list of issues and decided to finally deploy this instead of my current mailserver. Then I would like to migrate the rest of them which all need mailman. /braindump