[rt-devel] Bugs

Brandon S. Allbery allbery+ at ece.cmu.edu
Sat Mar 4 15:51:34 EST 2000

> else
> endif
> Is changed to:

Which is a no-op, and works only by chance.  The real problem is that
it assumes GNU make (then again, Sun's make has enough pathological
behavior that you should install GNU make anyway).

> 2.) Your script (after installation) gives a large number of Internal
> Server errors with the message: Premature end of script headers

Check the web server's error log and you'll probably find that you are 
missing one or more Perl modules.  Or you have the wrong version of
CGI.pm (symptom being an error with CGI::Vars).

> Also, mailing the script no longer seems to work.  I get a 'User Unknown'
> email back, with the information:
>    ----- The following addresses had permanent fatal errors -----
> "|/home/rt/test2/bin/rt-mailgate general correspond"
>     (expanded from: <rt at sirius.s-s.org.uk>)
>    ----- Transcript of session follows -----
> Could not send mail :(

Nice useful error message your mail server has.  Yet another bizarro MTA?

Likely problems:
(1) the rt wrapper isn't setuid;
(2) the mailer is paranoid and won't run arbitrary binaries
(i.e. sendmail with smrsh);
(3) rt-mailgate failed with some other error, likely related to
Perl modules.

brandon s. allbery     [os/2][linux][solaris][japh]    allbery at kf8nh.apk.net
system administrator        [WAY too many hats]          allbery at ece.cmu.edu
electrical and computer engineering                                    KF8NH
carnegie mellon university      ["better check the oblivious first" -ke6sls]

More information about the Rt-devel mailing list