email: Backup/restore aliases and mailboxes

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
This commit is contained in:
Sunil Mohan Adapa 2022-01-29 11:40:56 -08:00 committed by James Valleroy
parent 2c044db25c
commit 3b5091cbc3
No known key found for this signature in database
GPG Key ID: 77C0C75E7B650808

View File

@ -62,13 +62,15 @@ clients = [
backup = { backup = {
'data': { 'data': {
'files': ['/etc/aliases', ],
'directories': [ 'directories': [
'/var/lib/plinth/mailsrv', '/var/spool/postfix/fbx-managed/',
'/var/spool/postfix/fbx-managed', '/etc/postfix/',
'/etc/postfix', '/etc/dovecot/conf.d/',
'/etc/dovecot', '/etc/rspamd/',
'/etc/rspamd', '/var/lib/postfix/freedombox-aliases/',
'/var/lib/rspamd', '/var/lib/rspamd/',
'/var/mail/',
] ]
}, },
'services': ['postfix', 'dovecot', 'rspamd'] 'services': ['postfix', 'dovecot', 'rspamd']