Subject: Re: mailman group?
To: Hubert Feyrer <hubert@feyrer.de>
From: Timo Schoeler <timo.schoeler@riscworks.net>
List: pkgsrc-users
Date: 06/01/2006 10:52:59
thus Hubert Feyrer spake:
> On Tue, 23 May 2006, Steven M. Bellovin wrote:
>> There are indeed conflicts between mailman and postfix.  Setting
>> MAILMAN_MAILGROUP=mailman solves them, if I recall -- at any rate, that's
>> what I have, and it does work.  But I've had trouble in the past, though
>> recent versions of mailman have been a lot better.
> 
> MAILMAN_MAILGROUP=mailman does not seem to work with sendmail.
> Postfix seems to run with gid 12 ("postfix"), so that's indeed bad.
> 
> I guess I'll going to change this to 'daemon' now, and add a comment for 
> postfix.
> 
> That's not optimal, but better than the given status.
> 
> 
>  - Hubert

hi,

i'm trying to start a new mailman installation; wrt above discussion 
about wrapper scripts and GIDs i ran into the problem that, build with

MAILMAN_USER?=          mailman
MAILMAN_GROUP?=         mailman
MAILMAN_MAILGROUP?=     postfix

(default for postfix)

maillog says:

Jun  1 10:48:15 blackjack-a postfix/pipe[5179]: 7513C3506F9: 
to=<|/usr/pkg/lib/mailman/mail/mailman request mailman@riscworks.net>, 
orig_to=<Mailman-request@riscworks.net>, relay=cyrus, delay=0, 
status=bounced (data format error. Command output: 
|/usr/pkg/lib/mailman/mail/mailman request mailman@riscworks.net: Bad 
protocol )

i get following error, when running failing instruction manually:

/usr/pkg/lib/mailman/mail/mailman request mailman@riscworks.net
Group mismatch error.  Mailman expected the mail
wrapper script to be executed as group "postfix", but
the system's mail server executed the mail script as
group "wheel".  Try tweaking the mail server to run the
script as group "postfix", or re-run configure,
providing the command line option `--with-mail-gid=wheel'.

as it's no production system yet i tried building mailman with 
MAILMAN_MAILGROUP?=     wheel
but then the above mentioned phenomenon turns 180 degrees, it wants to 
be run as mailman...

any clues?

thanks in advance & best,

timo

-- 
Timo Schoeler | http://riscworks.net/~tis | timo.schoeler@riscworks.net
RISCworks -- Perfection is a powerful message
ISP | POWER & PowerPC afficinados | Networking, Security, BSD services
GPG Key fingerprint = C9CA 7A13 4250 44EF CC58  938F AE29 5465 6E09 3093

There are 10 types of people in the world. Those who understand binary
and those who don't.