ActionMailer Error: hostname was not match with the server certificate

Published on

You guys may have stuck with following error while using ActionMailer with Rails 2.2.2 . Actually, Rails 2.2.2 turn on STARTTLS if it is available in Net::SMTP (added in Ruby 1.8.7) and the SMTP server supports it. If you use postfix, then you fix it quickly by disabling tls by setting “smtpd_use_tls=no” in /etc/postfix/main.cf . … Continue reading ActionMailer Error: hostname was not match with the server certificate