Mount the postfix queue as a volume, fixes #211

master
kaiyou 8 years ago
parent 4053273fe6
commit a1795d18fd

@ -7,6 +7,9 @@ mydomain = {{ DOMAIN }}
myhostname = {{ HOSTNAME }}
myorigin = $mydomain
# Queue location
queue_directory = /queue
# Message size limit
message_size_limit = {{ MESSAGE_SIZE_LIMIT }}

@ -29,5 +29,7 @@ fi
# Actually run Postfix
rm -f /var/run/rsyslogd.pid
chown -R postfix: /queue
/usr/lib/postfix/post-install meta_directory=/etc/postfix create-missing
/usr/lib/postfix/master &
rsyslogd -n

Loading…
Cancel
Save