[rt-users] Max Attachement Size?

Michael Bochynski mbochynski at audiumcorp.com
Thu Oct 21 11:20:58 EDT 2004


And don;t forget about your database. MySQL by default limits files to !
MB only. Look into your config files for your DB.
Michael

On 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 at lists.bestpractical.com
> [mailto:rt-users-bounces at lists.bestpractical.com]On Behalf Of Rodney
> Caston
> Sent: Wednesday, October 20, 2004 4:25 PM
> To: rt-users at lists.fsck.com
> Subject: [rt-users] Max Attachement Size?
> 
> 
> Is there a maximum attachment size of a file for RT?
> 
> <snip>
> _______________________________________________
> http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users
> 
> Be sure to check out the RT wiki at http://wiki.bestpractical.com
> 



More information about the rt-users mailing list