Skip to content

Commit

Permalink
Updating location of opendmarc.pid and permissions
Browse files Browse the repository at this point in the history
  • Loading branch information
dave5623 authored Apr 27, 2020
1 parent 1de930f commit 3a76013
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions ServerSetup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -288,12 +288,13 @@ install_postfix_dovecot() {
opendkim-genkey -s mail -d "${primary_domain}"
echo 'SOCKET="inet:12301"' >> /etc/default/opendkim
chown -R opendkim:opendkim /etc/opendkim

chown -R opendmarc:opendmarc /var/run/opendmarc/

echo "Configuring opendmarc"

cat <<-EOF > /etc/opendmarc.conf
AuthservID ${primary_domain}
PidFile /var/run/opendmarc.pid
PidFile /var/run/opendmarc/opendmarc.pid
RejectFailures false
Syslog true
TrustedAuthservIDs ${primary_domain}
Expand Down

0 comments on commit 3a76013

Please sign in to comment.