Changeset 282 for trunk/email2trac.py.in
- Timestamp:
- 08/31/09 15:45:13 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/email2trac.py.in
r281 r282 28 28 Copyright 2005, Edgewall Software 29 29 30 Changed By: Bas van der Vlies <basv@sara.nl> 31 Date : 13 September 2005 32 Descr. : Added config file and command line options, spam level 33 detection, reply address and mailto option. Unicode support 34 35 Changed By: Walter de Jong <walter@sara.nl> 36 Descr. : multipart-message code and trac attachments 37 30 Authors: 31 Bas van der Vlies <basv@sara.nl> 32 Walter de Jong <walter@sara.nl> 38 33 39 34 The scripts reads emails from stdin and inserts directly into a Trac database. 40 MIME headers are mapped as follows:41 42 * From: => Reporter43 => CC (Optional via reply_all option)44 * Subject: => Summary45 * Body => Description46 * Component => Can be set to SPAM via spam_level option47 35 48 36 How to use 49 37 ---------- 38 * See https://subtrac.sara.nl/oss/email2trac/ 39 50 40 * Create an config file: 51 [DEFAULT] # REQUIRED 52 project : /data/trac/test # REQUIRED 53 debug : 1 # OPTIONAL, if set print some DEBUG info 54 spam_level : 4 # OPTIONAL, if set check for SPAM mail 55 reply_all : 1 # OPTIONAL, if set then fill in ticket CC field 56 umask : 022 # OPTIONAL, if set then use this umask for creation of the attachments 57 mailto_cc : basv@sara.nl # OPTIONAL, use this address as CC in mailto line 58 ticket_update: 1 # OPTIONAL, if set then check if this is an update for a ticket 59 trac_version : 0.9 # OPTIONAL, default is 0.11 60 61 [jouvin] # OPTIONAL project declaration, if set both fields necessary 62 project : /data/trac/jouvin # use -p|--project jouvin. 41 [DEFAULT] # REQUIRED 42 project : /data/trac/test # REQUIRED 43 debug : 1 # OPTIONAL, if set print some DEBUG info 44 trac_version : 0.9 # OPTIONAL, default is 0.11 45 46 [jouvin] # OPTIONAL project declaration, if set both fields necessary 47 project : /data/trac/jouvin # use -p|--project jouvin. 63 48 64 49 * default config file is : /etc/email2trac.conf
Note: See TracChangeset
for help on using the changeset viewer.