filimonic

patch sendEmail-1.56 for Wheezy for GMAIL

Dec 11th, 2012
404
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.56 KB | None | 0 0
  1. @@ -1903,7 +1903,7 @@
  2. if ($conf{'tls_server'} == 1 and $conf{'tls_client'} == 1 and $opt{'tls'} =~ /^(yes|auto)$/) {
  3. printmsg("DEBUG => Starting TLS", 2);
  4. if (SMTPchat('STARTTLS')) { quit($conf{'error'}, 1); }
  5. - if (! IO::Socket::SSL->start_SSL($SERVER, SSL_version => 'SSLv3 TLSv1')) {
  6. + if (! IO::Socket::SSL->start_SSL($SERVER, SSL_version => 'SSLv3')) {
  7. quit("ERROR => TLS setup failed: " . IO::Socket::SSL::errstr(), 1);
  8. }
  9. printmsg("DEBUG => TLS: Using cipher: ". $SERVER->get_cipher(), 3);
Advertisement
Add Comment
Please, Sign In to add comment