update mailman ssh settings and add root alias

This commit is contained in:
Rouven Seifert 2023-05-12 15:25:14 +02:00
parent 6a0655e3b1
commit a44c2e04e2
Signed by: rouven.seifert
GPG key ID: B95E8FE6B11C4D09
3 changed files with 6 additions and 2 deletions

1
config/aliases Normal file
View file

@ -0,0 +1 @@
root: mathias_stuhlbein

View file

@ -95,7 +95,7 @@ in
"permit_mynetworks"
"reject_unauth_destination"
];
#alias_maps = [ "ldap:${ldap-aliases}" ];
alias_maps = [ "hash:${../config/aliases}" ];
smtpd_milters = [ "local:/run/opendkim/opendkim.sock" ];
non_smtpd_milters = [ "local:/var/run/opendkim/opendkim.sock" ];
smtpd_sasl_auth_enable = true;

View file

@ -10,7 +10,10 @@
webHosts = [ "lists.${config.fsr.domain}" ];
hyperkitty.enable = true;
enablePostfix = true;
siteOwner = "root@${config.fsr.domain}";
siteOwner = "mailman@${config.fsr.domain}";
settings = {
mta.smtp_secure_mode = "SecureMode.SMTPS";
};
ldap = {
enable = true;
serverUri = "ldap://localhost";