[rt-users] Attachments > 1MB creates multiple tickets

Patrick LeBoutillier patl at fusemail.com
Fri Feb 6 08:43:45 EST 2004


If you are on MySQL, check for this setting in /etc/my.cnf:

max_allowed_packet = 1M

This will cause an error when trying to insert stuff larger than 1M.

Patrick

On Fri, 2004-02-06 at 04:36, Danie Marais wrote:
> Hi,
> 
> Whenever someone sends a mail to RT which contains an attachment larger than
> 1MB it creates 10 tickets (or 10 entries on the current ticket).
> 
> What seems to happen is that the mail from sendmail goes into RT
> successfully but for some reason sendmail thinks it has failed and then
> sends it again (for a total of 10 times).  When I look in the sendmail queue
> the error message is EX_TEMPFAIL.
> 
> Feb  6 11:09:06 xxx sendmail[24610]: i16711t6023958:
> to="|/opt/rt3/bin/rt-mailgate --queue
> support --action correspond --url http://localhost/", ctladdr=rt at xxx.xxx.xxx
> (8/0), de
> lay=02:08:04, xdelay=00:03:01, mailer=prog, pri=1822920, dsn=4.0.0,
> stat=Deferred: prog mailer (/usr/sbin/smrsh) exited with EX_TEMPFAIL
> 
> RT settings regarding attachments are:
> 
> Set($MaxAttachmentSize , 10000000);
> Set($TruncateLongAttachments , undef);
> Set($DropLongAttachments , undef);
> 
> Any ideas?
> 
> (RH9, RT3.0.8, Perl 5.8.1, http-2.0.47)
> 
> Thanks
> Danie Marais
> 
> _______________________________________________
> rt-users mailing list
> rt-users at lists.bestpractical.com
> http://lists.bestpractical.com/mailman/listinfo/rt-users
> 
> Have you read the FAQ? The RT FAQ Manager lives at http://fsck.com/rtfm




More information about the rt-users mailing list