On October 31, 2022 8:12:08 AM UTC, Forums <for...@mehl-family.fr> wrote:
>Hello,
>
>Since this morning I can receive email, whitout doing something on my server.
>
>In maillog I can see the following errors:
>
>
>2022-10-31 08:59:37
>postfix/smtpd[6632]: NOQUEUE: reject: RCPT from fr-srvcomm[192.168.1.170]: 451
>4.3.5 : Recipient address rejected: Server configuration problem; from= to=
>proto=ESMTP helo=
>2022-10-31 08:59:37
>postfix/smtpd[6632]: warning: problem talking to server private/policyd-spf:
>Connection reset by peer
>2022-10-31 08:59:37
>postfix/smtpd[6632]: warning: premature end-of-input on private/policyd-spf
>while reading input attribute name
>2022-10-31 08:59:37
>postfix/spawn[6636]: warning: command /usr/bin/policyd-spf exit status 1
>2022-10-31 08:59:36
>postfix/smtpd[6632]: warning: premature end-of-input on private/policyd-spf
>while reading input attribute name
>2022-10-31 08:59:36
>postfix/spawn[6636]: warning: command /usr/bin/policyd-spf exit status 1
>2022-10-31 08:59:34
>postfix/smtpd[6632]: connect from fr-srvcomm[192.168.1.170]
>2022-10-31 08:59:34
>postfix/postscreen[6631]: WHITELISTED [192.168.1.170]:33462
>2022-10-31 08:59:34
>postfix/postscreen[6631]: CONNECT from [192.168.1.170]:33462 to
>[192.168.1.160]:25
>
>
>When I disable policyd-spf it's works without issue.
>
>
>* main.cf:
>
>policyd-spf_time_limit = 3600
>smtpd_recipient_restrictions =
> check_policy_service unix:private/policyd-spf
>
>
>* master.cf:
>
>policyd-spf unix - n n - 0 spawn
> user=nobody argv=/usr/bin/policyd-spf
>/etc/postfix-policyd-spf-python/policyd-spf.conf
>
>
>* /etc/postfix-policyd-spf-python/policyd-spf.conf:
>
>debugLevel = 2
>TestOnly = 1
>
>HELO_reject = Fail
>Mail_From_reject = Fail
>
>PermError_reject = False
>TempError_Defer = False
>
>skip_addresses = 127.0.0.0/8,::ffff:127.0.0.0/104,::1
>
>Whitelist = 192.168.1.0/24
There should be log entries from the policy server with those settings. Please
post a question at https://answers.launchpad.net/spf-engine with those log
entries related to the error. Without that information it's just a guess.
Also, please include the version and where you installed it from.
Scott K