Project

General

Profile

Bug #401

Redmine Error Sending Email

Added by Daniel Curtis over 6 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Target version:
-
Start date:
06/09/2014
Due date:
% Done:

100%

Estimated time:
0.10 h
Spent time:

Description

I encountered a problem with redmine where it would not send email. After checking the production.log I found the following error:

Email delivery error: hostname does not match the server certificate

It turns out I needed to add the following to the configuration.yml:

# default configuration options for all environments
default:
  # Outgoing emails configuration (see examples above)
  email_delivery:
    delivery_method: :smtp
    smtp_settings:
      address: smtp.example.com
      port: 587
      domain: example.com
      authentication: :login
      user_name: "root@example.com" 
      password: "SuperSecretPassword" 
      openssl_verify_mode: 'none'

The last line openssl_verify_mode: 'none' is what relaxed the certificate checking.

History

#1 Updated by Daniel Curtis over 6 years ago

  • Status changed from In Progress to Closed

#2 Updated by Daniel Curtis over 6 years ago

  • Description updated (diff)

#3 Updated by Daniel Curtis over 5 years ago

  • Description updated (diff)

#4 Updated by Daniel Curtis over 5 years ago

  • Project changed from 24 to Website Hosting

Also available in: Atom PDF