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

Weird PRT requirement #239

Open
exander77 opened this issue Nov 6, 2024 · 2 comments
Open

Weird PRT requirement #239

exander77 opened this issue Nov 6, 2024 · 2 comments

Comments

@exander77
Copy link

exander77 commented Nov 6, 2024

Reverse name(s) name.example.com for ip xxx.xxx.xxx.xxx do not match hostname mail.example.com, which will cause other mail servers to reject incoming messages from this IP.

I am getting a variant of this message.
This is not the requirement that exists.

IP address has to have PTR and PTR record has to forward resolve to IP address. But mail server hostname can be entirely different.

For example:

# host alpha.domain.com
alpha.domain.com has address 11.10.9.8
# host 11.10.9.8
8.9.10.11.in-addr.arpa domain name pointer alpha.domain.com.

With mail.domain.com mail server address is entirely valid configuration as far as I am aware.

@mjl-
Copy link
Owner

mjl- commented Nov 10, 2024

I think you're right that the IP hostname doesn't have to be the hostname configured for mox (the machine).
From memory, mox be doing this just to keep the configuration/setup straightforward.
Is there a use-case/reason to have a different hostname in mox (which uses the hostname during smtp ehlo) than in reverse dns?

@exander77
Copy link
Author

I think you're right that the IP hostname doesn't have to be the hostname configured for mox (the machine). From memory, mox be doing this just to keep the configuration/setup straightforward. Is there a use-case/reason to have a different hostname in mox (which uses the hostname during smtp ehlo) than in reverse dns?

A single IP address can generally serve multiple services, especially with virtualization and containers. RDNS usually leads to the hostname of the host system, sure you can have multiple RDNS, but almost nobody does that. The virtual machines or containers that handle services provided by the system are usually named differently. It may even be an entirely different system. Many servers may be hosted behind a single external IP.

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

No branches or pull requests

2 participants