Redmine plugin to handle incoming emails as Redmine issues
- Uses the excellent Ruote workflow engine with RuoteKit for bringing in emails. This gives you the ability to view and fix broken incoming emails.
- Rake daemon task to poll a POP3 mailbox.
- The ability to assign that issue to a project based on the domain name in the from email address.
- Send an email back to the email sender on issue creation and issue close.
- Automatically send an email to the email sender based on an issue note.
- Create custom email templates using ERB.
- Regular expessions to ignore emails from a certain address or with a certain subject.
- Administration GUI to create multiple support settings based on the sender's email address.
- Redmine 2.x.x
- Ruby MRI 1.9, it has not yet been tested on 2.0 or other Ruby implementations.
- Currently Redis is required for Ruote persistence and it is assumed this is on the same host (this will to be configurable in a later version).
To install from scratch, clone this repository into the plugins directory of Redmine. You will then need to run
bundle install in the root Redmine directory to bring in all the dependencies.
rake redmine:plugins:migrate to add the required database tables.
Before running the email fetcher the following environment variables must be defined so that the rake task can access the email server:
The plugin comes with two rake tasks, these are both daemons and something like upstart should be used to run them along with your web server setup of choice. The rake commands to use for these are:
rake support:fetch_pop_emails rake support:run_email_engine
The first one should be configurable from a file and this will be added in the future.
If you are using Unicorn you will need to place the following in the
after_fork method in your unicorn config for Ruote to use Redis across multiple processes:
The administration GUI is built into Redmine in the Administration section.
To check Ruote to see if there are any errored emails go to
/_ruote. WARNING: This is currently an unprotected site which will be secured to only allow Redmine admins in a later verion.
Consult the issues of this project to see what is on the Roadmap. Feel free to request any features you would like.
Support Helpdesk is licensed under the GNU GPLv3 license and is free to use and alter.
Pull requests are welcomed.