When I attempt to create a new request through the web interface, it bombs
out and the following shows up in the Apache error_log:
Could not send mail
Tried to launch this command: /usr/lib/sendmail -t
[Tue Aug 22 08:39:24 2000] [error] [client 17.205.32.182] Premature end of
script headers: /local/solaris_2.5.1/rt1.0.2/bin/cgi/webrt.cgi
Yes, /usr/lib/sendmail does exist.
Iām running Request Tracker 1.0.2 on a Sun Ultra 5:
(SunOS www-ecs 5.5.1 Generic_103640-27 sun4u sparc SUNW,Ultra-5_10)
Iām using MySQL 3.22.32 (precompiled for Solaris 2.5.1), Perl 5.6.0,
sendmail 8.9.3, and apache 1.3.12. MySQL is running locally on the system.
When I attempt to create a new request through the web interface, it bombs
out and the following shows up in the Apache error_log:
Could not send mail
Tried to launch this command: /usr/lib/sendmail -t
[Tue Aug 22 08:39:24 2000] [error] [client 17.205.32.182] Premature end of
script headers: /local/solaris_2.5.1/rt1.0.2/bin/cgi/webrt.cgi
Yes, /usr/lib/sendmail does exist.
Okay, I found something that may be the cause of the problem:
root@www-ecs:~ #230> ls -l /usr/lib/sendmail
-r-sr-xr-x 1 root sys 393284 Jun 12 1999 /usr/lib/sendmail
Is there a way around this setuid-root sendmail thing with Request Tracker?
I donāt know whether a wrapper script would help or not. or maybe a nonsetuid
copy of the sendmail binaryā¦
What version of sendmail is it?On Thu, Aug 24, 2000 at 03:22:18PM -0700, Grant Miller wrote:
On Thu, Aug 24, 2000 at 03:00:41PM -0700, Grant Miller wrote:
When I attempt to create a new request through the web interface, it bombs
out and the following shows up in the Apache error_log:
Could not send mail
Tried to launch this command: /usr/lib/sendmail -t
[Tue Aug 22 08:39:24 2000] [error] [client 17.205.32.182] Premature end of
script headers: /local/solaris_2.5.1/rt1.0.2/bin/cgi/webrt.cgi
Yes, /usr/lib/sendmail does exist.
Okay, I found something that may be the cause of the problem:
root@www-ecs:~ #230> ls -l /usr/lib/sendmail
-r-sr-xr-x 1 root sys 393284 Jun 12 1999 /usr/lib/sendmail
Is there a way around this setuid-root sendmail thing with Request Tracker?
jesse reed vincent ā root@eruditorum.org ā jesse@fsck.com
pgp keyprint: 50 41 9C 03 D0 BC BC C8 2C B9 77 26 6F E1 EB 91
āIf IBM wanted to make clones, we could make them cheaper and faster than
anyone else!ā - An IBM Rep. visiting Vassar Collegeās Comp Sci Department.
Iāve setup RT and itās working great. However I need to configure it to
use masquerading/domain mapping with sendmailās genericstable
feature. This is setup with entries of
The outbound user and domain mapping works for local mail programs which
specify the SMTP as localhost. However if it uses an upstream SMTP server
then this mapping doesnāt take place. I think this is what RT is doing.
Itās sending mail through smtp.my.com rather than through localhost. Is
there a option that I can set in the makefile/config to get RT to use SMTP
on localhost?
Say I want to be able to move the rt database in mysql to a new
installtion of mysql, is there a simple way to do this? Itāll stay on the
same machine, just a new directory structure.
Also for backup purposes do I just need to backup the various files
in /var/ ?
mysqldump will dump the database then mysqlimport can be used to put it into
the new one.
Iāve never done a dump with mysql, RT is the only software I use that requires
mysql, usually I use postgres. I imagine itās fairly clean. run the commands
for the full list of options.
-Feargal.
Feargal Reilly,
Systems Administrator,
The CIA.
+353-86-8157621