collect CCs from original email, with extra settings in RT_SiteConfig
[monitor.git] / rt3 / rtconf.d / planetlab.pl
1
2 @ACL = (
3         { GroupDomain => 'SystemInternal',
4           GroupType => 'Everyone',
5           Right => 'CreateTicket', },
6
7         { GroupDomain => 'SystemInternal',
8           GroupType => 'Everyone',
9           Right => 'ReplyToTicket', },
10
11         { GroupDomain => 'RT::System-Role',
12           GroupType => 'AdminCc',
13           Right => 'WatchAsAdminCc', },
14           
15         { GroupDomain => 'RT::System-Role',
16           GroupType => 'Cc',
17           Right => 'ReplyToTicket', },
18
19         { GroupDomain => 'RT::System-Role',
20           GroupType => 'Cc',
21           Right => 'Watch', },
22
23         { GroupDomain => 'RT::System-Role',
24           GroupType => 'Owner',
25           Right => 'ReplyToTicket', },
26
27         { GroupDomain => 'RT::System-Role',
28           GroupType => 'Owner',
29           Right => 'ModifyTicket', },
30 );
31
32 @Scrips = (
33     {  ScripCondition => 'On Create',
34        ScripAction    => 'AutoReply To Requestors',
35        Template       => 'AutoReply' },
36 );
37
38 @Templates = (
39     {  Queue       => '0',
40        Name        => 'Autoreply',                                         # loc
41        Description => 'Default Autoresponse template',                     # loc
42        Content     => 'Subject: AutoReply: {$Ticket->Subject}
43
44 Hello,
45
46 Thank you very much for reporting this.
47
48 This message was automatically generated in response to the
49 creation of a trouble ticket regarding:
50
51         "{$Ticket->Subject()}"
52
53 There is no need to reply to this message right now.  Your ticket has been
54 assigned an ID of [{$rtname} #{$Ticket->id()}].
55
56 Please include the string:
57
58     [{$rtname} #{$Ticket->id}]
59
60 in the subject line of all future correspondence about this issue. To do so, 
61 you may reply to this message.
62
63 Thank you,
64 {$Ticket->QueueObj->CorrespondAddress()}
65
66 -------------------------------------------------------------------------
67 {$Transaction->Content()}
68 '
69     },
70         {
71       Queue       => '0',
72       Name        => 'correspondance with CC',                 # loc
73       Description => 'Message with the recipients in the header',          # loc
74       Content     => 'RT-Attach-Message: yes
75
76 Email Recipients (see http://PLC_RT_HOSTNAME/rt3/Ticket/Display.html?id={$Ticket->id} )
77     Owner: {$Ticket->OwnerObj->Name}
78     Requestor: {$Ticket->RequestorAddresses}
79 { if ($acc=$Ticket->AdminCcAddresses) { "    Ticket Ccs: " . $acc } }
80 ==================================================
81
82 {$Transaction->Content()}
83 '
84         },
85 );