Check mail server open relay
# telnet mail.myserver.com 25
Trying 101.11.x.xxx…
Connected to mail.myserver.com.
Escape character is ‘^]’.
220 mail.myserver.com ESMTP Postfix
helo client.server.com
250 mail.myserver.com
mail from: tom@support.com
250 Ok
rcpt to: sham@linuxadminlogin.com
554 : Relay access denied
You see access denied to send email so my mail server is NOT open relay.
Category: Linux Administration
