TurnKey Linux Virtual Appliance Library

Turnkey Redmine - SMTP config

Hi everyone,

By default all the Redmine content should be installed in /var/Redmine but I don't find any Redmine folder. I am trying to configure email server but can find the config file.

Can anybody help me to locate it and share the email config if possible?

Thanks in advance,

Remi

Jeremy's picture

Installed from upstream

So that would not be the appropriate place for it to be. If you look on the appliance page (http://www.turnkeylinux.org/redmine) then you can see that it is installed to /var/www/railsapp.

As for SMTP config I have no idea sorry. Perhaps you can find some info on the Redmine site? If you find what you are after and get it allvworking sweet, it'd be great if you can post back as I'm sure it'd be useful for others.

redmine smtp config file

As Jeremy mentioned, redmine = railsapp

You can configure your email smtp in /var/www/railsapp/config/email.yml

Have a look at the email.yml.example and use one of the configuration.

I use gmail so it would be:

# === SMTP server at using TLS (GMail)

production:
   delivery_method: :smtp
   smtp_settings:
     tls: true
     address: "smtp.gmail.com"
     port: 587
     domain: "smtp.gmail.com"
     authentication: :plain
     user_name: "your_email@gmail.com" 
     password: "your_password"
 
Cheers

the correct configuration

the correct configuration is:

 

production:
  email_delivery:
   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: "xxx@gmail.com" 
     password: "xxx"

Post new comment

The content of this field is kept private and will not be shown publicly. If you have a Gravatar account, used to display your avatar.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <p> <span> <div> <h1> <h2> <h3> <h4> <h5> <h6> <img> <map> <area> <hr> <br> <br /> <ul> <ol> <li> <dl> <dt> <dd> <table> <tr> <td> <em> <b> <u> <i> <strong> <font> <del> <ins> <sub> <sup> <quote> <blockquote> <pre> <address> <code> <cite> <strike> <caption>

More information about formatting options

Leave this field empty. It's part of a security mechanism.
(Dear spammers: moderators are notified of all new posts. Spam is deleted immediately)