Report this

What is the reason for this report?

Redmine email configuration on Ubuntu 14.04 with gmail

Posted on April 26, 2015

Dear Community!

Need some help, I am very new in Ubuntu. I have an pre-installed Redmine, but the email for the application was not setup yet.

I would like an step-by-step tutorial how can I configure the email with gmail smtp setting in Redmine.

Thanks for everybody.

Cheers Daniel



This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

hello,

thank you for your answer. Yes, I can send mail from console via SSH. Can you send me an step-by-step tutorial how can i edit the following file? /srv/redmine/config/configuration.yml (via console? :))

Cheers Daniel

This comment has been deleted

Email should be set up on the Redmine 1-click image by default. Are you able to send emails from your droplet at all? Try logging in via SSH and sending a test email to your email address:

echo test | mail you@gmail.com

If you want to send emails via SMTP through your Gmail account, add the following lines to /srv/redmine/config/configuration.yml:

production:
  email_delivery:
    delivery_method: :async_sendmail
    smtp_settings:
      enable_starttls_auto: true
      address: "smtp.gmail.com" 
      port: '587'
      domain: "smtp.gmail.com" 
      authentication: :plain
      user_name: "your_email@gmail.com" 
      password: "your_password" 

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.