Operating System - HP-UX
1823132 Members
3732 Online
109646 Solutions
New Discussion

sendmail and mailman with smrsh on hP-UX 11.00

 
HPP
Regular Advisor

sendmail and mailman with smrsh on hP-UX 11.00

Hi,
I compiled mailman-2.0.13 on HP-UX 11.00 with following options
./configure --prefix=/opt/mailman-2.0.13 --with-mail-gid=102 --with-cgi-gid=102

I am using Python 2.0

"make" and "make install" was successful.

When i post an email to list from admin email address, I started getting bounce mail having following Mailer error shown below:

=======================================================================
----- The following addresses had permanent fatal errors -----
"|/opt/mailman-2.0.13/mail/wrapper post test"
(expanded from: )

----- Transcript of session follows -----
Failure to exec script. WANTED gid 102, GOT gid 1. (Reconfigure to take 1?)
554 "|/opt/mailman-2.0.13/mail/wrapper post ntis_test"... unknown mailer error 2

Reporting-MTA: dns; mailman.mydomain.com
Received-From-MTA: DNS; mydomain.com
Arrival-Date: Tue, 24 Sep 2002 10:07:32 -0400 (EDT)

=====================================================================

I went through the mailing list and found out about smrsh and configured /var/adm/sm.bin direstory (For HP-UX) and made link for wrapper from /opt/mailman-2.0.13/mail/wrapper in /var/adm/sm.bin directory. Below is the message i see in syslog file.

======================================================================
Sep 24 09:55:30 mailman smrsh: usage
Sep 24 09:55:33 mailman Mailman mail-wrapper: Usage: /var/adm/sm.bin/wrapper program [args...]
Sep 24 10:07:33 mailman sendmail[16738]: KAA16738: from=, size=982, class=0, pri=30982, nrcpts=1, msgid=, proto=ESMTP, relay=myrelay.com [192.168.1.1]
Sep 24 10:07:33 mailman Mailman mail-wrapper: Failure to exec script. WANTED gid 102, GOT gid 1. (Reconfigure to take 1?)
Sep 24 10:07:33 mailman sendmail[16739]: KAA16738: to="|/opt/mailman-2.0.13/mail/wrapper post ntis_test", delay=00:00:01, xdelay=00:00:00, mailer=prog, stat=unknown mailer error 2
Sep 24 09:55:41 mailman smrsh: usage
Sep 24 10:07:33 mailman sendmail[16739]: KAA16738: KAA16739: DSN: unknown mailer error 2
Sep 24 10:07:35 mailman sendmail[16739]: KAA16739: to=, delay=00:00:02, xdelay=00:00:02, mailer=esmtp, relay=ms.something.com. [65.54.254.145], stat=Sent ( <200209241407.KAA16739@mailman.something.com> Queued mail for delivery)
=======================================================================

If you observe the above syslog message, you can see the following message

"Sep 24 09:55:33 mailman Mailman mail-wrapper: Usage: /var/adm/sm.bin/wrapper program [args...]"

Still i am having problem with smrsh and mail is getting bounced back giving error as shown above.

Anyhelp regarding smrsh is greatly appreciated



Be Teachable