initial mailman config
This commit is contained in:
parent
b9c58f5363
commit
d1fb1b3de1
|
@ -69,6 +69,8 @@
|
||||||
./modules/ldap.nix
|
./modules/ldap.nix
|
||||||
# ./modules/keycloak.nix replaced by portunus
|
# ./modules/keycloak.nix replaced by portunus
|
||||||
./modules/nginx.nix
|
./modules/nginx.nix
|
||||||
|
./modules/mail.nix
|
||||||
|
./modules/mailman.nix
|
||||||
./modules/hedgedoc.nix
|
./modules/hedgedoc.nix
|
||||||
./modules/wiki.nix
|
./modules/wiki.nix
|
||||||
./modules/stream.nix
|
./modules/stream.nix
|
||||||
|
|
|
@ -41,6 +41,8 @@ in
|
||||||
networks = [ "127.0.0.1" "141.30.30.169" ];
|
networks = [ "127.0.0.1" "141.30.30.169" ];
|
||||||
sslCert = "/var/lib/acme/${hostname}/fullchain.pem";
|
sslCert = "/var/lib/acme/${hostname}/fullchain.pem";
|
||||||
sslKey = "/var/lib/acme/${hostname}/key.pem";
|
sslKey = "/var/lib/acme/${hostname}/key.pem";
|
||||||
|
relayDomains = [ "hash:/var/lib/mailman/data/postfix_domains" ];
|
||||||
|
|
||||||
extraAliases = ''
|
extraAliases = ''
|
||||||
# Taken from kaki, maybe we can throw out some at some point
|
# Taken from kaki, maybe we can throw out some at some point
|
||||||
# General redirections for pseudo accounts
|
# General redirections for pseudo accounts
|
||||||
|
@ -99,7 +101,9 @@ in
|
||||||
smtpd_sasl_auth_enable = true;
|
smtpd_sasl_auth_enable = true;
|
||||||
smtpd_sasl_path = "/var/lib/postfix/auth";
|
smtpd_sasl_path = "/var/lib/postfix/auth";
|
||||||
smtpd_sasl_type = "dovecot";
|
smtpd_sasl_type = "dovecot";
|
||||||
# virtual_mailbox_base = "/var/mail";
|
#mailman stuff
|
||||||
|
transport_maps = [ "hash:/var/lib/mailman/data/postfix_lmtp" ];
|
||||||
|
local_recipient_maps = [ "hash:/var/lib/mailman/data/postfix_lmtp" ];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
dovecot2 = {
|
dovecot2 = {
|
||||||
|
|
11
modules/mailman.nix
Normal file
11
modules/mailman.nix
Normal file
|
@ -0,0 +1,11 @@
|
||||||
|
{ config, ... }:
|
||||||
|
{
|
||||||
|
services.mailman = {
|
||||||
|
enable = true;
|
||||||
|
serve.enable = true;
|
||||||
|
webHosts = [ "lists.${config.fsr.domain}" ];
|
||||||
|
hyperkitty.enable = true;
|
||||||
|
enablePostfix = true;
|
||||||
|
siteOwner = "root@${config.fsr.domain}";
|
||||||
|
};
|
||||||
|
}
|
Loading…
Reference in a new issue