Project

General

Profile

Problem with email configuration

Added by Keopx OS about 13 years ago

I'm using dreamhost hosting for redmine and email.

I have a problem with the email settings and restart the application.

My configuration.yml settings:

production:
   email_delivery:
     delivery_method: :smtp
     smtp_settings:
       tls: true
       address: mail.domain.com
       port: 587
       domain: domain.com
       authentication: :plain
       user_name: "noreply@domain.com" 
       password: "xxxxxx" 

default:
  # Outgoing emails configuration (see examples above)
  email_delivery:
    delivery_method: :smtp
    smtp_settings:
      address: smtp.example.net
      port: 25
      domain: example.net
      authentication: :login
      user_name: "redmine@example.net" 
      password: "redmine" 

Production settings is a real configuration to send email. The email exist.

Restart aplication to use new settings:

RAILS_ENV=production rake redmine:load_default_data

Is this correct?


Replies (1)

[SOLVED] RE: Problem with email configuration - Added by Keopx OS about 13 years ago

$ cp configuration.yml.example  configuration.yml

Change configuration:

# default configuration options for all environments
default:
  # Outgoing emails configuration (see examples above)
  email_delivery:
    delivery_method: :smtp
    smtp_settings:
      address: mail.domain.com
      port: 587
      domain: domain.com
      authentication: :login
      user_name: "noreply@domain.com" 
      password: "xxxxx" 

And restart with:

$ rake redmine:load_default_data RAILS_ENV=production
    (1-1/1)