Problem trying to configure SMTP
Added by Rebe V over 2 years ago
Hi,
I need to configure SMTP without SSL/TLS but i do not find the way to do it. All the configurations i tried finished with this error:
SSL_connect SYSCALL returned=5 errno=0 peeraddr="the ip address and the port" state=SSLv3/TLS write client hello
One of them is:
email_delivery:
delivery_method: :smtp
smtp_settings:
address: "the ip address"
port: 25
Is it posible to use SMTP without SSL in redmine 5.0.1?
Replies (6)
RE: Problem trying to configure SMTP - Added by C S over 2 years ago
I think it would be better to look for the reasons why unencrypted transmission is still necessary
RE: Problem trying to configure SMTP - Added by Rebe V over 2 years ago
The reasons have been investigated and there is no solution for that. Do you know if there is any way to configure SMTP in redmine without SSL?
RE: Problem trying to configure SMTP - Added by C S over 2 years ago
Try:
enable_starttls: false
enable_starttls_auto: false
openssl_verify_mode: "NONE"
Taken from:
https://www.redmine.org/projects/redmine/wiki/EmailConfiguration
https://guides.rubyonrails.org/action_mailer_basics.html#action-mailer-configuration
RE: Problem trying to configure SMTP - Added by Mohamed El Habchi over 2 years ago
In my configuration I'm using port 587 and below are the details:
email_delivery:
delivery_method: :smtp
smtp_settings:
enable_starttls_auto: true
address: "smtp.office365.com"
port: 587
domain: "smtp.office365.com"
authentication: :plain
user_name: "mail@mail.com"
password: "your smtp password"
*NB be carefull with spacing
RE: Problem trying to configure SMTP - Added by Rebe V over 2 years ago
I have tried this configuration but the same error:
enable_starttls: false
enable_starttls_auto: false
openssl_verify_mode: "NONE"
RE: Problem trying to configure SMTP - Added by Rebe V over 2 years ago
I have also tried this one and the same error:
port: 25
ssl: false
tls: false