Installing RT on Ubuntu 6.06

From Wiki

Jump to:navigation, search

RT is a comprehensive helpdesk package, with many plugins and possible uses.

To set up RT on Ubuntu 6.06:

Follow the instructions at

To enable Samba/Winbind authentication

Enable the pam authentication module for apache2

a2enmod auth_pam

Edit /etc/request-tracker3.6/apache2-modperl2.conf, at the bottom you will have

<Directory /usr/share/request-tracker3.6/html>
  SetHandler perl-script
  PerlHandler RT::Mason

Change it to:

<Directory /usr/share/request-tracker3.6/html>
  SetHandler perl-script
  PerlHandler RT::Mason
        AuthType Basic
        AuthName "RT"
        AuthPAM_Enabled On
        Require valid-user

<LocationMatch "/NoAuth">
        Satisfy Any
        Allow from all

Edit /etc/request-tracker3.6/ and add


Set($WebExternalAuth, 1);
Set($WebExternalAuto, 1);

At the bottom.

Add a user to the part of your Active Directory with the username 'root' and the password being whatever you set it to earlier after setting up RT initially.

Run /etc/init.d/apache2 force-reload

Try to log in to RT using the above username. It should log in fine.

To set up fetchmail to retrieve email from gmail (or any other pop3 host):

Install fetchmail (apt-get install fetchmail)

Edit /etc/fetchmail to look like (change the relevant information to suit your email address:

set syslog;
set daemon 90;
set postmaster "emailaddress";
poll proto pop3:
        username **** password **** ssl flush mda "/usr/bin/perl /usr/bin/rt-mailgate-3.6 --url http://site/rt --queue general --action correspond"

Save it, and run /etc/init.d/fetchmail start

You will now be able to email the address configured above and it will be fetched and placed in the General RT queue. If you wish to have other addresses for other queue's add more poll sections, changing the options where necessary.

Only one thing to note:

The system creates the accounts for the active directory users when they first log in. It does not set up any user details (such as email address) for the users, so a user will need to log in first, then be added to whatever groups you set up to allow them to edit their own preferences, or you will have to edit it yourself.