1
0
mirror of https://github.com/mail-in-a-box/mailinabox.git synced 2025-04-20 02:52:11 +00:00

Ensure /var/lib/mailinabox/ exists before writing into it

This commit is contained in:
cmharper 2019-04-12 09:50:18 +01:00 committed by GitHub
parent 752cf706f5
commit 0397c3fe05
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -218,6 +218,7 @@ tools/editconf.py /etc/postfix/main.cf \
# ### MTA-STS - SMTP Mail Transfer Agent Strict Transport Security - SETUP
# See: https://github.com/mail-in-a-box/mailinabox/pull/1556
# create the MTA-STS policy
mkdir -p /var/lib/mailinabox/
cat > /var/lib/mailinabox/mta-sts.txt << EOF
version: STSv1
mode: enforce