Email2trac

De Slacam_Wiki
Revisão de 02h38min de 17 de setembro de 2011 por Machado (Discussão | contribs) (Criou página com ''''Instalação do email2trac''' Installation First get the latest stable source of the package from: ftp://ftp.sara.nl/pub/outgoing/email2trac.tar.gz Contains The ema…')

(dif) ← Edição anterior | Revisão atual (dif) | Versão posterior → (dif)
Ir para: navegação, pesquisa

Instalação do email2trac

Installation

First get the latest stable source of the package from:

    ftp://ftp.sara.nl/pub/outgoing/email2trac.tar.gz 

Contains

The email2trac package contains the following utilities:

email2trac::

   Converts an email to ticket. Reads a config file email2trac.conf

run_email2trac::

   Suid program that changes the MTA-user to the TRAC-user so that we can save attachments

delete_spam::

   A small program that deletes the SPAM tickets from the database

email2trac.conf::

   Configuration file to set the behavior for email2trac.

Build process

Warning Icon Image Pay attention to the MTA_USER and TRAC_USER, they are not something you can ignore!

Unpack the tarball. There are several methods to build the package. No package manager

The configure script build default is /usr/local

./configure (see --help)

   default values for:
      prefix=/usr/local        --> --prefix=<path>
      exec_prefix=$prefix/bin  --> --exec_prefix=<path>
      sysconfdir=$prefix/etc   --> --sysconfdir=<path>
      MTA_USER=nobody          --> --with-mta_user=<name>
      TRAC_USER=www-data       --> --with-trac_user=<name>

make make install

If you want the python scripts to be included in the buildprocess add --enable-python