[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cobalt-users] Mailman pkg error: stat=Operating system error



Hi Richard!

Thanks a lot for taking time for my prob!

I found that you had to make the real name of the wrapper program match the symlink or you got the "operating system error" from sendmail. I think this is due to the way sendmail smrsh works.

I believe the name of the wrapper program is hard-coded into several of the mailman utilities, so just renaming /home/mailman/mail/wrapper to wrapper_mailman will cause other problems. You could try putting a symlink named wrapper_mailman in /home/mailman/mail/ to /home/mailman/mail/wrapper, and changing the symlink in /usr/adm/sm.bin to point to /home/mailman/mail/wrapper_mailman; smrsh may or may not accept this.

Tried that but still the same error. I raised the debug-level of sendmain. Here's the complete story (sorry for long text):

- - -
Mar 16 15:22:20 ns1 sendmail[7071]: i2GEMK507071: assigned id
Mar 16 15:22:25 ns1 sendmail[7071]: i2GEMK507071: connect from domain.de [xx.xx.xx.xx] Mar 16 15:22:25 ns1 sendmail[7071]: SASL: available mech=PLAIN CRAM-MD5 ANONYMOUS, allowed mech=PLAIN CRAM-MD5 DIGEST-MD5 Mar 16 15:22:25 ns1 sendmail[7071]: i2GEMK507071: --> 220 [xx.xx.xx.xx] ESMTP Sendmail 8.10.2/8.10.2; Tue, 16 Mar 2004 15:22:25 +0100
Mar 16 15:22:25 ns1 sendmail[7071]: i2GEMK507071: <-- EHLO www.inergynet.de
Mar 16 15:22:25 ns1 sendmail[7071]: i2GEMK507071: --> 250-ns.domain.de Hello domain.de [xx.xx.xx.xx], pleased to meet you
Mar 16 15:22:25 ns1 sendmail[7071]: i2GEMK507071: --> 250-ENHANCEDSTATUSCODES
Mar 16 15:22:25 ns1 sendmail[7071]: i2GEMK507071: --> 250-8BITMIME
Mar 16 15:22:25 ns1 sendmail[7071]: i2GEMK507071: --> 250-SIZE 20971520
Mar 16 15:22:25 ns1 sendmail[7071]: i2GEMK507071: --> 250-DSN
Mar 16 15:22:25 ns1 sendmail[7071]: i2GEMK507071: --> 250-ONEX
Mar 16 15:22:25 ns1 sendmail[7071]: i2GEMK507071: --> 250-ETRN
Mar 16 15:22:25 ns1 sendmail[7071]: i2GEMK507071: --> 250-XUSR
Mar 16 15:22:25 ns1 sendmail[7071]: i2GEMK507071: --> 250-AUTH PLAIN CRAM-MD5
Mar 16 15:22:25 ns1 sendmail[7071]: i2GEMK507071: --> 250 HELP
Mar 16 15:22:25 ns1 sendmail[7071]: i2GEMK507071: <-- MAIL From:<user@xxxxxxxxx> SIZE=1220
Mar 16 15:22:25 ns1 sendmail[7072]: i2GEMP507072: assigned id
Mar 16 15:22:25 ns1 sendmail[7072]: i2GEMP507072: --> 250 2.1.0 <user@xxxxxxxxx>... Sender ok Mar 16 15:22:25 ns1 sendmail[7072]: i2GEMP507072: <-- RCPT To:<mmlist-request@xxxxxxxxx> Mar 16 15:22:25 ns1 sendmail[7072]: i2GEMP507072: --> 250 2.1.5 <mmlist-request@xxxxxxxxx>... Recipient ok
Mar 16 15:22:25 ns1 sendmail[7072]: i2GEMP507072: <-- DATA
Mar 16 15:22:25 ns1 sendmail[7072]: i2GEMP507072: --> 354 Enter mail, end with "." on a line by itself Mar 16 15:22:25 ns1 sendmail[7072]: i2GEMP507072: from=<user@xxxxxxxxx>, size=1452, class=0, nrcpts=1, msgid=<p06010219bc7cbd25add0@[xx.xx.xx.xx]>, proto=ESMTP, daemon=MTA, relay=domain.de [xx.xx.xx.xx]
Mar 16 15:22:25 ns1 sendmail[7072]: i2GEMP507072: queueup, qf=q4/qfi2GEMP507072
Mar 16 15:22:25 ns1 sendmail[7072]: i2GEMP507072: --> 250 2.0.0 i2GEMP507072 Message accepted for delivery
Mar 16 15:22:25 ns1 sendmail[7072]: i2GEMP507072: unlock
Mar 16 15:22:25 ns1 sendmail[7072]: i2GEMP507072: unlink q4/xfi2GEMP507072
Mar 16 15:22:25 ns1 sendmail[7072]: i2GEMP507072: q4/xfi2GEMP507072: unlink-fail 2
Mar 16 15:22:25 ns1 sendmail[7073]: i2GEMP507072: disconnect level 1
Mar 16 15:22:25 ns1 sendmail[7073]: i2GEMP507072: in background, pid=7073
Mar 16 15:22:25 ns1 sendmail[7073]: i2GEMP507072: dowork, pid=7073
Mar 16 15:22:25 ns1 sendmail[7073]: i2GEMP507072: alias <mmlist-request@xxxxxxxxx => "|/home/mailman/mail/wrapper mailcmd mmlist" Mar 16 15:22:25 ns1 sendmail[7072]: poststats: /etc/mail/statistics: No such file or directory
Mar 16 15:22:25 ns1 sendmail[7072]: NOQUEUE: finis, pid=7072
Mar 16 15:22:25 ns1 sendmail[7071]: i2GEMK507071: <-- QUIT
Mar 16 15:22:25 ns1 sendmail[7071]: i2GEMK507071: --> 221 2.0.0 ns1.domain.de closing connection
Mar 16 15:22:25 ns1 sendmail[7071]: i2GEMK507071: disconnect level 1
Mar 16 15:22:25 ns1 sendmail[7071]: i2GEMK507071: in background, pid=7071
Mar 16 15:22:25 ns1 sendmail[7071]: i2GEMK507071: dropenvelope, e_flags=0x4001, OpMode=d, pid=7071
Mar 16 15:22:25 ns1 sendmail[7071]: i2GEMK507071: unlink q4/dfi2GEMK507071
Mar 16 15:22:25 ns1 sendmail[7071]: i2GEMK507071: q4/dfi2GEMK507071: unlink-fail 2
Mar 16 15:22:25 ns1 sendmail[7071]: i2GEMK507071: unlink q4/qfi2GEMK507071
Mar 16 15:22:25 ns1 sendmail[7071]: i2GEMK507071: q4/qfi2GEMK507071: unlink-fail 2
Mar 16 15:22:25 ns1 sendmail[7071]: i2GEMK507071: unlock
Mar 16 15:22:25 ns1 sendmail[7071]: i2GEMK507071: unlink q4/xfi2GEMK507071
Mar 16 15:22:25 ns1 sendmail[7071]: i2GEMK507071: q4/xfi2GEMK507071: unlink-fail 2
Mar 16 15:22:25 ns1 sendmail[7071]: NOQUEUE: finis, pid=7071
Mar 16 15:22:25 ns1 sendmail[7073]: i2GEMP507072: queueup, qf=q4/qfi2GEMP507072
Mar 16 15:22:25 ns1 sendmail[7073]: i2GEMP507072: sendenvelope, flags=0x605842
Mar 16 15:22:25 ns1 sendmail[7073]: i2GEMP507072: to="|/home/mailman/mail/wrapper mailcmd mmlist", ctladdr=<mmlist-request@xxxxxxxxx> (8/0), delay=00:00:00, xdelay=00:00:00, mailer=prog, pri=30787, dsn=4.0.0, stat=Operating system error Mar 16 15:22:25 ns1 sendmail[7073]: i2GEMP507072: dropenvelope, e_flags=0x605842, OpMode=q, pid=7073
Mar 16 15:22:25 ns1 sendmail[7073]: i2GEMP507072: queueup, qf=q4/qfi2GEMP507072
Mar 16 15:22:25 ns1 sendmail[7073]: i2GEMP507072: unlock
Mar 16 15:22:25 ns1 sendmail[7073]: i2GEMP507072: unlink q4/xfi2GEMP507072
Mar 16 15:22:25 ns1 sendmail[7073]: i2GEMP507072: q4/xfi2GEMP507072: unlink-fail 2
Mar 16 15:22:25 ns1 sendmail[7073]: NOQUEUE: finis, pid=7073

- - -


Besides that I tried to run that wrapper directly on con:

- - -
[root mail]# ./wrapper mailcmd mmlist
Failure to exec script. WANTED gid 12, GOT gid 0.  (Reconfigure to take 0?)
- - -

Looking in google for that:

http://mail.python.org/pipermail/mailman-users/2002-August/021667.html

It looks like I got to re-configure the whole mailman install - But that's not possible with that pkg and sources missing, eh? Is that the error?

Regards, Frank