I don’t want to change my rDNS to mail.mydomain.com since this is not only a mail server this has my main official domain.
can someone help me figure out what’s going on from my vistualmin and mail setup? maybe i can change HELLO: mail.mydomain.com to HELLO: server.mydomain.com
I have another server with the same setup and that has no issue with mailtester. no warning.
is this a cosmetic non-issue? that is, do you know if any vendor is refusing to accept your mail?
having just said that, I do recall we had one recipient like 10 years ago our clients tried to send mail to that did require the rDNS record to match exactly
Your tester is probably wrong. The language it uses to describe what’s going on is ambiguous, and your anonymization makes it so I can’t glean it from the actual values they’re showing, either, so I can’t be sure about what it’s suggesting is wrong.
But, I can tell you that no major mail server (and no sanely managed small one) will block email based on the PTR not matching the from: field in email. That would be insane and would block 90% of email. It’s literally stupid to claim this matters (and that’s what it seems like it’s saying).
If it means your HELO/EHLO hostname doesn’t match the PTR, that’s also not a big deal and won’t cause email to be blocked. But, some people do like to have it match for the sake of tidiness. This just means you set your PTR to match your system hostname.
You don’t have the option of having it be all your domains. It has to be some single name (PTR can only ever be one name, more violates spec and expectations, and there’s only one system hostname and you shouldn’t try to override it for HELO/EHLO in the general case). So, if you want it to look “nice”, set your system hostname and the PTR to the same thing (but not anything you are virtually hosting in Virtualmin).
Don’t override hostname things in the Postfix configuration. Set your actual system hostname and PTR to the thing you want.
Changing any of myhostname, mydomain, mydestination, etc. is very likely to break delivery of virtual mail, because it trickles through various other options (they become variables, $myhostname, that affect other options). There’s no good reason to do it when you can just choose to use the hostname you want to use.
Nothing in the Postfix module can ever set the system hostname. It changes Postfix options. /etc/mailname is not setting the system hostname, but it should generally match the system hostname.
It wasn’t about changing the host name. It was about changing the Postfix ‘from’ name. I thought what I pointed to would do that via the interface.
“What doman to use in the outbound mail”.
It’s about HELO/EHLO name. Not “from”, which comes from a header in the email (literally, the email client sets it).
It would (change HELO/EHLO), but you generally shouldn’t do that. You should change the system hostname to be what you want HELO/EHLO to be. Messing with myhostname, mydomain, mydestination, myorigin is likely to cause confusion and delivery problems with virtual mail.