Wer mal eben schnell seinen MTA mittels TLS testen will, kann dazu swaks verwenden:

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
localhost:/etc/postfix # swaks -tls -t miri@trainer-vm.digitalairlines.com trainer-vm.digitalairlines.com
=== Trying trainer-vm.digitalairlines.com:25...
=== Connected to trainer-vm.digitalairlines.com.
< -  220 trainer-vm.digitalairlines.com ESMTP Postfix
 -> EHLO localhost
< -  250-trainer-vm.digitalairlines.com
<-  250-PIPELINING
<-  250-SIZE 10240000
<-  250-VRFY
<-  250-ETRN
<-  250-STARTTLS
<-  250 8BITMIME
 -> STARTTLS
< -  220 Ready to start TLS
=== TLS started w/ cipher DHE-RSA-AES256-SHA
 ~> EHLO localhost
< ~  250-trainer-vm.digitalairlines.com
<~  250-PIPELINING
<~  250-SIZE 10240000
<~  250-VRFY
<~  250-ETRN
<~  250 8BITMIME
 ~> MAIL FROM:
< ~  250 Ok
 ~> RCPT TO:
< ~  250 Ok
 ~> DATA
.
 ~> Date: Sat, 05 Apr 2008 16:53:36 +0200
 ~> To: miri@trainer-vm.digitalairlines.com
 ~> From: root@localhost
 ~> Subject: test Sat, 05 Apr 2008 16:53:36 +0200
 ~> X-Mailer: swaks v20061116.0 jetmore.org/john/code/#swaks
 ~>
 ~> This is a test mailing
 ~>
 ~> .
< ~  250 Ok: queued as 71A172784E
 ~> QUIT
< ~  221 Bye
=== Connection closed with remote host.
` 

Aber auch SASL Authentifizierung ist kein Problem:

localhost:/etc/postfix # swaks -s localhost -f miri@localhost -t seoman@localhost -a -au miri -ap miri === Trying localhost:25… === Connected to localhost. < - 220 trainer-vm.digitalairlines.com ESMTP Postfix -> EHLO localhost < - 250-trainer-vm.digitalairlines.com <- 250-PIPELINING <- 250-SIZE 10240000 <- 250-VRFY <- 250-ETRN <- 250-STARTTLS <- 250-AUTH LOGIN <- 250-AUTH=LOGIN <- 250 8BITMIME -> AUTH LOGIN < - 334 VXNlcm5hbWU6 -> bWlyaQ== < - 334 UGFzc3dvcmQ6 -> bWlyaQ== < - 235 Authentication successful -> MAIL FROM: < - 250 Ok -> RCPT TO: < - 250 Ok -> DATA . -> Date: Sun, 06 Apr 2008 00:35:08 +0200 -> To: seoman@localhost -> From: miri@localhost -> Subject: test Sun, 06 Apr 2008 00:35:08 +0200 -> X-Mailer: swaks v20061116.0 jetmore.org/john/code/#swaks -> -> This is a test mailing -> -> . < - 250 Ok: queued as 56E64276D1 -> QUIT < - 221 Bye === Connection closed with remote host. `

Quelle: Linup Mail Unterlagen