Can't always send mail from web interface

Every once in a while whenI try to send email via the web interface of
Request Tracker, I get an Apache Internal Server Error. It does not
happen all the time. I think (but have been unable to verify) that it
happens when I either Reply or Comment and cc/bcc other people.

The error log reveals:

[Thu Oct 19 11:51:15 2000] [error] [client 10.0.0.191] Premature end of
script headers: /usr/local/rt/bin/cgi/webrt.cgi
Could not send mail :frowning:

Tried to launch this command: /usr/lib/sendmail -oi -t -ODeliveryMode=b
-OErrorMode=m
[Thu Oct 19 11:51:20 2000] [error] [client 10.0.0.191] Premature end of
script headers: /usr/local/rt/bin/cgi/webrt.cgi

I am running Apache 1.3.6 and RT 1.0.4 on Solaris 7 with Sendmail 8.9.3

Has anyone else had this problem?

Thanks,

-Stephany

Has anyone else had this problem?

Yep, just started happening for me.  Looking deeper into it, my
guess is that sendmail ignored the -OErrorMode=m and gave an
error direcctly instead, which RT didn't now how to handle.

I haven't yet tracked down why sendmail would do that.

(Oh hey, tell random people at Xigo I said hi until you find 
one who knows me...there's a whole bunch.)

J.D. Falk “Laughter is the sound
Product Manager that knowledge makes when it’s born.”
Mail Abuse Prevention System LLC – The Cluetrain Manifesto

I think my problem was due to a poor configuration of sendmail (actually a lack
of ever configuring it on that box…). I was unable to send email via the web
interface when I cc’d or bcc’d email to unqualified userids (ie. cc: stephany
rather than cc:stephany@xigo.com).

By setting these two sendmail options, I fixed that problem:
# who I masquerade as (null for no masquerading) (see also $=M)
DMxigo.com
# who gets all local email traffic ($R has precedence for unqualified
names)
DHmail.xigo.com

-Stephany

“J.D. Falk” wrote:> On 10/19/00, Stephany Burge stephany@xigo.com wrote:

Has anyone else had this problem?

    Yep, just started happening for me.  Looking deeper into it, my
    guess is that sendmail ignored the -OErrorMode=m and gave an
    error direcctly instead, which RT didn't now how to handle.

    I haven't yet tracked down why sendmail would do that.

    (Oh hey, tell random people at Xigo I said hi until you find
    one who knows me...there's a whole bunch.)


J.D. Falk “Laughter is the sound
Product Manager that knowledge makes when it’s born.”
Mail Abuse Prevention System LLC – The Cluetrain Manifesto


rt-users mailing list
rt-users@lists.fsck.com
http://lists.fsck.com/mailman/listinfo/rt-users