[Mailman-Users] compiling mm2.1.1 with sendmail
Jon Carnes
jonc at nc.rr.com
Tue Mar 4 02:13:54 CET 2003
Generally Sendmail is installed by default to use UID=mail and
GID=mail. You obviously know how to look in the /etc/sendmail.cf file
to see what the current GID is.
If the GroupID used by Sendmail is "mail" then re-install mailman using
the ./configure --with-mail-gid=mail
Good Luck - Jon Carnes
BTW - this in the FAQ
On Mon, 2003-03-03 at 12:22, Dave Stern - Former Rocket Scientist wrote:
> I'm having the devil of a time getting mailman to work with sendmail. It
> compiles and installs ok but contstantly bickers about
>
> Mailman expected the mail
> wrapper script to be executed as group "other", but
> the system's mail server executed the mail script as
> group "mailman". Try tweaking the mail server to run the
> script as group "other", or re-run configure,
> providing the command line option `--with-mail-gid=mailman'.
>
> Details; have mailman account,group, homedir sgid,
> ./configure --prefix=/etc/mailman --with-mail-gid=mailman --with-cgi-gid=mailman
> make
> make install
> cd $PREFIX/bin
> ./check_perms -f
> ./check_perms -f
> first time finds and corrects all the template errors, second runs clean
> web page is accessible, can create list eg listname mailman
> but no notification is sent to the list owner
>
>
> ln -s /etc/mailman/mail/mailman /var/adm/sm.bin
> Mar 3 11:57:25 myhost.domain sm-mta[29735]: [ID 801593 mail.info] h23GvO5302973
> 5: from=<dave at anotherhost>, size=660, class=0, nrcpts=1, msgid=<200303031656.h23
> Guc7x027829 at anotherhost>, proto=ESMTP, daemon=MTA, relay=anotherhost [128.8.120.
> 201]
> Mar 3 11:57:25 myhost.domain Mailman mail-wrapper: [ID 702911 mail.error] Group
> mismatch error. Mailman expected the mail
> Mar 3 11:57:25 myhost.domain wrapper script to be executed as group "mailman",
> but
> Mar 3 11:57:25 myhost.domain the system's mail server executed the mail script
> as
> Mar 3 11:57:25 myhost.domain group "other". Try tweaking the mail server to ru
> n the
> Mar 3 11:57:25 myhost.domain script as group "mailman", or re-run configure,
> Mar 3 11:57:25 myhost.domain providing the command line option `--with-mail-gid
> =other'.
> Mar 3 11:57:25 myhost.domain sm-mta[29736]: [ID 801593 mail.info] h23GvO5302973
> 5: to="|/etc/mailman/mail/mailman post mailman", ctladdr=<mailman at myhost.domain>
> (1/0), delay=00:00:01, xdelay=00:00:00, mailer=prog, pri=30902, dsn=5.3.0, stat
> =unknown mailer error 2
> Mar 3 11:57:25 myhost.domain sm-mta[29736]: [ID 801593 mail.info] h23GvO5302973
> 5: h23GvP53029736: DSN: unknown mailer error 2
> Mar 3 11:57:25 myhost.domain sm-mta[29736]: [ID 801593 mail.info] h23GvP5302973
> 6: to=<dave at anotherhost>, delay=00:00:00, xdelay=00:00:00, mailer=esmtp, pri=31926, relay=anotherhost. [128.8.120.201], dsn=2.0.0, stat=Sent (h23Gucm8027833 Mes
> sage accepted for delivery)
>
>
> % ls -l /etc/mailman/mail/mailman
> -rwxr-sr-x 1 mailman mailman 25736 Mar 3 11:45 /etc/mailman/mail/mailman
>
> Even tried modifying sendmail.cf to use
> O DefaultUser=mailman but I REALLY don't wanna do that.
>
> Tried rebuilding with --with-mail-gid=other. Anyone else come across this?
>
>
>
> =-=-=-=-=-=-=-=-=-=-=-=- generated by /dev/dave -=-=-=-=-=-=-=-=-=-=-=-=-=-=
> David Stern University of Maryland
> Institute for Advanced Computer Studies
>
>
> ------------------------------------------------------
> 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/
More information about the Mailman-Users
mailing list