[Mailman-Users] wrapper executing, but doing NOTHING

Frederic Perrouin frederic.perrouin at unilog.fr
Mon Mar 3 14:27:29 CET 2003


I've got same problem, did you found some solutions ???

-----Message d'origine-----
De : Joel Glickman [mailto:joel_m at joelglickman.com] 
Envoyé : jeudi 5 décembre 2002 15:43
À : mailman-users at python.org
Objet : [Mailman-Users] wrapper executing, but doing NOTHING


- 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 
whatsoever?

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=<5.2.0.9.0.20021205092912.029557f0 at 192.168.1.15>, proto=ESMTP, 
daemon=MTA, relay=homelan.joelglickman.com [192.168.1.15]
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=<5.2.0.9.0.20021205093641.029543b0 at 192.168.1.15>, proto=ESMTP, 
daemon=MTA, relay=homelan.joelglickman.com [192.168.1.15]
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?



------------------------------------------------------
Mailman-Users mailing list
Mailman-Users at python.org http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/

This message was sent to: frederic.perrouin at unilog.fr Unsubscribe or change your options at http://mail.python.org/mailman/options/mailman-users/frederic.perrouin%40unilog.fr



More information about the Mailman-Users mailing list