summaryrefslogtreecommitdiff
blob: f5c5c39ee5c7153f1d781c95149c8fb0fe549701 (plain)
1
2
3
4
5
6
7
8
9
10
11
--- sendEmail	2013-05-21 16:44:18.000000000 +0100
+++ sendEmail	2013-06-05 09:26:20.000000000 +0100
@@ -1903,7 +1903,7 @@
     if ($conf{'tls_server'} == 1 and $conf{'tls_client'} == 1 and $opt{'tls'} =~ /^(yes|auto)$/) {
         printmsg("DEBUG => Starting TLS", 2);
         if (SMTPchat('STARTTLS')) { quit($conf{'error'}, 1); }
-        if (! IO::Socket::SSL->start_SSL($SERVER, SSL_version => 'SSLv3')) {
+        if (! IO::Socket::SSL->start_SSL($SERVER, SSL_version => 'SSLv3', SSL_verify_mode => 0x00)) {
             quit("ERROR => TLS setup failed: " . IO::Socket::SSL::errstr(), 1);
         }
         printmsg("DEBUG => TLS: Using cipher: ". $SERVER->get_cipher(), 3);