Can't create requests via web interface

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 :frowning:

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.

Any help on this would be appreciated.

-Grant Miller grant@pico.apple.com

Unix Systems Admin, Engineering Compute Services
unix-support@pico.apple.com, http://www-ecs.apple.com

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 :frowning:

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?

-Grant Miller grant@pico.apple.com

Unix Systems Admin, Engineering Compute Services
unix-support@pico.apple.com, http://www-ecs.apple.com

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 :frowning:

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?

-Grant Miller grant@pico.apple.com

Unix Systems Admin, Engineering Compute Services
unix-support@pico.apple.com, http://www-ecs.apple.com


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

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.

Hi all,

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

request request@hostB.my.com
ops ops@hostB.my.com

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?

Thanks

Paul

Hi all,

Another quick question:

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/ ?

Thanks

Paul

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

Have a look at the