Skip to content

No mail is Accepted on localhost #144

@rainerrose

Description

@rainerrose

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

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions