Email attachments

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.

Thanks in advance.

Kind regarrds,
Abilash Praveen M

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.
Request Tracker Wiki

Thanks in advance.

Kind regarrds,
Abilash Praveen M


The rt-users Archives

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.

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.htmlFrom: “Ruslan Zakirov” ruslan.zakirov@gmail.com
To: “Abilash Praveen M” abilashpraveen82@hotmail.com
Cc: rt-users@lists.bestpractical.com
Sent: Monday, September 26, 2005 7:31 PM
Subject: Re: [rt-users] email attachments

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.
Request Tracker Wiki

Thanks in advance.

Kind regarrds,
Abilash Praveen M


The rt-users Archives

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.