Cleanup opendkim config

This commit is contained in:
Val
2014-11-11 02:00:00 +00:00
parent 2145aaffe0
commit 5716207821
2 changed files with 1 additions and 69 deletions

View File

@@ -1,6 +1,6 @@
# Copy OpenDKIM config
cp /mail_settings/opendkim.conf /etc/opendkim.conf
cp /mail_settings/mail.private /etc/mail/dkim.key
cp /mail_settings/mail.private /etc/postfix/dkim.key
if [ -f /mail_settings/myhostname ]; then
sed -i -e "s/myhostname = localhost/myhostname = $(sed 's:/:\\/:g' /mail_settings/myhostname)/" /etc/postfix/main.cf