It seems to me that there is a bug in the current release as it suddenly always configures postgrey in the smtpd_recipient_restrictions. After having a look at the template for the main.cf there is only a condition which type of postgrey has to be configured and not a surounding condition if it should be configured at all:
<% if @postgrey_policy_service -%>
check_policy_service <%= @postgrey_policy_service %>,
<% else -%>
check_policy_service unix:postgrey/socket,
<% end -%>
should probably be:
<% if @postgrey -%>
<% if @postgrey_policy_service -%>
check_policy_service <%= @postgrey_policy_service %>,
<% else -%>
check_policy_service unix:postgrey/socket,
<% end -%>
<% end -%>
It seems to me that there is a bug in the current release as it suddenly always configures postgrey in the
smtpd_recipient_restrictions
. After having a look at the template for themain.cf
there is only a condition which type of postgrey has to be configured and not a surounding condition if it should be configured at all:should probably be: