소스 검색

close quotation marks in opendkim socket config

opendkim ignores the invalid SOCKET config line, causing smtpd mail send to fail.

$ sudo systemctl status opendkim
systemd[1]: Ignoring invalid environment assignment 'SOCKET=inet:8891@localhost
systemd[1]: ': /etc/sysconfig/opendkim

$ journalctl
postfix/submission/smtpd[17646]: fatal: host/service localhost/8891 not found: Device or resource busy
pull/8/head
ayoung012 5 년 전
committed by GitHub
부모
커밋
095becf769
No known key found for this signature in database GPG 키 ID: 4AEE18F83AFDEB23
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. +1
    -1
      emailwiz.sh

+ 1
- 1
emailwiz.sh 파일 보기

@@ -182,7 +182,7 @@ SigningTable refile:/etc/postfix/dkim/signingtable
InternalHosts refile:/etc/postfix/dkim/trustedhosts" >> /etc/opendkim.conf

# OpenDKIM daemon settings, removing previously activated socket.
sed -i "/^SOCKET/d" /etc/default/opendkim && echo "SOCKET=\"inet:8891@localhost" >> /etc/default/opendkim
sed -i "/^SOCKET/d" /etc/default/opendkim && echo "SOCKET=\"inet:8891@localhost\"" >> /etc/default/opendkim

# Here we add to postconf the needed settings for working with OpenDKIM
echo "Configuring Postfix with OpenDKIM settings..."


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