Is there a maximum attachment size of a file for RT?
Look in in the file:
/usr/local/rt3/etc/RT_SiteConfig.pm
(Note “/usr/local/” may be something else on your system")
$MaxAttachmentSize sets the maximum size (in bytes) of attachments stored
in the database.
For mysql and oracle, we set this size at 10 megabytes.
If you’re running a postgres version earlier than 7.1, you will need
to drop this to 8192. (8k)
Set($MaxAttachmentSize , 10000000);
$TruncateLongAttachments: if this is set to a non-undef value,
RT will truncate attachments longer than MaxAttachmentLength.
Set($TruncateLongAttachments , undef);
$DropLongAttachments: if this is set to a non-undef value,
RT will silently drop attachments longer than MaxAttachmentLength.
Set($DropLongAttachments , undef);
Cheers,
Sam-----Original Message-----
From: rt-users-bounces@lists.bestpractical.com
[mailto:rt-users-bounces@lists.bestpractical.com]On Behalf Of Rodney
Caston
Sent: Wednesday, October 20, 2004 4:25 PM
To: rt-users@lists.fsck.com
Subject: [rt-users] Max Attachement Size?
Is there a maximum attachment size of a file for RT?
Look in in the file:
/usr/local/rt3/etc/RT_SiteConfig.pm
(Note “/usr/local/” may be something else on your system")
$MaxAttachmentSize sets the maximum size (in bytes) of attachments stored
in the database.
For mysql and oracle, we set this size at 10 megabytes.
If you’re running a postgres version earlier than 7.1, you will need
to drop this to 8192. (8k)
Set($MaxAttachmentSize , 10000000);
$TruncateLongAttachments: if this is set to a non-undef value,
RT will truncate attachments longer than MaxAttachmentLength.
Set($TruncateLongAttachments , undef);
$DropLongAttachments: if this is set to a non-undef value,
RT will silently drop attachments longer than MaxAttachmentLength.
Set($DropLongAttachments , undef);
Cheers,
Sam-----Original Message-----
From: rt-users-bounces@lists.bestpractical.com
[mailto:rt-users-bounces@lists.bestpractical.com]On Behalf Of Rodney
Caston
Sent: Wednesday, October 20, 2004 4:25 PM
To: rt-users@lists.fsck.com
Subject: [rt-users] Max Attachement Size?
Is there a maximum attachment size of a file for RT?
And don;t forget about your database. MySQL by default limits files to !
MB only. Look into your config files for your DB.
MichaelOn Thu, 2004-10-21 at 00:56, Mail List17 wrote:
Look in in the file:
/usr/local/rt3/etc/RT_SiteConfig.pm
(Note “/usr/local/” may be something else on your system")
$MaxAttachmentSize sets the maximum size (in bytes) of attachments stored
in the database.
For mysql and oracle, we set this size at 10 megabytes.
If you’re running a postgres version earlier than 7.1, you will need
to drop this to 8192. (8k)
Set($MaxAttachmentSize , 10000000);
$TruncateLongAttachments: if this is set to a non-undef value,
RT will truncate attachments longer than MaxAttachmentLength.
Set($TruncateLongAttachments , undef);
$DropLongAttachments: if this is set to a non-undef value,
RT will silently drop attachments longer than MaxAttachmentLength.
Set($DropLongAttachments , undef);
Cheers,
Sam-----Original Message-----
From: rt-users-bounces@lists.bestpractical.com
[mailto:rt-users-bounces@lists.bestpractical.com]On Behalf Of Rodney
Caston
Sent: Wednesday, October 20, 2004 4:25 PM
To: rt-users@lists.fsck.com
Subject: [rt-users] Max Attachement Size?Is there a maximum attachment size of a file for RT?
_______________________________________________ http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-usersBe sure to check out the RT wiki at http://wiki.bestpractical.com