-
-
Notifications
You must be signed in to change notification settings - Fork 18
/
Copy pathRT_SiteConfig.pm.example
51 lines (44 loc) · 1.29 KB
/
RT_SiteConfig.pm.example
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
### Base configuration ###
Set($rtname, 'rt');
Set($WebDomain, 'localhost');
Set($WebPort, 443);
Set($CanonicalizeRedirectURLs, 1);
Set($CanonicalizeURLsInFeeds, 1);
Plugin('RT::Extension::MergeUsers');
Plugin('RT::Extension::TerminalTheme');
### Database connection ###
Set($DatabaseType, 'Pg' );
Set($DatabaseHost, 'db');
Set($DatabasePort, '5432');
Set($DatabaseUser, 'rt');
Set($DatabasePassword, 'password');
Set($DatabaseName, 'rt');
Set($DatabaseAdmin, "rt");
Set($SendmailPath, '/usr/bin/msmtp');
### GnuPG configuration ###
Set(%GnuPG,
Enable => 1,
GnuPG => 'gpg',
Passphrase => undef,
OutgoingMessagesFormat => 'RFC'
);
Set(%GnuPGOptions,
homedir => '/opt/rt5/var/data/gpg',
passphrase => 'PASSPHRASE',
keyserver => 'hkps://keys.openpgp.org',
'keyserver-options' => 'auto-key-retrieve timeout=20',
'auto-key-locate' => 'keyserver',
);
### SMIME configuration ###
Set(%SMIME,
Enable => 1,
AcceptUntrustedCAs => 1,
OpenSSL => '/usr/bin/openssl',
Keyring => '/opt/rt5/var/data/smime',
CAPath => '/opt/rt5/var/data/smime/signing-ca.pem',
Passphrase => {
'[email protected]' => 'PASSPHRASE',
'' => 'fallback',
},
);
1;