RT Config

From Request Tracker Wiki
Jump to navigation Jump to search

Important config settings:

Your Organization Settings

You want to customize rt as much as possible

1  Set($rtname, 'example.com');
2  Set($Organization, "example.com");
3  Set($WebDomain, "tickets.example.com");
4  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
1  Set($DatabaseType, "Pg"); #mysql | Oracle | Pg
2  Set($DatabaseHost,   "localhost");
3  Set($DatabaseRTHost, "localhost");
4  Set($DatabaseUser, "rt_user");
5  Set($DatabasePassword, "my_password");
6  Set($DatabaseName, "rt");


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.

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


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.