Changes between Version 44 and Version 45 of Email2tracMta
- Timestamp:
- 06/18/13 11:34:50 (10 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Email2tracMta
v44 v45 4 4 It depends on your Mail Transfer Agent (MTA) how the setup. 5 5 6 == email2trac/run_email2trac command line options == 7 8 email2trac can handle several command line options. Here is 9 a short description of the command line options: 10 11 -A, --agilo:: 12 Enable the Agilo Ticket module, see [http://www.agilosoftware.com Agilo for trac]. 13 14 -d, --debug:: 15 Enable debug mode, all output is also send to the terminal and the parsed message is saved in TMPDIR. 16 17 -E, --virtualenv <path>:: 18 Sets/override the path where the trac virtual installation environment can be found. 19 20 -f, --file <configuration file:: 21 Use an alternate configuration file 22 23 -n,--dry-run:: 24 Do not do anything, only show the commands. 25 26 -p,--project <name>:: 27 This option selects a configuration stanza in the [wiki:Email2tracConfiguration config file] 28 29 -t, --ticket_prefix <name>:: 30 [https://subtrac.rc.sara.nl/oss/email2trac/wiki/Email2tracConfiguration#Defaultvaluesforticketfields Default values for ticket fields] 31 32 -v,--verbose:: 33 Increase log level from error to info. The output is dependent on the log settings specified in [wiki:Email2tracConfiguration email2trac.conf] 34 35 36 37 The options for run_email2trac are: 38 39 -e, --eggcache:: 40 Set the environment for the python egg cache directory. This must be writable by the trac user. 41 42 43 6 44 == Postfix == 7 45 The procedure is: 8 46 9 * Edit your alias definition file (default : /etc/aliases) for Postfix and add one line per project you want to allow ticket submission from email to. For each alias you can specify: 10 * --project: This option selects a configuration stanza in the [wiki:Email2tracConfiguration config file] 11 * --ticket_prefix: [https://subtrac.rc.sara.nl/oss/email2trac/wiki/Email2tracConfiguration#Defaultvaluesforticketfields Default values for tickets] 47 * Edit your alias definition file (default : /etc/aliases) for Postfix and add one line per project you want to allow ticket submission from email to. 12 48 {{{ 13 tracproj: "|/usr/bin/email2trac [--project <name>] [--ticket_prefix <name>]"49 tracproj: "|/usr/bin/email2trac <see email2trac command line options> 14 50 }}} 15 51 16 52 * Update your alias database with command ''newaliases'' 17 53 * '''Hint''': Please note that postfix seemingly runs commands from the alias definition file as user "nobody", even if the rest of it is running as user "postfix". So please assure that the MTA_USER is set to nobody, not to postfix! 18 * '''Hint''': Set the enviro ment for the python egg cache directory in the ''email2trac.conf''. The directory must be writeable by the trac user e.g ''/tmp''.54 * '''Hint''': Set the environment for the python egg cache directory in the ''email2trac.conf''. The directory must be writable by the trac user e.g ''/tmp''. 19 55 20 56 === Note for postfix ===