2 RT-Extension-MessageSizeLimit - Force web message size limit on ticket
6 This RT extension enforces a certain message size limit when a user
7 create a ticket or make a comment/correspondance on it.
9 It uses a guess of outgoing mail size based on
10 subject/content/attachments. It may miss a few bytes from mail headers,
13 You would typically set the limit a little bit lower than your outgoing
16 See the configuration example under "INSTALLATION".
22 May need root permissions
24 Edit your /opt/rt4/etc/RT_SiteConfig.pm
25 If you are using RT 4.2 or greater, add this line:
27 Plugin('RT::Extension::MessageSizeLimit');
29 For RT 4.0, add this line:
31 Set(@Plugins, qw(RT::Extension::MessageSizeLimit));
33 or add "RT::Extension::MessageSizeLimit" to your existing @Plugins
36 Then configure the limit (default 9MB) using the $MessageSizeLimit
37 config option. This option takes the generic form of:
39 Set( $MessageSizeLimit, BYTES );
41 Clear your mason cache
42 rm -rf /opt/rt4/var/mason_data/obj
44 Restart your webserver
47 Dynamic enforcement using javascript
48 Allow translation of size units
51 Emmanuel Lacour, <elacour@home-dn.net>
54 All bugs should be reported via email to
56 L<bug-RT-Extension-MessageSizeLimit@rt.cpan.org|mailto:bug-RT-Extension-MessageSizeLimit@rt.cpan.org>
60 L<rt.cpan.org|http://rt.cpan.org/Public/Dist/Display.html?Name=RT-Extension-MessageSizeLimit>.
63 This software is Copyright (c) 2016 by Emmanuel Lacour
66 This is free software, licensed under:
68 The GNU General Public License, Version 2, June 1991