Redmine and Amazon SES
Matteo Alessani on Dec 12 2013.
Redmine doesn't have support for Amazon SES out of the box. To get it working you need to setup your configuration.yml
in this way:
1 2 3 4 5 6 7 8 9 10 11 | production:
email_delivery:
delivery_method: :smtp
smtp_settings:
enable_starttls_auto: true
address: email-smtp.us-east-1.amazonaws.com
port: 587
domain: extendi.it
authentication: :login
user_name: "your-iam-access-key" # redmine IAM user on amazon ses
password: "your-iam-secret-key"
|
The problem is that if you create the IAM user inside the IAM console you are going to probably get this error:
1 2 3 | Net::SMTPAuthenticationError (535 Authentication Credentials Invalid):
app/models/mailer.rb:430:in 'deliver_mail'
app/controllers/account_controller.rb:95:in 'lost_password'
|
To fix the Authentication Credentials error you need to create the IAM user from the SMTP Settings in the SES console and not from the IAM page.