Compare commits

..

1 commit

Author SHA1 Message Date
3a1e670c28 Mailman backups 2024-04-01 15:41:42 +02:00

View file

@ -37,7 +37,7 @@ in {
proxy_interfaces = "130.83.2.184";
smtputf8_enable = "no"; # HRZ does not know SMTPUTF8
};
relayHost = "mailout.hrz.tu-darmstadt.de"; # Relay to HRZ (see https://www.hrz.tu-darmstadt.de/services/it_services/email_infrastruktur/index.de.jsp)
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)
};
mailman = {
enable = true;
@ -99,7 +99,10 @@ in {
# Backups
services.borgbackup.jobs.mailman = {
paths = "/var/lib/mailman/data/mailman.db";
paths = [
"/var/lib/mailman/data/mailman.db"
"/var/lib/mailman-web/mailman-web.db"
];
encryption.mode = "none"; # Otherwise the key is next to the backup or we have human interaction.
environment = {
BORG_RSH = "ssh -i /run/secrets/backupKey";