[Mailman-Users] Problems with mailman-2.1.4 sending mail using sendmail

Hill, Ronald ronald.hill at ugsplm.com
Tue Feb 10 18:56:41 CET 2004


Hi All,

I am trying to get mailman 2.1.4 to run on HPUX with sendmail
and am running into problems. I have the web interface working
correctly but I am unable to post mail to a test group 

I created a test group using the new list command. I did
receive an e-mail confirming the creation of the list. Next
I subscribed to the list (using the web interface) This
worked correctly ( I received an e-mail to that effect)
I confirmed (again another e-mail) and was listed
as a member of the list. I next sent a e-mail
and it bounced ( communication failure)

checking the mail.log file I found this entry

from /var/adm/syslog/mail.log

Feb 10 07:09:28 cyhpr365 sendmail[24811]: HAA24811: from=<me at ugsplm.com>,
 size=778, class=0, pri=30778, nrcpts=1,
msgid=<sssF at cypntx3.net.plm.eds.com>,
 proto=ESMTP, relay=usslmgate001.ugsplm.com [134.244.32.20] (may be forged)
Feb 10 07:09:28 cyhpr365 sendmail[24812]: HAA24811: alias
<me at support.plms-eds.com> =>
 "|/usr/local/mailman/mail/mailman post test"
Feb 10 07:09:28 cyhpr365 Mailman mail-wrapper: Group mismatch error.
Mailman expected the mail
Feb 10 07:09:28 cyhpr365 sendmail[24812]: HAA24811:
to="|/usr/local/mailman/mail/mailman post test",
 delay=00:00:00, xdelay=00:00:00, mailer=prog, stat=unknown mailer error 2

Hmn! I checked the FAQ and found an entry under Document contains
no data. It talks about the GID problems and a way to fix them.
Well, I checked the mail.log file (see above) and it is not telling
me what GID it is expecting 

I next checked to see if the daemons are running.

$ ps -ef|grep mailman
 mailman 24490 24488  0 06:59:17 ?
 mailman 24496 24488  0 06:59:18 ?
 mailman 24491 24488  0 06:59:17 ?
 mailman 24495 24488  0 06:59:18 ?
 mailman 24493 24488  0 06:59:18 ?
 mailman 24488     1  0 06:59:17 ?
 mailman 24489 24488  0 06:59:17 ?
 mailman 24492 24488  0 06:59:17 ?
 mailman  6487  6155  0 06:41:28
 mailman 25134  6487  3 07:54:54
 mailman 24494 24488  0 06:59:18 ?
$


So then I did this (as mailman)

$ whoami
mailman
$ /usr/local/mailman/mail/mailman post test

I got a blank screen (no errors)

Then I ran the exact command as root (to see what happens)

# whoami
root
# /usr/local/mailman/mail/mailman post test
Group mismatch error.  Mailman expected the mail
wrapper script to be executed as group "mailman", but
the system's mail server executed the mail script as
group "sys".  Try tweaking the mail server to run the
script as group "mailman", or re-run configure,


Ok, now I see the error but this complete message
is not in the mail.log file.

I have since recompiled mailman with GID sys which is
GID =3 and as mail GID =6 But I still receive the same errors
listed in the mail.log file.

Can someone tell me how to figure out what mailman wants?
(or get the mail.log file to capture the whole error message)

Thanks

Ron Hill


[config info]

system type

# uname -a
HP-UX cyhpr365 B.11.11 U 9000/785 2003781508 unlimited-user license
#

sendmail version

$ echo \$Z | /usr/sbin/sendmail -bt -d0
Version 8.9.3 (PHNE_26305+JAGae58098)
 Compiled with: LDAPMAP MAP_REGEX LOG MATCHGECOS MIME7TO8 MIME8TO7
                NAMED_BIND NDBM NETINET NETUNIX NEWDB NIS NISPLUS QUEUE
SCANF
                SMTP USERDB XDEBUG
[snipped]

ADDRESS TEST MODE (ruleset 3 NOT automatically invoked)
Enter <ruleset> <address>
> 8.9.3
> $
$



configuration of mailman 2.1.4

$
./configure --with-mail-gid=mailman --with-cgi-gid=www --prefix=/usr/local/m
ailman

[snipped]

configure:2623: checking for --with-username
configure:2637: result: mailman
configure:2642: checking for user name "mailman"
configure:2690: result: okay
configure:2695: checking for --with-groupname
configure:2709: result: mailman
configure:2715: checking for group name "mailman"
configure:2763: result: okay
configure:2767: checking permissions on /usr/local/mailman
configure:2822: result: okay
configure:2828: checking for mail wrapper group; i.e. --with-mail-gid
configure:2892: result: mailman
configure:2896: checking for CGI wrapper group; i.e. --with-cgi-gid
configure:2961: result: www

----------
mailman user information from /etc/passwd

mailman:x:250:20:Mailman,,,:/home/mailman:/usr/bin/ksh
----------------
group information from /etc/group

mailman::105:mailman,www
---------------------------




More information about the Mailman-Users mailing list