By Dave Rolsky, Darren Chamberlain, Richard Foley, Jesse Vincent, Robert Spier
Book Price: $34.95 USD
£24.95 GBP
PDF Price: $27.99
Cover | Table of Contents
http://wiki.bestpractical.com/). And because RT is open source software, you are free to extend and change the core product to suit your needs.http://wiki.bestpractical.com/?WindowsOSInstallGuide.http://www.mysql.com/)http://www.postgresql.com/)http://www.oracle.com/)http://www.sqlite.org/)http://safari.oreilly.com.http://www.bestpractical.com/rt/download.html. In addition to the locations for packaged releases, this page also contains instructions on how to download the latest development copy of RT.http://download.bestpractical.com/pub/rt/release/rt.tar.gz, so you can grab that now, and place it in /tmp.
# gunzip -c rt.tar.gz | tar xvf -
# cd rt-3.x.x
$rtname option is a short, unique name for this particular RT instance. It appears in the subject line of emails, so the RT instance can determine that the ticket was intended for it. Do not choose a generic name like "support" or "tech" for your $rtname, because this has the potential to conflict with other RT instances. A short version of your company name or its acronym are good examples.
Set($rtname, "examplecorp");
$Organization should be a unique identifier for this particular RT instance, similar to a domain-name. $Organization is used for generating message identifiers and linking between RT instances. It does not necessarily have to be a valid hostname.
Set($Organization, "rt.example.com");
$rtname and $Organization, you will need to be very careful about changing them, because RT uses them internally to maintain data structures.$WebBaseURL and $WebPath to where in "URLspace" you plan to have RT installed. Now we'll tell Apache
about those values. (If you are not using Apache, you will need to extrapolate from the FastCGI section below.)rt.example.com for the example.com organization.
<VirtualHost *>
ServerName rt.example.com
DocumentRoot /opt/rt3/share/html
AddDefaultCharset UTF-8
PerlModule Apache::DBI
PerlRequire /opt/rt3/bin/webmux.pl
<Location />
SetHandler perl-script
PerlHandler RT::Mason
</Location>
</VirtualHost>
NameVirtualHost * earlier in your httpd.conf unless you are using IP-based virtual hosting. (In that case, specify an IP address in place of the *.)
Set($WebBaseURL, "http://rt.example.com");
Set($WebPath, "/");
Alias /rt3 /opt/rt3/share/html
<Location /rt3>
AddDefaultCharset UTF-8
SetHandler perl-script
PerlHandler RT::Mason
PerlModule Apache::DBI
PerlRequire /opt/rt3/bin/webmux.pl
</Location>
www.example.com, these would be the RT_SiteConfig.pm entries:
Set($WebBaseURL, "http://www.example.com");
Set($WebPath, "/rt3");
PerlOptions +Parent .mod_rewrite and mod-proxy loaded:
<VirtualHost *>
ServerName rt.example.com
RewriteEngine On
RewriteRule ^/(.*)$ http://localhost:8284/$1 [P,L]
</VirtualHost>
http://www.sendmail.org/), postfix (http://www.postfix.org/), and qmail (http://cr.yp.to/qmail.html). Most Unix-based operating systems ship with at least one of these available by default (Linux distributions have almost all of them available, in fact). Installing and configuring the MTA is beyond the scope of this book, but the vendors' web sites all provide detailed installation and configuration instructions.
Set($SendmailPath , "/usr/sbin/sendmail");
Set($SendmailArguments , "-oi -t");
mailgate (as shown in Table 2-3).|
Option
|
Meaning
|
|---|---|
—action=
comment|
correspond
|
Select whether this email should be processed as a comment or correspondence.
|
—queue
=QUEUENAME
|
Select which queue to process the email into.
|
—url=
URL OF RT INSTANCE
|
The URL of your RT instance.
|
configure with the proper arguments followed by a make testdeps. If there are any failures, you will need to resolve them.rt-users mailing list on http://lists.bestpractical.com, Chapter 8, or the RT Wiki at http://wiki.bestpractical.com.root and the password is password. After you log in for the first time, you will want to change this by clicking on "Preferences" in the upper right hand corner.
http://<
RTSERVER
>/Ticket/Display.html?id=<
NUMBER
>, where RTSERVER is the root of your RT instance, and NUMBER is the ID of the ticket. The notification emails RT sends when a new ticket is created will contain this URL unless your administrator has removed it from the template. If none of these help you, and you don't know the ticket number, you can use the search interface to find your ticket. RT's search UI lets you build complex queries with relative ease; see "Searching for Tickets" later in this chapter.