Testing SMTP with Telnet

Telnet testing. When you telnet on port 25 you should be greeted by 220 response code followed by the server name and MTA name.

# telnet mail.uplinkzero.com 25
Trying 88.198.15.207...
Connected to ip1.uplinkzero.com.
Escape character is '^]'.
220 mail.uplinkzero.com ESMTP Farm Yard Mail version 111.111
ehlo mail.uplinkzero.com
250-mail.uplinkzero.com
250-PIPELINING
250-SIZE 35651584
250-ETRN
250-STARTTLS
250-AUTH LOGIN PLAIN
250-AUTH=LOGIN PLAIN
250-ENHANCEDSTATUSCODES
250-8BITMIME
250 DSN
STARTTLS
220 2.0.0 Ready to start TLS
^]
telnet> q
Connection closed.

Repeat the steps above against amavis using port 10024

Of course, the other way to test is to use another email account to send email.

Burtronix Banner W3C Banner