Changes between Version 1 and Version 2 of Email2tracMta


Ignore:
Timestamp:
12/06/06 15:21:57 (16 years ago)
Author:
anonymous
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Email2tracMta

    v1 v2  
    33= Mail server configuration =
    44
     5It depends on your Mail Transfer Agent (MTA) how the setup.
    56
    67
    7 It depends on your MTA how the setup is. For Sendmail and Postfix, the procedure is the same :
     8== Postfix ==
     9
     10The procedure is:
     11 * Edit your alias definition file (default : /etc/aliases for Postfix and add one line per project/component you
     12   want to allow ticket submission from email to. For each alias, you can
     13   specify option --project. This option selects a configuration stanza in the
     14   [wiki:Email2tracConfig config file] and ''--component'' to specify a component other than the
     15   default component for the project. Line must have the following format :
     16{{{
     17     tracproj: |/usr/bin/run_email2trac [--project=<name>] [--component=<component>]
     18}}}
     19
     20
     21=== Note for postfix ===
     22
     23{{{run_email2trac}}} is totally unnecessary for Postfix. You can run a delivery command as any user just by placing the aliases in a separate file and {{{chown}}}ing that aliases file to the user you want the delivery to run as. Then you run {{{postalias /path/to/aliases}}}, which will create {{{/path/to/aliases.db}}}, and you then just add {{{hash:/path/to/aliases}}} to the {{{alias_maps}}} config variable in {{{main.cf}}}.
     24
     25The only caveat is that the user who owns the separate aliases file needs to have write perms to the directory that it's stored in (which rules out putting it in {{{/etc/postfix}}} unless you're nuts) 
     26-- mpalmer@hezmatt.org.
     27
     28== Sendmail ==
     29
     30 For Sendmail and Postfix, the procedure is the same :
    831 * Edit your alias definition file (default : /etc/aliases for Postfix,
    932   /etc/mail/aliases for Sendmail) and add one line per project/component you