Skip to content

mynetworks missmatch container ip #261

@Zehir

Description

@Zehir

Hello, I try to send a mail with auth from the docker host but I get the error: Relay access denied

So I look the main.cf file and I see:
smtpd_relay_restrictions = permit_mynetworks permit_sasl_authenticated defer_unauth_destination mynetworks = 127.0.0.0/8 [::ffff:127.0.0.0]/104 [::1]/128 172.17.0.0/16
But the ip address of eth0 of container is 172.18.0.2 so is not in 172.17.0.0/16.

This is expected?

Thank

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions