title: error in redmine email notification via gmail
body: <p>I setup redmine on Ubuntu 10.04.2</p>
  
  <p>here is my email.yml:</p>
  
  <pre><code># Outgoing email settings
  
  production:
    delivery_method: :smtp
    smtp_settings:
      tls:true
      enable_starttls_auto: true
      address: "smtp.gmail.com"
      port: "587"
      domain: "smtp.gmail.com"
      authentication: :plain
      user_name: "******@gmail.com"
      password: "*****"
  
  development:
    delivery_method: :smtp
    smtp_settings:
      tls:true
      address: "smtp.gmail.com"
      port: "587"
      domain: "smtp.gmail.com"
      authentication: :plain
      user_name: "******@gmail.com"
      password: "*****"
  </code></pre>
  
  <p>I start the redmine server as root,login redmine with admin
  then <strong>Administration>Settings>Email notifications</strong>
  and then I send the test mail by clicking the link at bottom</p>
  
  <p>But i got this:
  <strong>An error occurred while sending mail (getaddrinfo: Name or service not known)</strong></p>
  
  <p>is there anyone who send email successfully via gmail?and please give me some suggestion</p>
  
  <p>thanks advance!</p>
  
  <p>-----------append1----------------</p>
  
  <p>I copy the "<strong>production:</strong>" in the <strong>config/email.yml</strong> to "<strong># ==== SMTP server at using TLS (GMail)production:</strong>" in the <strong>/etc/redmine/default/configuration.yml</strong> 
  and also modify the "<strong># default configuration options for all environments</strong>" in buttom of <strong>configuration.yml</strong></p>
  
  <p>It works!</p>
  
  <p>[CLOSED]</p>