Project

General

Profile

Bug #401

Updated by Daniel Curtis over 10 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 smtp.altservice.com 
       port: 587 
       domain: altservice.com 
       authentication: :login 
       user_name: "root@example.com" "techsupport@altservice.com" 
       password: "SuperSecretPassword" "alphaTAU37" 
       openssl_verify_mode: 'none' 
 </pre> 

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

Back