Cannot configure mail aliases delivery

I followed the instruction in the FAQ as best I could for Sendmail.

cd /etc/smrsh/
ln -s /var/www/rt2/bin/rt-mailgate rt-mailgate

but when a user replies to the emails, the amil is returned with:

Can’t do setuid

What do I need to do?

Chris Mason
masonc@masonc.com
Box 340, The Valley, Anguilla, British West Indies
Tel: 264 497 5670 Fax: 264 497 8463 Cell: 264 235 5670
http://www.anguillaguide.com/ The Anguilla Guide
Talk to me in real time:
Yahoo:netconcepts_anguilla
US Fax and Voicemail: (815)301-9759

Chris Mason wrote:

I followed the instruction in the FAQ as best I could for Sendmail.

cd /etc/smrsh/
ln -s /var/www/rt2/bin/rt-mailgate rt-mailgate

but when a user replies to the emails, the amil is returned with:

Can’t do setuid

You have to check if setuid perl is installed on Your machine. This is
dependent on OS and Distribution, so we’d need that info to be of more help.

Regards,
Harald

Harald WagenerAn der Alster 4220099 Hamburg*http://www.fcb-wilkens.com

Brand new Redhat 7.3 server installation.From: Harald Wagener [mailto:hwagener@hamburg.fcb.com]
Sent: Tuesday, September 10, 2002 5:01 PM
To: Chris Mason; rt-users@fsck.com
Subject: Re: [rt-users] Cannot configure mail aliases delivery

Chris Mason wrote:

I followed the instruction in the FAQ as best I could for Sendmail.

cd /etc/smrsh/
ln -s /var/www/rt2/bin/rt-mailgate rt-mailgate

but when a user replies to the emails, the amil is returned with:

Can’t do setuid

You have to check if setuid perl is installed on Your machine. This is
dependent on OS and Distribution, so we’d need that info to be of more
help.

Regards,
Harald

Harald WagenerAn der Alster 4220099 Hamburg*http://www.fcb-wilkens.com

Fixed with:
up2date -i perl-suidperlFrom: rt-users-admin@lists.fsck.com
[mailto:rt-users-admin@lists.fsck.com] On Behalf Of Harald Wagener
Sent: Tuesday, September 10, 2002 5:01 PM
To: Chris Mason; rt-users@fsck.com
Subject: Re: [rt-users] Cannot configure mail aliases delivery

Chris Mason wrote:

I followed the instruction in the FAQ as best I could for Sendmail.

cd /etc/smrsh/
ln -s /var/www/rt2/bin/rt-mailgate rt-mailgate

but when a user replies to the emails, the amil is returned with:

Can’t do setuid

You have to check if setuid perl is installed on Your machine. This is
dependent on OS and Distribution, so we’d need that info to be of more
help.

Regards,
Harald

Harald WagenerAn der Alster 4220099 Hamburg*http://www.fcb-wilkens.com

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

Have you read the FAQ? The RT FAQ Manager lives at http://fsck.com/rtfm

I installed perl and all the modules needed to connect to oracle as well as
all the modules needed for RT. However rt’s installation script dies when
it tries to connect to the database which other perl scripts can do.

I get the following error when running make install.

DBI->connect(dbname=kdqctdev;host=winchester) failed: Can’t connect using
this syntax without specifying a HOST and a SID at

/local/mnt/workspace/jgedeon/local/lib/perl5/site_perl/5.8.0/DBIx/SearchBuilder/Handle.pm

line 117
Connect Failed Can’t connect using this syntax without specifying a HOST
and a SID
at //local/mnt/workspace/jgedeon/local/rt2/etc/insertdata line 27
*** Error code 255

Any one offer some tips?
John

<>< Proverbs 3:5 “Trust in the Lord with all your heart and lean not on
your own understanding;”

I installed perl and all the modules needed to connect to oracle as
well as all the modules needed for RT. However rt’s installation
script dies when it tries to connect to the database which other perl
scripts can do.

I believe that the Oracle DBD requires several environment variables to
be set, including SID. Ensure that they are set and exported in your
environment, and ensure that the startup scripts for mod_perl (if you’re
using mod_perl) have the environment variables set as well.

