Test email fails, and nothing is logged
Added by Ken Ficara over 12 years ago
I have a fresh Bitnami Redmine install on an EC2 instance. I have set up email two different ways, once using Amazon SES and once using GMail. Test emails fail with the message, "An error occurred while sending mail (Connection refused - connect(2))".
I have modified config/environments/production.rb to comment out the config.action_mailer.logger = nil line, and set config.action_mailer.raise_delivery_errors = true. I then restarted redmine using the ctlscript.sh script. Yet in the log, when I send a test email, I see none of the email diagnostics I'd expect. just this:
Processing AdminController#test_email (for xx.xx.xx.xx at 2012-03-30 16:59:17) [GET] Parameters: {"action"=>"test_email", "controller"=>"admin"} Settings cache cleared. Sending email notification to: xxxx@xxxxx.xxx Sent mail to Redirected to http://redmine.xxx.xxx/redmine/settings/edit?tab=notifications Completed in 37ms (DB: 3) | 302 Found [http://redmine.harmoni.ca/redmine/admin/test_email]
I think I could figure out the mail problem if I could just get some information about what it's trying to do, but I cannot even get it to log the errors. What am I doing wrong?