fix(backup): /var/spool/postfix needs to be backed up

As this folder contains the mta folders and queue. It must be
backed up as mail could be lost that is awaiting delivery.

MR !9
This commit is contained in:
2022-02-19 11:29:44 +09:30
parent 43f6a356bd
commit 93378dee86
2 changed files with 2 additions and 1 deletions

View File

@ -144,7 +144,7 @@ RUN chmod +x /docker-entrypoint.sh \
# Setup data volumes
VOLUME /srv/mail /certs /var/spool/spamassassin /backup /var/log
VOLUME /srv/mail /certs /var/spool/postfix /var/spool/spamassassin /backup /var/log
# Configure postfix
RUN postconf -e "maillog_file=/var/log/postfix.log" \