Attachment problem

I’m a new user and have had a bit of stuggle to get my RT 3.0.4 installation working.

I have the basic functionality working now but have hit an issue with attachments. I can send an email with an attachment to my RT queue, and RT seems to recognise there is an attachment and displays it. The file name is correct, but the attachment is corrupt and file size is much smaller than it should be.

Are there any special tricks with getting RT to accommodate email attachments?

Richard Foxworthy wrote:

I’m a new user and have had a bit of stuggle to get my RT 3.0.4
installation working.

I have the basic functionality working now but have hit an issue with
attachments. I can send an email with an attachment to my RT queue,
and RT seems to recognise there is an attachment and displays it. The
file name is correct, but the attachment is corrupt and file size is
much smaller than it should be.

Are there any special tricks with getting RT to accommodate email
attachments?

mod_perl2/1 or fastCGI? Pg or mySQL?

Look at RT_SiteConfig.pm and RT_Config.pm for /truncate/ or /attachments/
There was some different issues according to your problem on this list.
Google for ‘site:fsck.com attachments coruption’ and other.

I’m still using RT 2.0.15. It’s been working great so
far, so never thought about upgrading.

I’ve never seen this problem, but I’ve never played
around much with attachments. I have someone trying
to attach a 1M pdf to a message, but the attachment
never shows up. There are no errors.
In my config.pm, I have:
$MaxAttachmentSize = 10000000;
So, I should be covered. Is there a log somewhere
that might tell me what the problem is? Or was there
a bug causing this problem?

I notice in the config file there is also reference to
a MaxAttachmentLength. Should this be defined as
well?

Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around

Check the version of PERL you’re running. Certain versions cause
attachement corruptions.

I ran into the same issue, and my workaround since RHEL 3 didn’t
support a newer version of at the time was to alias the queue address
to the queue and to a mailbox on our exchange server.

That way I could get the attachments and provide a very basic backup
of RT.

This is on the Wiki somewhere, IIRC.

ScottOn Apr 7, 2006, at 6:29 PM, Joseph Spenner wrote:

I’m still using RT 2.0.15. It’s been working great so
far, so never thought about upgrading.

I’ve never seen this problem, but I’ve never played
around much with attachments. I have someone trying
to attach a 1M pdf to a message, but the attachment
never shows up. There are no errors.
In my config.pm, I have:
$MaxAttachmentSize = 10000000;
So, I should be covered. Is there a log somewhere
that might tell me what the problem is? Or was there
a bug causing this problem?

I notice in the config file there is also reference to
a MaxAttachmentLength. Should this be defined as
well?


Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com


The rt-users Archives

Community help: http://wiki.bestpractical.com
Commercial support: sales@bestpractical.com

Discover RT’s hidden secrets with RT Essentials from O’Reilly Media.
Buy a copy at http://rtbook.bestpractical.com

We’re hiring! Come hack Perl for Best Practical: http://
Careers — Best Practical Solutions

check mysql’s option max_packet_size.On 4/8/06, Joseph Spenner joseph85750@yahoo.com wrote:

I’m still using RT 2.0.15. It’s been working great so
far, so never thought about upgrading.

I’ve never seen this problem, but I’ve never played
around much with attachments. I have someone trying
to attach a 1M pdf to a message, but the attachment
never shows up. There are no errors.
In my config.pm, I have:
$MaxAttachmentSize = 10000000;
So, I should be covered. Is there a log somewhere
that might tell me what the problem is? Or was there
a bug causing this problem?

I notice in the config file there is also reference to
a MaxAttachmentLength. Should this be defined as
well?


Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com


The rt-users Archives

Community help: http://wiki.bestpractical.com
Commercial support: sales@bestpractical.com

Discover RT’s hidden secrets with RT Essentials from O’Reilly Media.
Buy a copy at http://rtbook.bestpractical.com

We’re hiring! Come hack Perl for Best Practical: Careers — Best Practical Solutions

Best regards, Ruslan.

Remember, if you send the attachment via Mail, the size usually becomes
larger ( ~x0.3) due to base64 encoding.
If the size of an attachment is too big, RT silently discards it :confused:

regards, andreasOn Saturday 08 April 2006 00:29, Joseph Spenner wrote:

I’m still using RT 2.0.15. It’s been working great so
far, so never thought about upgrading.

I’ve never seen this problem, but I’ve never played
around much with attachments. I have someone trying
to attach a 1M pdf to a message, but the attachment
never shows up. There are no errors.
In my config.pm, I have:
$MaxAttachmentSize = 10000000;
So, I should be covered. Is there a log somewhere
that might tell me what the problem is? Or was there
a bug causing this problem?

I notice in the config file there is also reference to
a MaxAttachmentLength. Should this be defined as
well?


Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com


The rt-users Archives

Community help: http://wiki.bestpractical.com
Commercial support: sales@bestpractical.com

Discover RT’s hidden secrets with RT Essentials from O’Reilly Media.
Buy a copy at http://rtbook.bestpractical.com

We’re hiring! Come hack Perl for Best Practical:
Careers — Best Practical Solutions