-cert certs/localhost-cert.pem \
-key certs/localhost-key.pem \
-starttls smtp \
- -connect mailpostg.example.com:25
-# -connect $(TESTSRV):$(TESTPORT)
+ -connect $(TESTSRV):$(TESTPORT)
+# -connect mailpostg.example.com:25
go465 :
@ clear
S:MAIL FROM: <postmaster@example.com>
R:250 2.1.3 postmaster@example.com.. sender ok
S:RCPT TO: <webmaster@example.com>
-R:250 2.6.4 Address accepted
+R:250 2.6.4 Address accepted <webmaster@example.com>
S:RCPT TO: <dom1user1@mailref1.example.com>
-R:250 2.6.4 Address accepted
+R:250 2.6.4 Address accepted <dom1user1@mailref1.example.com>
S:RCPT TO: <dom2user1@mailleur.example.com>
-R:250 2.6.4 Address accepted
+R:250 2.6.4 Address accepted <dom2user1@mailleur.example.com>
S:RCPT TO: <dom1user2@mailref1.example.com>
-R:250 2.6.4 Address accepted
+R:250 2.6.4 Address accepted <dom1user2@mailref1.example.com>
S:RCPT TO: <dom2user2@mailleur.example.com>
-R:250 2.6.4 Address accepted
+R:250 2.6.4 Address accepted <dom2user2@mailleur.example.com>
#-------------------------------------------------------------------------
#-sending data
C:DATA 354 3.5.0 End data with <CR><LF>.<CR><LF>
case c_starttls : //EHLO start encrypted link in server mode
switch (soc_starttls(contact->socptr,true)) {
case true : //link now in TLS crypted mode
+/* JMPDBG
(void) transmit(contact,"%d Link now encrypted (cipher=<%s>)",
CMDOK,soc_get_cipher_name(contact->socptr));
+*/
break;
case false : //unable to establish link
(void) transmit(contact,"%d 5.3.3 command starttls not successful",