`connect to private/policy-spf: No such file or directory` 在 centos 7 中通过 postfix 接收邮件时

kit*_*irl 4 email-server postfix spf centos7

我的系统是带有 postfix、dovecot、pypolicyd-spf、opendkim 的 centos 7。
可以发邮件但是收不到邮件

我注意到警告如下:

Feb  6 20:01:09 srv-8327 postfix/smtpd[20391]: warning: connect to private/policy-spf: No such file or directory
Feb  6 20:01:09 srv-8327 postfix/smtpd[20391]: warning: problem talking to server private/policy-spf: No such file or directory
Feb  6 20:01:10 srv-8327 postfix/smtpd[20391]: warning: connect to private/policy-spf: No such file or directory
Feb  6 20:01:10 srv-8327 postfix/smtpd[20391]: warning: problem talking to server private/policy-spf: No such file or directory
Run Code Online (Sandbox Code Playgroud)

我已经设置debugLevel = 4/etc/python-policyd-spf/policyd-spf.conf
如何找到问题python-policyd-spf

加:
我终于解决了这个问题
/etc/postfix/main.cf,我unix:private/policy 改为unix:private/policyd-spf,宾果游戏!

smtpd_recipient_restrictions = permit_mynetworks,permit_sasl_authenticated,reject_unauth_destination,check_policy_service unix:private/policyd-spf,reject_invalid_hostname,reject_non_fqdn_helo_hostname,reject_non_fqdn_sender,reject_non_fqdn_recipient
Run Code Online (Sandbox Code Playgroud)

kit*_*irl 5

我终于解决了这个问题:
/etc/postfix/main.cf,更改unix:private/policyunix:private/policyd-spf,宾果!