8000 Unable to send email even when authenticated · Issue #225 · bokysan/docker-postfix · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Unable to send email even when authenticated #225
Open
@imro2

Description

@imro2

I just spent hours researching this. Could not send email if even when SASL authentication succeeded. I was getting Client host rejected: Access denied; and reviewed all the polices I copied from the example. I could not come up with a reason. Only after adding POSTFIX_debug_peer_list: host-from-which-i-am-sending.com did I get a clue.

It turned out to be the this default (for this docker) policy:

smtpd_client_restrictions=permit_mynetworks,reject

It would be great if permit_sasl_authenticated was part of the policy by default so other people don't have to go through this.

I solved it for my self by adding this to my docker-compose:

POSTFIX_smtpd_client_restrictions: "permit_mynetworks, permit_sasl_authenticated, reject"

Hopefully it will help other searching for a similar issue.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0