Attachment Error

The following error is generated everytime mail containing an
attachment greater than 93k
is sent to rt:
f7N9hNt03104 275391 Thu Aug 23 11:43 someuser@somehost
(mailer prog died with signal 11)
"|/opt/rt/bin/rt-mailgate --queue general

A ticket is created, but the attachment is lost. and no record of the
ticket is made
in the log file. Where is the problem, anf how can I fix it?

Mixo
(I am using redhat 7.1, Pg 7.2.x, rt2.0.5_3 and sendmail 8.11.x )

mixo wrote:

The following error is generated everytime mail containing an
attachment greater than 93k
is sent to rt:

How big is the value of $MaxAttachmentSize in config.pm? 93k sounds
big enough to be approximately 100000 Bytes.

Ralph

Ralph Angenendt wrote:

How big is the value of $MaxAttachmentSize in config.pm? 93k sounds
big enough to be approximately 100000 Bytes.

This is what I have in my “config.pm”
$MaxAttachmentSize = 10000000;

That should be big enough.

We have been battling with attachments for about a week now. Attachments
greater than 93k are causing a loop in the mail queue. Tickets are created,
but the attachment is lost., and no record of the created ticket is
made in the log file (rt). Where is the problem, and how can I fix it?

Mixo

I have attached entries from different log files of a ticket being
created -
the attachment in this instance was a bmp of about 1M size.
(I am using redhat 7.1, Pg 7.1.2, rt2.0.5_3 and sendmail 8.11.x )

Sendmail log
Aug 27 09:26:12 dhcp5 sendmail[6990]: f7R7QAx06990:
from=mixo@beth.uniforum.org.za, size=875219, class=0, nrcpts=1,
msgid=3B89F611.D6DA1AD@beth.uniforum.org.za, proto=ESMTP, daemon=Daemon0,
relay=localhost.localdomain [127.0.0.1]
Aug 27 09:26:17 dhcp5 sendmail[6991]: f7R7QAx06990: SYSERR(root): mailer
prog died with signal 11
Aug 27 09:26:17 dhcp5 sendmail[6991]: f7R7QAx06990:
to=“|/opt/rt/bin/rt-mailgate --queue general --action correspond”,
ctladdr=rt@dhcp5 (8/0), delay=00:00:07, xdelay=00:00:05, mailer=prog,
pri=904877, dsn=4.0.0, stat=Deferred

Mail queue
----Q-ID---- --Size-- -----Q-Time----- ------------Sender/Recipient--------f7R7QAx06990 874864 Mon Aug 27 09:26 mixo@beth.uniforum.org.za
(mailer prog died with signal 11)
"|/opt/rt/bin/rt-mailgate --queue general

PostgresQl log
/usr/bin/postmaster: BackendStartup: pid 6993 user rt_user db rt2 socket 5
/usr/bin/postmaster child[6993]: starting with (postgres -d4 -v131072 -p
rt2 )
FindExec: found “/usr/bin/postgres” using argv[0]
pq_recvbuf: unexpected EOF on client connection
/usr/bin/postmaster: reaping dead processes…
/usr/bin/postmaster: CleanupProc: pid 6993 exited with status 0
/usr/bin/postmaster: reaping dead processes…
/usr/bin/postmaster: CleanupProc: pid 6996 exited with status 0

Found the error - DBD::Pg was causing the segmentation fault (signal 11).
The latest version of the DBD::Pg (1.0.1) is supposed to have fixeddthis.