The email2trac package contains the following utilities: - email2trac.py: Converts an email to ticket. Reads a config file email2trac.conf - run_email2trac.c: Suid program that changes the MTA-user to the TRAC-user so that we can save attachments - delete_spam.py: A small program that deletes the SPAM tickets from the database - email2trac.conf: Is read by email2trac.py to set the various options. This are the options: [DEFAULT] # REQUIRED project: /data/trac/bas # REQUIRED debug: 1 # OPTIONAL, if set print some DEBUG info spam_level: 4 # OPTIONAL, if set check for SPAM mail reply_address: 1 # OPTIONAL, if set then fill in ticket CC field umask: 022 # OPTIONAL, Use this umask for saving attachments mailto_link: 1 # OPTIONAL, if set then [mailto:] in description email_header: 1 # OPTIONAL, if set then show TO/CC fields in description trac_version: 0.8 # OPTIONAL, if set use this as trac version SETUP ===== It depends on your MTA how the setup is. Below is an example of the SARA setup that uses postfix as our MTA. - Edit Makefile, adjust the variables - make - make install - Copy email2trac.conf to /etc (default location for email2trac.py) If different location use the "-f or --file=" to run_email2trac - vi /etc/aliases bas: |/usr/sbin/run_email2trac [-f | --file=] - newaliases - Test mail bas < test7.eml