Project

General

Profile

Actions

Defect #11034

closed

TLS configuration documentation for Rails 3

Added by Martin Lindhe almost 12 years ago. Updated over 10 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Documentation
Target version:
Start date:
Due date:
% Done:

0%

Estimated time:
Resolution:
Fixed
Affected version:

Description

Since upgrading to 2.0.0 (also verified today on 2.0.1, and svn trunk) the smtp configuration settings for TLS encryption is somewhat broken, as notified by [1].

If a smtp server is configured with both "tls: true" and "enable_starttls_auto: true", this error occurs when trying to send mail:

An error occurred while sending mail (SSL_connect returned=1 errno=0 state=SSLv2/v3 read server hello A: unknown protocol)

This type of configuration is also the suggested method for configuring gmail in the redmine documentation [2].

As a workaround found by [1], you can remove the "tls: true" part of the configuration, while leaving in "enable_starttls_auto: true". I can also confirm that this workaround works for me, to make gmail & redmine working.

[1]: http://mentalized.net/journal/2012/05/08/rails_3_actionmailer_and_google_apps_for_domains/
[2]: http://www.redmine.org/projects/redmine/wiki/EmailConfiguration


Files

configuration.yml (7.14 KB) configuration.yml Rodrigo Macedo, 2013-01-03 13:39
Actions

Also available in: Atom PDF