[rt-users] email attachments

Abilash Praveen M abilashpraveen82 at hotmail.com
Mon Sep 26 10:08:58 EDT 2005


thanks,
it's fixed now.

Q: Attachments greater then xxx dropped silently. Where is the problem?

A:

  a.. RT's Config option MaxAttachmentSize.
  b.. Are you using MySQL? Make sure the max_packet_size in /etc/my.cnf is 
set to needed value.
Note: for mysqld < 4.0.2 syntax is "set-variable = max_allowed_packet=16M" 
under [mysqld].
      for mysqld > 4.0.2 syntax is "max_allowed_packet=16M" under [mysqld].
      please refer to 
http://dev.mysql.com/doc/mysql/en/Program_variables.html
----- Original Message ----- 
From: "Ruslan Zakirov" <ruslan.zakirov at gmail.com>
To: "Abilash Praveen M" <abilashpraveen82 at hotmail.com>
Cc: <rt-users at lists.bestpractical.com>
Sent: Monday, September 26, 2005 7:31 PM
Subject: Re: [rt-users] email attachments


On 9/26/05, Abilash Praveen M <abilashpraveen82 at hotmail.com> wrote:
>
> Hi,
>
> My site config is here..
>
> # 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 MaxAttachmentSize.
>
> Set($TruncateLongAttachments , undef);
>
> # $DropLongAttachments: if this is set to a non-undef value,
> # RT will silently drop attachments longer than MaxAttachmentSize.
>
> Set($DropLongAttachments , undef);
>
> It looks like any attachment more than 1MB emailed to create ticket 
> doesn't
> get through. I have few questions.
>
> 1) How do I set RT up so that it creates tickets even if the attachment is
> more than 1 MB?
> 2) How can I increase the attachment size to mroe than 1 MB?
> 3) How do I tell the client if the attachment has been refused because of
> the size?
>
> I think that is all for now.
http://wiki.bestpractical.com/?FAQ

>
> Thanks in advance.
>
> Kind regarrds,
> Abilash Praveen M
> _______________________________________________
> http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users
>
> Be sure to check out the RT Wiki at http://wiki.bestpractical.com
>
> Buy your copy of our new book, RT Essentials, today!
>
> Download a free sample chapter from
> http://rtbook.bestpractical.com
>
>


--
Best regards, Ruslan.



More information about the rt-users mailing list