Port 25 direct

$ telnet disruptive.org.uk 25
Trying 213.138.114.51...
Connected to disruptive.org.uk.
Escape character is '^]'.
220 rwhittaker.default.rwhittaker.uk0.bigv.io ESMTP Exim 4.84 Sun, 05 Jul 2015 13:56:33 +0100
HELO bloggs.com                 1
250 rwhittaker.default.rwhittaker.uk0.bigv.io Hello host-89-241-84-243.as13285.net [89.241.84.243]
MAIL From:fred@bloggs.com       2
250 OK
RCPT To:roger@disruptive.org.uk 3
250 Accepted
DATA
354 Enter message, ending with "." on a line by itself
test mail                       4
.                               5
250 OK id=1ZBjTp-0000U5-Pr
quit                            6
221 rwhittaker.default.rwhittaker.uk0.bigv.io closing connection
Connection closed by foreign host.
1 domain name we are coming from
2 From
3 To
4 mail message
5 ends mail
6 ends connection

Doing port 25 authentication (STARTTLS)

$ telnet gwmail.emea.novell.com 25
Trying 130.57.118.101...
Connected to gwmail.emea.novell.com.
Escape character is '^]'.
220 mail.emea.novell.com GroupWise Internet Agent 14.0.1  Copyright (c) 1993-2014 Novell, Inc.  All rights reserved. Ready
EHLO                     1
250-mail.emea.novell.com
250-AUTH LOGIN
250-8BITMIME
250-SIZE
250-DSN
250 STARTTLS
AUTH LOGIN               2
334 VXNlcm5hbWU6
cndoaXR0YWtlcgo=         3
334 UGFzc3dvcmQ6
TTRja1VyM2wK             4
235 Authentication successful
1 server waits for this user entry
2 server waits for this user entry
3 this is the output of echo rwhittaker | base64
4 this is the output of echo secretpasswd | base64

Port 993 secure imap connection (imaps)

$ openssl s_client -connect gwmail.emea.novell.com:993 -quiet
depth=2 C = US, O = DigiCert Inc, OU = www.digicert.com, CN = DigiCert High Assurance EV Root CA
verify return:1
depth=1 C = US, O = DigiCert Inc, OU = www.digicert.com, CN = DigiCert SHA2 High Assurance Server CA
verify return:1
depth=0 C = US, ST = Utah, L = Provo, O = "Novell, Inc.", CN = *.emea.novell.com
verify return:1
* OK [CAPABILITY IMAP4rev1 AUTH=PLAIN AUTH=XGWTRUSTEDAPP UNSELECT XGWEXTENSIONS] GroupWise Server Ready
a1 LOGIN rwhittaker secretpassword   1
a1 OK LOGIN completed
1 user entry