A final issue, an one that appears to be common. I have set up my e-mail server and have created all of the appropriate DNS records. I have checked that my ISP allows connections to port 25 (it does). I am, however, still unable to receive mail.
Nethserver tells me that port 25 is unreachable.
I’ve run through all of the potential blocks to port 25 that I can think of: Nethserver network (I only have a green network); firewall; SMTP settings in relay; and router port fowarding.
When I check /var/log/maillog, I am told that
HELO command rejected: need fully-qualified hostname
I had HELO custom set to mail.[my domain], but that doesn’t seem to do the trick.
To check, I’d need your domainname… You can PM me the domainname.
I can check your connectivity with port 25 (I assume that’s not really the issue) but does your nethserver response on port 25 the way the pther side expects it, and you’re right that the smtp helo has to do with this…
systemctl restart postfix
systemctl status postfix
Your DNS MX will normally point to a domain, not to a host, so set your smtp helo accordingly.
Also set your PTR (Reverse Lookup) accordingly, this is very important!
You can also this link to test your mail:
If you get 9/10 (except unsubscribe link…) you’ll have working mail. Pay attention to their replies, you have three tries / day!
→ a very valuable tool!