Submit mailing list mails to correct vm based on port forwarding and run allowlist job less often

This commit is contained in:
Gonne 2025-02-25 16:22:31 +01:00
parent f0e584e239
commit 70b3a694c4

View file

@ -35,7 +35,7 @@ in {
proxy_interfaces = "130.83.2.184"; proxy_interfaces = "130.83.2.184";
smtputf8_enable = "no"; # HRZ does not know SMTPUTF8 smtputf8_enable = "no"; # HRZ does not know SMTPUTF8
}; };
relayHost = "192.168.0.24"; # Relay to eihort 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)
}; };
mailman = { mailman = {
enable = true; enable = true;
@ -64,9 +64,9 @@ in {
systemd.timers."mailAllowlist" = { systemd.timers."mailAllowlist" = {
wantedBy = ["timers.target"]; wantedBy = ["timers.target"];
timerConfig = { timerConfig = {
OnBootSec = "5m"; # Run every 5 minutes OnBootSec = "1h"; # Run every hour
OnUnitActiveSec = "5m"; OnUnitActiveSec = "1h";
RandomizedDelaySec = "2m"; # prevent overload on regular intervals RandomizedDelaySec = "10m"; # prevent overload on regular intervals
Unit = "mailAllowlist.service"; Unit = "mailAllowlist.service";
}; };
}; };