Sendmail testing ports 25 and 110

Testing on port 110 – POP3 – listing messages in INBOX and downloading messages
# telnet 10.10.10.94 110
Trying 10.10.10.94…
Connected to 10.10.10.94 (10.10.10.94).
Escape character is ‘^]’.
+OK POP3 mail94.my.domain v2003.83rh server ready
user user1
+OK User name accepted, password please
pass password1
+OK Mailbox open, 4 messages
list
+OK Mailbox scan listing follows
1 4851
2 4794
3 903
4 2088
.
quit
+OK Sayonara
Connection closed by foreign host.

Testing on port 25 – SMTP – sending of messages from command line using SASLAUTHD authentication
# telnet 10.10.10.94 25
Trying 10.10.10.94…
Connected to 10.10.10.94 (10.10.10.94).
Escape character is ‘^]’.
220 mail94.my.domain ESMTP Sendmail 8.13.1/8.13.1; Tue, 19 Feb 2013 09:35:02 +0100
ehlo mail94.my.domain
250-mail94.my.domain Hello mail-2012.my.domain [10.10.10.38], pleased to meet you
250-ENHANCEDSTATUSCODES
250-PIPELINING
250-8BITMIME
250-SIZE
250-DSN
250-AUTH GSSAPI DIGEST-MD5 CRAM-MD5 LOGIN PLAIN
250-STARTTLS
250-DELIVERBY
250 HELP
auth login
334 VXNlcm5hbWU6
ZWJlbA=z
334 UGFzc3dvcmQ6
ZWJlbA=z
235 2.0.0 OK Authenticated
mail from: user1@my.domain
250 2.1.0 user1@my.domain… Sender ok
rcpt to: user2@other.domain
250 2.1.5 user2@other.domain… Recipient ok
data
354 Enter mail, end with “.” on a line by itself
bla bla bla
.
250 2.0.0 r1J8Z2II007767 Message accepted for delivery
quit
221 2.0.0 mail94.my.domain closing connection
Connection closed by foreign host.

This entry was posted in Linux and tagged , , , , . Bookmark the permalink.

Comments are closed.