Configure Redmine SMTP or Sendmail settings for outgoing email

Once you have Redmine up and running, you’ll want to configure it to send and receive emails. For this tutorial you’ll either need a locally installed Sendmail server or credentials for an SMTP server. If you don’t have either of these, you can create a Gmail account for your Redmine installation and use the SMTP service that comes with it.

Configuration File

Copy the template configuration file and take a look at the examples provided.

This is where you tell Redmine how it should be sending mail. You can customize the settings for each environment individually, or you can just set default mail settings used for all environments. I’m configuring the default settings.

If you scroll past the examples in the comments, you’ll come to an uncommented default configuration using SMTP. You can either modify this for your situation, or you can comment out the lines if you want to create your own from scratch.

SMTP No Authorization

Since there’s no authorization required for Redmine SMTP, the authentication, user_name, and password fields are not needed. Here I just commented the lines out, but they could also have been deleted from the file just the same.

Test Settings

Confirm that you’ve updated your account’s email address from the admin default at http://<yourserver>/my/account. This address is where notifications will be sent.

Go to the email notification settings under the administration menu. Update the emission email address and hit save. This should be located at http://<yourserver>/settings?tab=notifications.

Once the email address has been updated, you can click the send a test email link at the bottom of the page. If an error message does not appear on the screen right away, go to your email to see if the message went through successfully.