simple script that converts incoming emails to redmine tickets
Go to file
Serghei Mihai 8cac154d21 cleanup message from signature or previous mails (#11124) 2016-06-21 14:14:24 +02:00
debian debian packaging (#10796) 2016-05-09 18:03:50 +02:00
mail_dumps initial tests (#10527) 2016-04-25 16:06:37 +02:00
README initial tests (#10527) 2016-04-25 16:06:37 +02:00
eo-redmine-mailfilter.sh fix path for mail2redmine script 2016-06-06 11:12:51 +02:00
mail2redmine.py cleanup message from signature or previous mails (#11124) 2016-06-21 14:14:24 +02:00
setup.py debian packaging (#10796) 2016-05-09 18:03:50 +02:00
test_mail2redmine.py initial tests (#10527) 2016-04-25 16:06:37 +02:00

README

mail2redmine
============

mail2redmine converts incoming email from Exim to Redmine tracker tickets by
using mail subject and body as ticket title and description respectively.

Ticket owner is detected from sender's address if a corresponding account
exists on Redmine. The email is sent to a fallback address if account doesn't
exist.

Email attachment are joined to the ticket.

Installation and configuration
==============================

Copy both scripts ``mail2redmine.py`` and ``eo-redmine-mailfilter.sh`` under
`/usr/local/bin`.

Configure your exim server to redirect emails to ``eo-redmine-mailfilter.sh``
script:

`
^support-[a-z-]*: "|/usr/local/bin/eo-redmine-mailfilter.sh"
`

Put an admin's account API key in ``/etc/redmine-key`` file.

Testing
=======

Install pytest to run tests.
Then run:
`
py.test
`