How to configure Redmine to receive emails

Redmine settings

  • Log in to Redmine.
  • Go to Administration -> Settings -> Incoming emails.
  • Activate checkbox Enable WS for incoming emails.
  • Click on Generate a key. The generated key will be needed later.
  • Save changes.

Configure email aliases

Add the following line to /etc/aliases to receive emails (replace API_key with generated key):
redmine: "|/usr/share/redmine/extra/mail_handler/rdm-mailhandler.rb --url http://localhost --key API_key --allow-override=project,tracker,status,priority,category"

For each project in Redmine add an additional line (replace API_key with generated key and project with the identifier of the project):
redmine+project: "|/usr/share/redmine/extra/mail_handler/rdm-mailhandler.rb --url http://localhost --key API_key --project=project --allow-override=tracker,status,priority,category"

Reload Postfix

newaliases
/etc/init.d/postfix reload

See also

How to install Redmine

How to install Postfix on Redmine server

http://www.redmine.org/projects/redmine/wiki/RedmineReceivingEmails

DocumentationForm edit

Title How to configure Redmine to receive emails
Description How to configure Redmine to receive emails
Tags Redmine Postfix
Category Admin
This topic: ATLAS/Documentation > ATLAS > GeneralDocumentation > RedmineReceiveEmails
Topic revision: 10 Aug 2012, NilsMangelsen
This site is powered by FoswikiCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding Foswiki? Send feedback