Description of problem: Emails were failing to be sent because of invalid SSL cert verification. To work around the issue we had to add the following line to the site production.rb file. # Don't verify the certs used for SMTP+TLS. config.action_mailer.smtp_settings = { :openssl_verify_mode => 'none' } rpm -qf /var/www/openshift/site/config/environments/production.rb rhc-site-1.8.10-2.el6oso.noarch We need configuration options to be added to console.conf so we can make those settings there. Also an item needs to be added to the release ticket to remind the ops team to remove production.rb from Puppet management again once the setting is in place.
Implemented and in the release ticket
Tested on devenv_3277, registered new account with promocode, the email can be sent successfully, so verify this bug, see log as following: 2013-05-27 02:19:34.940 [DEBUG] Confirmation URL: https://ec2-54-226-58-225.compute-1.amazonaws.com/app/email_confirm (pid:30323) 2013-05-27 02:19:34.941 [DEBUG] Mailing promotional code to yujzhang+devtestjjj (pid:30323) 2013-05-27 02:19:34.948 [INFO ] Rendered promo_code_mailer/promo_code_email.html.erb (0.1ms) (pid:30323) 2013-05-27 02:19:34.958 [INFO ] Sent mail to snathan (8ms) (pid:30323) 2013-05-27 02:19:34.958 [DEBUG] Date: Mon, 27 May 2013 02:19:34 -0400 From: OpenShift <noreply.com> To: Marketing Mailing List <snathan> Message-ID: <51a2faf6e8d88_7673c318886954e> Subject: User signed up with promo code Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit <!DOCTYPE html> <html> <head> <meta content="text/html; charset=UTF-8" http-equiv="Content-Type" /> </head> <body> <h1>New user created</h1> <p> A user with email yujzhang+devtestjjj has successfully signed up with promotional code aaa<br/> </p> </body> </html> (pid:30323) 2013-05-27 02:19:34.959 [INFO ] [user_action] SUCCESS DATE=2013-05-27 TIME=02:19:34 ACTION=CREATE_USER USER_AGENT=Mozilla/5.0 (X11; Linux x86_64; rv:18.0) Gecko/20100101 Firefox/18.0 IP_ADDRESS=203.114.244.88 REQUEST_ID=dcb9b1ac1286c7a5d6eacea2061d3756 EMAIL=yujzhang+devtestjjj