Skip to content

Wrong domain name in postsrsd config #852

@mherfurt

Description

@mherfurt

Hi,
thanks for your excellent work with docker-mailserver!
Quite recently, some changes were introduced, that broke my setup. It took me some time to figure out, why some mailservers were rejecting my mails with the errorcode 554 "Sender address rejected: Domain not found (in reply to RCPT TO command)". The reason for this is, that the file /etc/defaults/postsrsd contains the local domain of my bare-metal CoreOS cluster, which is not resolvable outside my network.
From what I learned so far, the domain-name is derived from the hostname, which is not using the correct domain.

Since I am using the OVERRIDE_HOSTNAME environment variable, it would be great, if the postsrsd configuration would also use the name set in this variable.

Thank you,
Martin

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions