Project

General

Profile

smtp settings

Added by auddog 007 over 12 years ago

I'm new to Redmine and Linux which is taking me a bit longer to configure. I'm attempting configure the smtp settings. I found the email.yml in the /var/www/railapps/config folder and switched out the address from the default 127.0.0.1 to my ip address of 192.168.100.10. When I restarted the server I started getting Ruby on Rails error:

Error message:
syntax error on line 2, col 16: ` smtp_settings:'

Exception class:
ArgumentError

Application root:
/var/www/railsapp

I since have switched back the ip address but still get the same error. I'm thinking that some part of the syntax is wrong but don't know where. Here is the what's in my email.yml file

production:
delivery_method: :smtp
smtp_settings:
address: 127.0.0.1
port: 25
domain: :none
authentication: :none

thanks for any help that you can provide.

A


Replies (1)

RE: smtp settings - Added by Rick H over 12 years ago

I don't see any indentations in your file.
Spaces are critical or the whole file will not work.
No tabs allowed. Use two space for each "indent"

e.g.
production:
email_delivery:
delivery_method: :smtp
smtp_settings:
address: smtp.example.net
port: 25
domain: example.net
authentication: :login
user_name:
password: redmine

This page should help you: http://www.redmine.org/projects/redmine/wiki/EmailConfiguration

-Rick

    (1-1/1)