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

No mail is Accepted on localhost #144

Open
rainerrose opened this issue Jan 10, 2025 · 0 comments
Open

No mail is Accepted on localhost #144

rainerrose opened this issue Jan 10, 2025 · 0 comments

Comments

@rainerrose
Copy link

This is an entry for an existing PR.

When using the role we get errors in the logs:

Jan 02 12:00:29 theHostName postfix/smtpd[133726]: fatal: in parameter smtpd_relay_restrictions or smtpd_recipient_restrictions, specify at least one working instance of: reject_unauth_destination, defer_unauth_destinat>
Jan 02 12:00:30 theHostName postfix/master[133716]: warning: process /usr/lib/postfix/sbin/smtpd pid 133726 exit status 1
Jan 02 12:00:30 theHostName postfix/master[133716]: warning: /usr/lib/postfix/sbin/smtpd: bad command startup -- throttling

Research result:
Apparently somewhere in the Postfix config

mynetworks = 127.0.0.0/8 [::1]/128 

and

smtpd_relay_restrictions = permit_mynetworks, reject

or similar to allow relaying on localhost.

@andanotheruser has submitted a PR #143

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