wiki:Email2tracInstallation

Version 14 (modified by olle.jonsson@…, 16 years ago) (diff)

speling

Installation

First get the latest stable source of the package from:

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 behavouir for email2trac.

Build process

Unpack the tarball. There are 3 methods to build the package:

  • No package manager, builds default for /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
    
  • Debian package:
    debian/rules binary
    dpkg -i ../email2trac_<version>.deb
    NOTE:  It uses the defaults settings for MTA_USER and TRAC_USERS as mentioned above
    
  • RPM package
    cp email2trac.tar.gz /usr/src/redhat/SOURCES
    rpmbuild -ba email2trac.spec
    

Attachments (1)

Download all attachments as: .zip