[Mailman-Users] wrapper executing, but doing NOTHING

Joel Glickman joel_m at joelglickman.com
Thu Dec 5 15:42:58 CET 2002

- Running RH7.2, sendmail, mailman 2.0.12

- mailman user & group exist -- /home/mailman exists with correct permissions

- ./configure --with-mail-gid=mail --with-cgi-gid=apache, (When 
configuration script runs, it properly converts mail to 12 and apache to 
48, which reflect what's in my /etc/group file)

- make install

- ln -s /home/mailman/mail/wrapper /etc/smrsh/wrapper

- /home/mailman/bin/check_perms returns "No problems found"

- Added "tmh" mailling list, added some list members, including 
joel_m at joelglickman.com -- checkbox options are "subscr and plain"

- List members DID receive a welcome message from tmh-admin, which means 
that the wrapper is working properly from the web side

- Now, a list member (joel_m) sends a message to tmh at tmh.joelglickman.com 
-- it gets redirected to wrapper .. and NOTHING -- wrapper isn't then 
sending the message along to list members.  And I get no error messages 

Here's what I get in my maillog:

Dec  5 09:24:49 tmh sendmail[10805]: gB5EOnB10805: 
from=<joel_m at joelglickman.com>, size=1107, class=0, nrcpts=1, 
msgid=< at>, proto=ESMTP, 
daemon=MTA, relay=homelan.joelglickman.com []
Dec  5 09:24:51 tmh sendmail[10806]: gB5EOnB10805: to="|/etc/smrsh/wrapper 
post tmh", ctladdr=<tmh at tmh.joelglickman.com> (8/0), delay=00:00:02, 
xdelay=00:00:01, mailer=prog, pri=30553, dsn=2.0.0, stat=Sent

--- and that's it in maillog -- It doesn't then start resending the message 
to those on the mailing list?

An email to tmh-owner yields similar disappointing results

Dec  5 09:32:28 tmh sendmail[10848]: gB5EWSB10848: 
from=<joel_m at joelglickman.com>, size=1121, class=0, nrcpts=1, 
msgid=< at>, proto=ESMTP, 
daemon=MTA, relay=homelan.joelglickman.com []
Dec  5 09:32:29 tmh sendmail[10849]: gB5EWSB10848: to="|/etc/smrsh/wrapper 
mailowner tmh", ctladdr=tmh-admin (8/0), delay=00:00:01, xdelay=00:00:01, 
mailer=prog, pri=30554, dsn=2.0.0, stat=Sent

--- and no message is sent to the owner .. and no error?

For reference --- /etc/aliases (and yes I ran ./newaliases)
## tmh mailing list
## created: 17-Sep-2002 root
# Had to modify to use /etc/smrsh secure shell directory
tmh:                     "|/etc/smrsh/wrapper post tmh"
tmh-admin:               "|/etc/smrsh/wrapper mailowner tmh"
tmh-request:             "|/etc/smrsh/wrapper mailcmd tmh"
tmh-owner:               tmh-admin

Also, executing /etc/smrsh/wrapper from the shell as root yields:

[root at tmh mailman-2.0.12]# /etc/smrsh/wrapper post tmh
Failure to exec script. WANTED gid 12, GOT gid 0.  (Reconfigure to take 0?)

... which seems quite normal to me.  I did recompile with-mail-gid=0 so 
that i could execute it as root from the prompt .. When I did, it looked 
for data from stdin --- so I typed a hello world message, hit control-d and 
just got my prompt back .. It didn't do anything, as evidenced by the maillog.

Anyone have any advice?  I've RTFM'd and think I've done everything right?

More information about the Mailman-Users mailing list