(darren)

Let face facts, shall we? There is a very real possibility
that this could also be the last day of the rest of your life.
– Dave Henry

I’m still not working 100% yet.
A user can send in a request to a queue.
The root user can take it
He can reply
The user gets the reply
When he replies, he gets “Correspondence not recorded” from a different
address.

Any idea what I have done wrong?From: rt-users-admin@lists.fsck.com
[mailto:rt-users-admin@lists.fsck.com] On Behalf Of Harald Wagener
Sent: Tuesday, September 10, 2002 5:01 PM
To: Chris Mason; rt-users@fsck.com
Subject: Re: [rt-users] Cannot configure mail aliases delivery

Chris Mason wrote:

I followed the instruction in the FAQ as best I could for Sendmail.

cd /etc/smrsh/
ln -s /var/www/rt2/bin/rt-mailgate rt-mailgate

but when a user replies to the emails, the amil is returned with:

Can’t do setuid

You have to check if setuid perl is installed on Your machine. This is
dependent on OS and Distribution, so we’d need that info to be of more
help.

Regards,
Harald

Harald WagenerAn der Alster 4220099 Hamburg*http://www.fcb-wilkens.com

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

Have you read the FAQ? The RT FAQ Manager lives at http://fsck.com/rtfm

by exported what do you mean? and what variables does mod_perl need… and
that doesn’t explain why other scripts can connect to the same database
using the same install of perl and dbd?

John
At 02:41 PM 9/10/2002 -0400, darren chamberlain wrote:

I installed perl and all the modules needed to connect to oracle as
well as all the modules needed for RT. However rt’s installation
script dies when it tries to connect to the database which other perl
scripts can do.

I believe that the Oracle DBD requires several environment variables to
be set, including SID. Ensure that they are set and exported in your
environment, and ensure that the startup scripts for mod_perl (if you’re
using mod_perl) have the environment variables set as well.

(darren)


Let face facts, shall we? There is a very real possibility
that this could also be the last day of the rest of your life.
– Dave Henry


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

Have you read the FAQ? The RT FAQ Manager lives at http://fsck.com/rtfm

<>< Proverbs 3:5 “Trust in the Lord with all your heart and lean not on
your own understanding;”

I installed perl and all the modules needed to connect to oracle
as well as all the modules needed for RT. However rt’s
installation script dies when it tries to connect to the database
which other perl scripts can do.

I believe that the Oracle DBD requires several environment variables
to be set, including SID. Ensure that they are set and exported in
your environment, and ensure that the startup scripts for mod_perl
(if you’re using mod_perl) have the environment variables set as
well.

by exported what do you mean? and what variables does mod_perl need…
and that doesn’t explain why other scripts can connect to the same
database using the same install of perl and dbd?

The difference between:

$ FOO=bar

and

$ FOO=bar; export FOO

is that in the first case, subprocesses (i.e., scripts and such
launched by your shell) cannot access $FOO, while in the second case
they can – export marks the variable as propogatable (is that a word?).

I was attempting to imply that, perhaps, the enviroment under which you
are running the programs does have the appropriate Oracle environment
variables defined and properly exported in your startup files, while the
environment under which you are running the installer (root?) does not.

Note that if you are not using a sh-alike (sh, bash, ksh?), this is not
an issue, but, again, if you are running the install script as root, the
shell is most likely sh (does any *nix ship with root’s shell as something
else?)

As far as what environment variables Oracle uses, that I cannot help you
with; I’m not an Oracle user, but this has come up on the mod_perl list
enough that I’m starting to recognize the symptoms. :slight_smile: A search of the
mod_perl guide for Oracle
(http://perl.apache.org/search/swish.cgi?query=oracle&sbm=SecF&submit=search)
comes up with some helpful information, e.g.:

http://perl.apache.org/docs/1.0/guide/troubleshooting.html#install_driver_Oracle__failed__Can_t_load______DBD_Oracle_Oracle_so__for_module_DBD__Oracle

http://perl.apache.org/docs/1.0/guide/config.html#PerlSetEnv_and_PerlPassEnv

Good luck.

(darren)

There is not enough love in the world to squander it on anything
by human beings.