gitea/mail2redmine/pipeline/head This commit looks good
Details
|
||
---|---|---|
debian | ||
mail_dumps | ||
Jenkinsfile | ||
README | ||
eo-redmine-mailfilter.sh | ||
mail2redmine.py | ||
setup.py | ||
test_mail2redmine.py | ||
tox.ini |
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 `