New install problem

I haven’t run across this problem before, and didn’t see mention of it in
the archives I checked (though I could just be blind and missed it).

Here is the error I get from the mailer when I try to mail one of the
ticketing system queues:

----- The following addresses had permanent fatal errors -----
"|/usr/tickets/bin/rt-mailgate --queue ‘General Queue’ --action
correspond"
(reason: 255)
(expanded from: service)

----- Transcript of session follows -----
Can’t do setuid
554 5.3.0 unknown mailer error 255

–g08AadM00357.1010486199/tickets.xram.com
Content-Type: message/delivery-status

Reporting-MTA: dns; tickets.xram.com
Arrival-Date: Tue, 8 Jan 2002 10:36:39 GMT

Final-Recipient: RFC822; service@develop
X-Actual-Recipient: X-Unix; |/usr/tickets/bin/rt-mailgate --queue ‘General
Queue
’ --action correspond
Action: failed
Status: 5.0.0
Diagnostic-Code: X-Unix; 255
Last-Attempt-Date: Tue, 8 Jan 2002 10:36:39 GMT

Anyone seen this before, and know how to fix?

Thanks.

-darrin

Also, this machine is a FreeBSD 4.4 box, with Sendmail 8.11.6 (new
install, upgrade will be coming shortly), Apache 1.3.12, MySQL 3.23.42.

The machine has 512M of ram.On Tue, Jan 08, 2002 at 10:35:46AM -0500, Darrin Walton wrote:
|+ I haven’t run across this problem before, and didn’t see mention of it in
|+ the archives I checked (though I could just be blind and missed it).
|+
|+ Here is the error I get from the mailer when I try to mail one of the
|+ ticketing system queues:
|+
|+ ----- The following addresses had permanent fatal errors -----
|+ “|/usr/tickets/bin/rt-mailgate --queue ‘General Queue’ --action
|+ correspond”
|+ (reason: 255)
|+ (expanded from: service)
|+
|+ ----- Transcript of session follows -----
|+ Can’t do setuid
|+ 554 5.3.0 unknown mailer error 255
|+
|+ --g08AadM00357.1010486199/tickets.xram.com
|+ Content-Type: message/delivery-status
|+
|+ Reporting-MTA: dns; tickets.xram.com
|+ Arrival-Date: Tue, 8 Jan 2002 10:36:39 GMT
|+
|+ Final-Recipient: RFC822; service@develop
|+ X-Actual-Recipient: X-Unix; |/usr/tickets/bin/rt-mailgate --queue 'General
|+ Queue
|+ ’ --action correspond
|+ Action: failed
|+ Status: 5.0.0
|+ Diagnostic-Code: X-Unix; 255
|+ Last-Attempt-Date: Tue, 8 Jan 2002 10:36:39 GMT
|+

“DW” == Darrin Walton darrinw@nixc.net writes:

DW> Also, this machine is a FreeBSD 4.4 box, with Sendmail 8.11.6 (new
DW> install, upgrade will be coming shortly), Apache 1.3.12, MySQL 3.23.42.

By default, FreeBSD installs with suidperl disabled.

chmod u+s /usr/bin/suidperl

should fix you up. I’m not sure what sendmail configs you may need to
do to let it run suid scripts, if any. I know with Postfix I had
to do nothing special.

Also, if you do source upgrades to freebsd, you’ll want to enable the
SUID perl flag in your /etc/make.conf so it doesn’t get wiped out on
your next upgrade.

Sounds like your OS doesn’t ship by default with setuid perl enabled.

http://lists.fsck.com/cgi-bin/htsearch?words=can't+do+setuid

finds a fair # of posts on the topic.On Tue, Jan 08, 2002 at 10:35:46AM -0500, Darrin Walton wrote:

I haven’t run across this problem before, and didn’t see mention of it in
the archives I checked (though I could just be blind and missed it).

Here is the error I get from the mailer when I try to mail one of the
ticketing system queues:

----- The following addresses had permanent fatal errors -----
"|/usr/tickets/bin/rt-mailgate --queue ‘General Queue’ --action
correspond"
(reason: 255)
(expanded from: service)

----- Transcript of session follows -----
Can’t do setuid
554 5.3.0 unknown mailer error 255

–g08AadM00357.1010486199/tickets.xram.com
Content-Type: message/delivery-status

Reporting-MTA: dns; tickets.xram.com
Arrival-Date: Tue, 8 Jan 2002 10:36:39 GMT

Final-Recipient: RFC822; service@develop
X-Actual-Recipient: X-Unix; |/usr/tickets/bin/rt-mailgate --queue ‘General
Queue
’ --action correspond
Action: failed
Status: 5.0.0
Diagnostic-Code: X-Unix; 255
Last-Attempt-Date: Tue, 8 Jan 2002 10:36:39 GMT

Anyone seen this before, and know how to fix?

Thanks.

-darrin


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

http://www.bestpractical.com/products/rt – Trouble Ticketing. Free.

|+ Also, if you do source upgrades to freebsd, you’ll want to enable the
|+ SUID perl flag in your /etc/make.conf so it doesn’t get wiped out on
|+ your next upgrade.

This was the problem. I had installed 4.3 on the box, and did a cvsup to
upgrade the box from sources, and suidperl got wipped out. Opps. I feel
stupid now :wink:

-darrin

“DW” == Darrin Walton darrinw@nixc.net writes:

DW> |+ Also, if you do source upgrades to freebsd, you’ll want to enable the
DW> |+ SUID perl flag in your /etc/make.conf so it doesn’t get wiped out on
DW> |+ your next upgrade.

DW> This was the problem. I had installed 4.3 on the box, and did a cvsup to
DW> upgrade the box from sources, and suidperl got wipped out. Opps. I feel
DW> stupid now :wink:

Don’t. It is not very obvious. I had our mail-in tickets all bounce
over christmas weekend because of this! At least I learned my lesson
the hard way. :wink: