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 · 4 comments
Open

No mail is Accepted on localhost #144

rainerrose opened this issue Jan 10, 2025 · 4 comments
Assignees

Comments

@rainerrose
Copy link

rainerrose commented Jan 10, 2025

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 are required to allow relaying on localhost.

@andanotheruser has submitted a PR #143

@andanotheruser
Copy link

Apparently somewhere in the Postfix config
(...)
or similar ARE REQUIRED to allow relaying on localhost.

Looks like the two words "are required" are missing :)

(Luckily I still had some spare words lying around :D)

@tersmitten
Copy link
Member

Which OS, postfix version are you running?

@tersmitten
Copy link
Member

Related #122

@tersmitten tersmitten self-assigned this Feb 27, 2025
@andanotheruser
Copy link

Which OS, postfix version are you running?

Version needs to be looked up, but it is always Debian.

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

No branches or pull requests

3 participants