title: Net::OpenTimeout (execution expired) exception with Rails mailer
body: <p>I have problem with delivering emails on production server.
  When mailer processed new message, calls exception <code>Net::OpenTimeout (execution expired)</code></p>
  
  <p>My smtp settings:</p>
  
  <pre><code>#settings.yml
  production:
    smtp:
      address:        smtp.gmail.com
      port:           587
      domain:         mydomain.net
      user_name:      username@gmail.com
      password:       password
      authentication: plain
      enable_starttls_auto: true
  </code></pre>
  
  <p>My environment settings:</p>
  
  <pre><code>  #production.rb
    config.action_mailer.delivery_method = :smtp
    config.action_mailer.smtp_settings = Settings.smtp.symbolize_keys
  </code></pre>
  
  <p>From logs:</p>
  
  <pre><code>Sent mail to username@gmail.com (30010.1ms)
  I, [2014-10-15T12:59:22.371563 #19779]  INFO -- : Completed 500 Internal Server Error in 30051ms
  F, [2014-10-15T12:59:22.373984 #19779] FATAL -- :.
  Net::OpenTimeout (execution expired):
  app/controllers/subscribers_controller.rb:9:in `create'
  </code></pre>