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

Script doesn't create /etc/postfix/virtual while /etc/postfix/master.cf has a reference to it #279

Closed
NecRaul opened this issue May 28, 2023 · 0 comments

Comments

@NecRaul
Copy link

NecRaul commented May 28, 2023

As mentioned in the title, when running the script on a clean install with nginx configured, the script doesn't create virtual but it uses hash:/etc/postfix/virtual for submission (in line 132) -o smtpd_sender_login_maps=hash:/etc/postfix/virtual. This results in a Relay access denied in some cases.

This can easily be fixed with using the same thing main.cf uses for smtpd_sender_login_maps which is pcre:/etc/postfix/login_maps.pcre. The script automatically generate the /etc/postfix/login_maps_pcre file in line 115.

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