forked from Fachschaft/nixConfig
Compare commits
2 commits
cc91339f80
...
1de3685584
Author | SHA1 | Date | |
---|---|---|---|
1de3685584 | |||
445f03c8a7 |
2 changed files with 2 additions and 1 deletions
|
@ -148,6 +148,7 @@ in {
|
||||||
# In order to accept mail that we only forward
|
# In order to accept mail that we only forward
|
||||||
# without having to generate an account.
|
# without having to generate an account.
|
||||||
# Invalid addresses are filtered by DFN beforehand.
|
# Invalid addresses are filtered by DFN beforehand.
|
||||||
|
# See also https://stalw.art/docs/smtp/inbound/rcpt/#catch-all-addresses
|
||||||
catch-all = true;
|
catch-all = true;
|
||||||
relay = [
|
relay = [
|
||||||
{
|
{
|
||||||
|
@ -267,6 +268,7 @@ in {
|
||||||
"stalwart-mail" = {
|
"stalwart-mail" = {
|
||||||
restartTriggers = lib.attrsets.mapAttrsToList (_: aliaslist: aliaslist.sopsFile) config.sops.secrets; # restart if secrets, especially alias files, have changed.
|
restartTriggers = lib.attrsets.mapAttrsToList (_: aliaslist: aliaslist.sopsFile) config.sops.secrets; # restart if secrets, especially alias files, have changed.
|
||||||
serviceConfig.PrivateTmp = lib.mkForce false; # enable access to generated Sieve script
|
serviceConfig.PrivateTmp = lib.mkForce false; # enable access to generated Sieve script
|
||||||
|
serviceConfig.ProtectSystem = lib.mkForce "full"; # "strict" does not allow writing to /tmp which we need for unpacking the webadmin interface. "full" is less strict.
|
||||||
};
|
};
|
||||||
"virt-aliases-generator" = {
|
"virt-aliases-generator" = {
|
||||||
description = "Virtual Aliases Generator: Generate a sieve script from the virtual alias file";
|
description = "Virtual Aliases Generator: Generate a sieve script from the virtual alias file";
|
||||||
|
|
|
@ -32,7 +32,6 @@ in {
|
||||||
config = {
|
config = {
|
||||||
transport_maps = ["hash:/var/lib/mailman/data/postfix_lmtp"];
|
transport_maps = ["hash:/var/lib/mailman/data/postfix_lmtp"];
|
||||||
local_recipient_maps = ["hash:/var/lib/mailman/data/postfix_lmtp"];
|
local_recipient_maps = ["hash:/var/lib/mailman/data/postfix_lmtp"];
|
||||||
proxy_interfaces = "130.83.2.184";
|
|
||||||
smtputf8_enable = "no"; # HRZ does not know SMTPUTF8
|
smtputf8_enable = "no"; # HRZ does not know SMTPUTF8
|
||||||
};
|
};
|
||||||
relayHost = "mathebau.de"; # Relay to mail vm which relays to HRZ (see https://www.hrz.tu-darmstadt.de/services/it_services/email_infrastruktur/index.de.jsp)
|
relayHost = "mathebau.de"; # Relay to mail vm which relays to HRZ (see https://www.hrz.tu-darmstadt.de/services/it_services/email_infrastruktur/index.de.jsp)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue