Compare commits

..

1 commit

Author SHA1 Message Date
6009971ff5 Mailman backups 2024-04-01 09:31:06 +02:00

View file

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