Need help configuring smtp connection
I want redmine to be able to send notification emails. I renamed the example file to email.yml and poked around a bit.
But I cant seem to get the "send test email" to work. I get:
"An error occurred while sending mail (No connection could be made because the target machine actively refused it. - connect(2))"
The first search turned up this: http://www.redmine.org/boards/2/topics/show/2607
But doesnt that config look wierd? Isnt most of the settings commented out?
I also found this bug: http://www.redmine.org/issues/show/2212
Could I be affected?
Strange thing is, my searches just turns up people asking for help, no actual documentation about the config files. Or are they hidden somewhere and not included in the searches?
Also found this: http://www.redmine.org/boards/2/topics/show/667
I tried to run the command, but my redmine is hosted on a windows box. RAILS_ENV I guess is an enviorment variable, but I couldnt set it with that command. But running "ruby script\about" at least gave output. Although it seems to default to development env. But the version numbers are still there.
About your application's environment Ruby version 1.8.6 (i386-mswin32) RubyGems version 1.3.1 Rails version 2.0.2 Active Record version 2.0.2 Action Pack version 2.0.2 Active Resource version 2.0.2 Action Mailer version 2.0.2 Active Support version 2.0.2 Application root C:/redmine/redmine-0.7 Environment development Database adapter mysql
Finally, heres my email.yml:
# Outgoing email settings production: delivery_method: :sendmail smtp_settings: address: xx.xx.xx.xx port: 25 domain: xxxx.se authentication: :none user_name: password: development: delivery_method: :smtp smtp_settings: address: 127.0.0.1 port: 25 domain: example.net authentication: :login user_name: firstname.lastname@example.org password: redmine