瀏覽代碼

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
沒有發現已知的金鑰在資料庫的簽署中 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..."


Loading…
取消
儲存