소스 검색

prevent false detection of opendkim KeyTable config

default /etc/opendkim.conf has KeyTable appear in comment doco and example.
Shouldn't trigger the grep that checks whether this config has been applied.
pull/7/head
ayoung012 5 년 전
committed by GitHub
부모
커밋
db265994ac
No known key found for this signature in database GPG 키 ID: 4AEE18F83AFDEB23
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. +1
    -1
      emailwiz.sh

+ 1
- 1
emailwiz.sh 파일 보기

@@ -177,7 +177,7 @@ grep "127.0.0.1" >/dev/null 2>&1 /etc/postfix/dkim/trustedhosts ||
1.2.3.4/24" >> /etc/postfix/dkim/trustedhosts

# ...and source it from opendkim.conf
grep KeyTable /etc/opendkim.conf >/dev/null || echo "KeyTable file:/etc/postfix/dkim/keytable
grep ^KeyTable /etc/opendkim.conf >/dev/null || echo "KeyTable file:/etc/postfix/dkim/keytable
SigningTable refile:/etc/postfix/dkim/signingtable
InternalHosts refile:/etc/postfix/dkim/trustedhosts" >> /etc/opendkim.conf



불러오는 중...
취소
저장