Site web : http://www.jetmore.org/john/code/swaks/

Exemple de test en TLS :

boris.huisgen@vm-test:~$ swaks --server mail.hbis.fr --tls --from postmaster@hbis.fr --to postmaster@hbis.fr
=== Trying mail.hbis.fr:25...
=== Connected to mail.hbis.fr.
<-  220 mail.hbis.fr ESMTP
 -> EHLO vks10205.ip-37-59-126.eu
<-  250-mail.hbis.fr
<-  250-PIPELINING
<-  250-SIZE 20480000
<-  250-VRFY
<-  250-ETRN
<-  250-STARTTLS
<-  250-AUTH PLAIN
<-  250-ENHANCEDSTATUSCODES
<-  250-8BITMIME
<-  250 DSN
 -> STARTTLS
<-  220 2.0.0 Ready to start TLS
=== TLS started w/ cipher ECDHE-RSA-AES256-GCM-SHA384
=== TLS peer subject DN="/CN=www.hbis.fr"
 ~> EHLO vks10205.ip-37-59-126.eu
<~  250-mail.hbis.fr
<~  250-PIPELINING
<~  250-SIZE 20480000
<~  250-VRFY
<~  250-ETRN
<~  250-AUTH PLAIN
<~  250-ENHANCEDSTATUSCODES
<~  250-8BITMIME
<~  250 DSN
 ~> MAIL FROM:<postmaster@hbis.fr>
<~  250 2.1.0 Ok
 ~> RCPT TO:<postmaster@hbis.fr>
<~  250 2.1.5 Ok
 ~> DATA
<~  354 End data with <CR><LF>.<CR><LF>
 ~> Date: Fri, 24 May 2013 23:47:06 +0200
 ~> To: postmaster@hbis.fr
 ~> From: postmaster@hbis.fr
 ~> Subject: test Fri, 24 May 2013 23:47:06 +0200
 ~> X-Mailer: swaks v20120320.0 jetmore.org/john/code/swaks/
 ~>
 ~> This is a test mailing
 ~>
 ~> .
<~  250 2.0.0 Ok: queued as D9EE73B6004B
 ~> QUIT
<~  221 2.0.0 Bye
=== Connection closed with remote host.