Contents of bypass_ssl_verification_for_open_uri.rb
OpenSSL::SSL::VERIFY_PEER = OpenSSL::SSL::VERIFY_NONE
My configuration for email settings
address: mail.mydomain.com
port: 26
authentication: plain
user_name: name@mydomain.com
password: secret
domain: mydomain.com
enable_starttls_auto: false