[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Odd permissions problem with Sendmail and Smartlist
- From: Gregory Gulik <greg gulik org>
- To: shrike-list redhat com
- Subject: Odd permissions problem with Sendmail and Smartlist
- Date: Mon, 02 Jun 2003 12:38:09 -0500
I'm trying to migrate some Smartlist mailing lists from an old SPARC
Ultra 2 to a new RH9 based server.
One annoying problem I've run into is getting Smartlist running. I
compiled and installed the latest Smartlist then moved the list over but
I'm getting a strange problem with Sendmail being unable to run the
"flist" program which is setuid to the "list" user id.
Here is a test message I've tried to run:
Jun 2 12:03:31 server2 sendmail[6336]: h52H3VBP006336: from=root,
size=48, class=0, nrcpts=1,
msgid=<200306021703 h52H3VBP006336 server2 gagme com>, relay=root localhost
Jun 2 12:03:31 server2 sendmail[6338]: h52H3Vo9006338:
from=<root server2 gagme com>, size=337, class=0, nrcpts=1,
msgid=<200306021703 h52H3VBP006336 server2 gagme com>, proto=ESMTP,
daemon=MTA, relay=localhost.localdomain [127.0.0.1]
Jun 2 12:03:31 server2 sendmail[6336]: h52H3VBP006336:
to=mylist server2 gagme com, ctladdr=root (0/0), delay=00:00:00,
xdelay=00:00:00, mailer=relay, pri=30043, relay=[127.0.0.1] [127.0.0.1],
dsn=2.0.0, stat=Sent (h52H3Vo9006338 Message accepted for delivery)
Jun 2 12:03:32 server2 smrsh: uid 8: attempt to use "flist mylist"
(stat failed)
Jun 2 12:03:32 server2 sendmail[6339]: h52H3Vo9006338: to="|exec
/home/list/.bin/flist mylist", ctladdr=<mylist server2 gagme com> (8/0),
delay=00:00:01, xdelay=00:00:00, mailer=prog, pri=30562, dsn=5.0.0,
stat=Service unavailable
Jun 2 12:03:32 server2 sendmail[6339]: h52H3Vo9006338: h52H3Wo9006339:
DSN: Service unavailable
The alias in /etc/aliases looks like this:
gmylist: "|exec /home/list/.bin/flist mylist"
The flist program permissions are:
-r-sr-sr-x 5 list gulik 20920 Jun 2 10:53 flist
When I try to run it manually I get:
[root server2 .bin]# ./flist mylist
flist: Strange group or user id
Any attempt to E-mail the list returns with a bounce to postmaster with
the following error:
The original message was received at Mon, 2 Jun 2003 12:35:18 -0500
from server.gagme.com [192.168.1.2]
----- The following addresses had permanent fatal errors -----
"|exec /home/list/.bin/flist mylist"
(reason: Service unavailable)
(expanded from: <mylist server2 gagme com>)
----- Transcript of session follows -----
smrsh: "flist" not available for sendmail programs (stat failed)
554 5.0.0 Service unavailable
Any ideas???? This is driving me nuts and it's one of the last things
on the todo list that need to work before I can cut over....
--
Greg Gulik http://www.gulik.org/greg/
greg @ gulik.org
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]