Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not able to disable postgrey #119

Open
cfoehrdes opened this issue Aug 29, 2017 · 1 comment
Open

Not able to disable postgrey #119

cfoehrdes opened this issue Aug 29, 2017 · 1 comment

Comments

@cfoehrdes
Copy link

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 -%>
@cfoehrdes
Copy link
Author

If just looked at older version and in version 0.3.3 it actually is surrounded by the condition.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant