Changeset 282


Ignore:
Timestamp:
08/31/09 15:45:13 (13 years ago)
Author:
bas
Message:

email2trac.py.in:

  • updated python doc info
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/email2trac.py.in

    r281 r282  
    2828Copyright 2005, Edgewall Software
    2929
    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 
     30Authors:
     31  Bas van der Vlies <basv@sara.nl>
     32  Walter de Jong <walter@sara.nl>
    3833
    3934The scripts reads emails from stdin and inserts directly into a Trac database.
    40 MIME headers are mapped as follows:
    41 
    42         * From:      => Reporter
    43                      => CC (Optional via reply_all option)
    44         * Subject:   => Summary
    45         * Body       => Description
    46         * Component  => Can be set to SPAM via spam_level option
    4735
    4836How to use
    4937----------
     38 * See https://subtrac.sara.nl/oss/email2trac/
     39
    5040 * 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. 
    6348       
    6449 * default config file is : /etc/email2trac.conf
Note: See TracChangeset for help on using the changeset viewer.