exherbo-dockermail/opendkim/boot

13 lines
337 B
Plaintext
Raw Normal View History

#!/bin/bash
2015-07-08 09:06:43 +00:00
# Copy OpenDKIM config
cp /mail_settings/opendkim.conf /etc/opendkim.conf
cp /mail_settings/mail.private /etc/dkim.key
2015-07-08 12:17:04 +00:00
chown root:root /etc/dkim.key
2015-07-08 09:06:43 +00:00
chmod 600 /etc/dkim.key
2015-07-26 21:19:24 +00:00
ln -sf /dev/stdout /var/log/mail.log
ln -sf /dev/stdout /var/log/mail.info
ln -sf /dev/stdout /var/log/mail.warn
ln -sf /dev/stderr /var/log/mail.err