| 47 | Obtain a copy of the script, either by downloading the [ftp://ftp.sara.nl/pub/outgoing/email2trac.tar.gz latest stable source] or getting the latest [https://subtrac.sara.nl/oss/email2trac/browser/trunk trunk] or [https://subtrac.sara.nl/oss/email2trac/browser/tags/0.13 tagged] version. Unlike in a *nix environment, email2trac on Windows does not have to be built or packaged to work. The following files are needed: |
| 48 | |
| 49 | * email2trac.py.in |
| 50 | * delete_spam.py.in |
| 51 | * email2trac.conf |
| 52 | |
| 53 | Put these files in the directory of your choice, e.g. C:/projects/email2trac. Rename email2trac.py.in to email2trac.py and delete_spam.py.in to delete_spam.py.in. A few edits are necessary for email2trac.py to work in the Windows environment. |
| 54 | |
| 55 | 1. (For versions prior to 0.13 only) Comment out the syslog import (approximately line 95 in version 0.10). |
| 56 | {{{ #import syslog }}} |
| 57 | |
| 58 | 2. Specify the email2trac configuration file path (around line 1060 in version 0.13). |
| 59 | {{{ |
| 60 | |