mirror of
https://github.com/docker-mailserver/docker-mailserver.git
synced 2024-01-19 02:48:50 +00:00
- fixed equal sign
This commit is contained in:
parent
07ec823f45
commit
b73e602e3e
|
@ -99,10 +99,10 @@ chmod -R 0700 /etc/opendkim/keys/
|
||||||
|
|
||||||
# DMARC
|
# DMARC
|
||||||
# if ther is no AuthservID create it
|
# if ther is no AuthservID create it
|
||||||
if [ `cat /etc/opendmarc.conf | grep AuthservID | wc -l` -gt 0 ]; then
|
if [ `cat /etc/opendmarc.conf | grep AuthservID | wc -l` -eq 0 ]; then
|
||||||
echo "AuthservID $hostname" >> /etc/opendmarc.conf
|
echo "AuthservID $hostname" >> /etc/opendmarc.conf
|
||||||
fi
|
fi
|
||||||
if [ `cat /etc/opendmarc.conf | grep TrustedAuthservIDs | wc -l` -gt 0 ]; then
|
if [ `cat /etc/opendmarc.conf | grep TrustedAuthservIDs | wc -l` -eq 0 ]; then
|
||||||
echo "TrustedAuthservIDs $hostname" >> /etc/opendmarc.conf
|
echo "TrustedAuthservIDs $hostname" >> /etc/opendmarc.conf
|
||||||
fi
|
fi
|
||||||
if [ ! -f "/etc/opendmarc/ignore.hosts" ]; then
|
if [ ! -f "/etc/opendmarc/ignore.hosts" ]; then
|
||||||
|
|
Loading…
Reference in a new issue