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

/etc/init.d/postfix reload

See also

How to install Redmine

How to install Postfix on Redmine server

DocumentationForm edit

Title How to configure Redmine to receive emails
Description How to configure Redmine to receive emails
Tags Redmine Postfix
Category Admin
Topic revision: r1 - 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