Postfix: rt-mailgait: can't do setuid

I’ve just gotten my second rt2 system up. This one is for production.
But I am stuck on one last mail error when I try to post to rt:

Aug 10 15:53:48 rt postfix/local[4259]: C89D59B9: to=rt@rt.aslab.com,
relay=local, delay=0, status=bounced (Command died with status 255:
"/usr/local/rt2/bin/rt-mailgate --queue general --action correspond".
Command output: Can’t do setuid )
^^^^^^^^^^^^^^^

I did not have this issue on my test rt system. I am running RT 2.04,
on SuSE 7.2 using postfix Version 20010228pl02. What would be different?
I can’t say. But why does rt-mailgate want to run setuid?

I have set up permissions on the general queue for requesters/everyone to
create tickets.

Permissions on rt-mailgate:
-rwxr-sr-x 1 root rt 15781 Aug 9 17:10 rt-mailgate

I did some more fiddling from the command line. Root can send
mail by pipe to rt, but normal user cannot:

root@rt:/home/ashley # cat tmp/testmail |/usr/local/rt2/bin/rt-mailgate --queue general --action correspond
root@rt:/home/ashley # logout

ashley@rt:~ >cat tmp/testmail |/usr/local/rt2/bin/rt-mailgate --queue general --action correspond
Can’t do setuid

But it works on my test system:
ashley@ishi:~ > cat tmp/testmail |/usr/local/rt/bin/rt-mailgate --queue general --action correspond
ashley@ishi:~ >

permissions on host ishi are the same as on host rt:

-rwxr-sr-x 1 root rt 15779 Jul 25 11:33 /usr/local/rt/bin/rt-mailgate

Perhaps I’m just tired, but i’ve run out of ideas.

ashley

Check out the faq at http://www.helgrim.com/rtdocs/

You haven’t made setuid perl work yet.On Fri, Aug 10, 2001 at 05:45:04PM -0700, Ashley Gould wrote:

I’ve just gotten my second rt2 system up. This one is for production.
But I am stuck on one last mail error when I try to post to rt:

Aug 10 15:53:48 rt postfix/local[4259]: C89D59B9: to=rt@rt.aslab.com,
relay=local, delay=0, status=bounced (Command died with status 255:
"/usr/local/rt2/bin/rt-mailgate --queue general --action correspond".
Command output: Can’t do setuid )
^^^^^^^^^^^^^^^

I did not have this issue on my test rt system. I am running RT 2.04,
on SuSE 7.2 using postfix Version 20010228pl02. What would be different?
I can’t say. But why does rt-mailgate want to run setuid?

I have set up permissions on the general queue for requesters/everyone to
create tickets.

Permissions on rt-mailgate:
-rwxr-sr-x 1 root rt 15781 Aug 9 17:10 rt-mailgate

I did some more fiddling from the command line. Root can send
mail by pipe to rt, but normal user cannot:

root@rt:/home/ashley # cat tmp/testmail |/usr/local/rt2/bin/rt-mailgate --queue general --action correspond
root@rt:/home/ashley # logout

ashley@rt:~ >cat tmp/testmail |/usr/local/rt2/bin/rt-mailgate --queue general --action correspond
Can’t do setuid

But it works on my test system:
ashley@ishi:~ > cat tmp/testmail |/usr/local/rt/bin/rt-mailgate --queue general --action correspond
ashley@ishi:~ >

permissions on host ishi are the same as on host rt:

-rwxr-sr-x 1 root rt 15779 Jul 25 11:33 /usr/local/rt/bin/rt-mailgate

Perhaps I’m just tired, but i’ve run out of ideas.

ashley


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

jesse reed vincent – root@eruditorum.orgjesse@fsck.com
70EBAC90: 2A07 FC22 7DB4 42C1 9D71 0108 41A3 3FB3 70EB AC90

‘"As the company that brought users the Internet, Netscape is now inviting
the more than 60 million people who have used our client software to
’tune up’ and upgrade to Netscape Communicator," said Mike Homer,
senior vice president of marketing at Netscape.’ Sometimes I wonder.

I did some more fiddling from the command line. Root can send
mail by pipe to rt, but normal user cannot:

root@rt:/home/ashley # cat tmp/testmail |/usr/local/rt2/bin/rt-mailgate --queue general --action correspond
root@rt:/home/ashley # logout

ashley@rt:~ >cat tmp/testmail |/usr/local/rt2/bin/rt-mailgate --queue general --action correspond
Can’t do setuid

I’ve just gotten my second rt2 system up. This one is for production.
But I am stuck on one last mail error when I try to post to rt:

Aug 10 15:53:48 rt postfix/local[4259]: C89D59B9: to=rt@rt.aslab.com,
relay=local, delay=0, status=bounced (Command died with status 255:
"/usr/local/rt2/bin/rt-mailgate --queue general --action correspond".
Command output: Can’t do setuid )
^^^^^^^^^^^^^^^

I did not have this issue on my test rt system. I am running RT 2.04,
on SuSE 7.2 using postfix Version 20010228pl02. What would be different?
I can’t say. This probably a postfix question. But why does rt-mailgate
want to run setuid?

I have set up permissions on the general queue for requesters/everyone to
create tickets.

Permissions on rt-mailgate:
-rwxr-sr-x 1 root rt 15781 Aug 9 17:10 rt-mailgate
^

Perhaps I’m just tired, but i’ve run out of ideas.

ashley