私はubuntu 10.04でvpsを持っています。私はレール3のアプリケーションをインストールするつもりです 私はそれが動作するターミナルからsendmailコマンドをテストしようとすると。私のアプリケーションでsendmail:OpenSSL :: SSL :: SSLError:ホスト名が一致しません
、メールのため、私はapplication.rbファイルに挿入している:
config.action_mailer.delivery_method = :sendmail
config.action_mailer.sendmail_settings = {
:location => '/usr/sbin/sendmail',
:arguments => '-i -t'
}
しかし、私はレールに電子メールを送信しようとした場合、私は、このエラーが表示されます。
OpenSSL::SSL::SSLError: hostname was not match with the server certificate
from /opt/ruby/lib/ruby/1.8/openssl/ssl-internal.rb:123:in `post_connection_check'
どのようにできるのか?