pkgsrc-Users archive

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

Re: mailman group?



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@localhost>, orig_to=<Mailman-request%riscworks.net@localhost>, relay=cyrus, delay=0, status=bounced (data format error. Command output: |/usr/pkg/lib/mailman/mail/mailman request mailman%riscworks.net@localhost: Bad protocol )

i get following error, when running failing instruction manually:

/usr/pkg/lib/mailman/mail/mailman request mailman%riscworks.net@localhost
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@localhost
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.



Home | Main Index | Thread Index | Old Index