RT Config: Difference between revisions

From Request Tracker Wiki
Jump to navigation Jump to search
(Adding categories)
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<p />The most important config settings:
<p />
* Set( $rtname, 'example.com');
 
* Set($Organization, "example.com");
== Important config settings: ==
* <nowiki>#Set($CorrespondAddress, '');</nowiki>
 
* <nowiki>#Set($CommentAddress, '');</nowiki>
=== Your Organization Settings ===
* Set($WebDomain, "tickets.example.com");
You want to customize rt as much as possible
* <nowiki>#Set($Timezone, "US/Eastern"); # See http://en.wikipedia.org/wiki/List_of_tz_database_time_zones</nowiki>
<syntaxhighlight lang="perl" line="1" >
* Set($DatabaseType, "Pg"); #mysql | Oracle | Pg
Set($rtname, 'example.com');
* Set($DatabaseHost,   "localhost");
Set($Organization, "example.com");
* Set($DatabaseRTHost, "localhost");
Set($WebDomain, "tickets.example.com");
* Set($DatabaseUser, "rt_user");
Set($Timezone, "US/Eastern"); # See [[wikipedia:List_of_tz_database_time_zones|other timezones]]
* Set($DatabasePassword, "my_password");
</syntaxhighlight>
* Set($DatabaseName, "rt");
 
* <nowiki># Set($EmailSubjectTagRegex, qr/\Q$rtname\E/i );</nowiki>
==== [[Database Settings]] ====
* Set($OwnerEmail, 'admin');
Currently the following databases are supported: 
* Set($MaxAttachmentSize, 10_000_000);  # 10M
* MySQL 5.1 or later with InnoDB support.
* Postgres 8.4 or later; 9.0 or later suggested
* Oracle 9iR2 or later.
* SQLite 3.0 or later; for testing only, no upgrade path guaranteed
 
<syntaxhighlight lang="perl" line="1" >
Set($DatabaseType, "Pg"); #mysql | Oracle | Pg
Set($DatabaseHost,   "localhost");
Set($DatabaseRTHost, "localhost");
Set($DatabaseUser, "rt_user");
Set($DatabasePassword, "my_password");
Set($DatabaseName, "rt");
</syntaxhighlight>
 
==== Email ====
The default correspond and comment addresses will be listed in From: and Reply-To: headers of correspondence and comment mail tracked by RT, unless overridden by a queue-specific address.
 
<syntaxhighlight lang="perl" line="1" >
Set($CorrespondAddress, '');''
Set($CommentAddress, '');''
Set($EmailSubjectTagRegex, qr/\Q$rtname\E/i );
Set($OwnerEmail, 'admin');
Set($MaxAttachmentSize, 10_000_000);  # 10M
</syntaxhighlight>
 
[[Category:Configuration]]
[[Category:Configuration]]
==== Logging ====
The default is to log anything except debugging information to syslog. It might generally make sense to send error and higher by email to some administrator. Logging to a standalone file is also possible.

Latest revision as of 08:09, 24 June 2016

Important config settings:

Your Organization Settings

You want to customize rt as much as possible

 Set($rtname, 'example.com');
 Set($Organization, "example.com");
 Set($WebDomain, "tickets.example.com");
 Set($Timezone, "US/Eastern"); # See [[wikipedia:List_of_tz_database_time_zones|other timezones]]

Database Settings

Currently the following databases are supported:

  • MySQL 5.1 or later with InnoDB support.
  • Postgres 8.4 or later; 9.0 or later suggested
  • Oracle 9iR2 or later.
  • SQLite 3.0 or later; for testing only, no upgrade path guaranteed
 Set($DatabaseType, "Pg"); #mysql | Oracle | Pg
 Set($DatabaseHost,   "localhost");
 Set($DatabaseRTHost, "localhost");
 Set($DatabaseUser, "rt_user");
 Set($DatabasePassword, "my_password");
 Set($DatabaseName, "rt");

Email

The default correspond and comment addresses will be listed in From: and Reply-To: headers of correspondence and comment mail tracked by RT, unless overridden by a queue-specific address.

 Set($CorrespondAddress, '');''
 Set($CommentAddress, '');'' 
 Set($EmailSubjectTagRegex, qr/\Q$rtname\E/i );
 Set($OwnerEmail, 'admin');
 Set($MaxAttachmentSize, 10_000_000);  # 10M

Logging

The default is to log anything except debugging information to syslog. It might generally make sense to send error and higher by email to some administrator. Logging to a standalone file is also possible.