On 10/04/23 14:21, tom--- via Postfix-users wrote:
I have resolved the issue by:

1. install unbound as dns resolver locally

This is good.

2. change this statement:
    check_policy_service unix:private/policyd-spf,
   to this one:
   check_policy_service { unix:private/policyd-spf, default_action=DUNNO },

The default_action here actually defines what action postfix will take if the policyd errors out (e.g. not running). By default this is "451 4.3.5 Server configuration problem" which results in a deferral, so it would not cause the message to pass by default but rather to defer. That said, there is nothing wrong with this setting if that's what you actually want to happen if the policyd isn't working.

now it works perfectly.

Excellent, glad you were able to work it out.


Peter
_______________________________________________
Postfix-users mailing list -- postfix-users@postfix.org
To unsubscribe send an email to postfix-users-le...@postfix.org

Reply via email to