Project

General

Profile

Bug #401

Updated by Daniel Curtis about 7 years ago

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: 
 <pre> 
 # 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 altservice.com 
       authentication: :login 
       user_name: "root@example.com" 
       password: "SuperSecretPassword" 
       openssl_verify_mode: 'none' 
 </pre> 

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

Back