On 11/13/05, Tamer Fahmy <[EMAIL PROTECTED]> wrote:
> hmm, while we are at it!
>
>  the line for the postix case:
>    CONFIGURE_ARGS+=--with-mail-gid=nobody
>  is wrong and should be:
>    CONFIGURE_ARGS+=--with-mail-gid=_mailman

i went now through the pita to setup a mailman test installation on
3.8 in order to verify if it still breaks because of the incorrect
--with-mail-gid configure setting and if it still needs to be
addressed for 3.8 mailman-postfix flavors.

so here is what i did:
$ cd /usr/ports/mail/mailman/
$ FLAVOR=postfix make
...
# FLAVOR=postfix make install

after setting up postfix and mailman (the way it's outlined in
/usr/local/share/doc/mailman/README.OpenBSD [what a time saving doc!!!
thx to all of you who wrote this wonderful piece of doc!]) i posted
something to a freshly created test mailing list where it then bounces
back with:

<[EMAIL PROTECTED]>: Command died with status 2:
    "/usr/local/lib/mailman/mail/mailman post test". Command output: Group
    mismatch error.  Mailman expected the mail wrapper script to be executed as
    group "nobody", but the system's mail server executed the mail script as
    group "_mailman".  Try tweaking the mail server to run the script as group
    "nobody", or re-run configure,  providing the command line option
    `--with-mail-gid=_mailman'.

after doing exactly that by applying the attached patch everything
works as expected. it would be great if you could verify that and
apply the attached patch!

thx for the excellent work on the port so far,
  tamer.

--
  hardware, n: The parts of a computer system that can be kicked.
Index: Makefile
===================================================================
RCS file: /cvs/ports/mail/mailman/Makefile,v
retrieving revision 1.34.2.1
diff -u -r1.34.2.1 Makefile
--- Makefile    12 Nov 2005 11:26:56 -0000      1.34.2.1
+++ Makefile    13 Nov 2005 18:45:56 -0000
@@ -49,7 +49,7 @@
 FLAVORS=       postfix
 FLAVOR?=
 .if ${FLAVOR:L:Mpostfix}
-CONFIGURE_ARGS+=--with-mail-gid=nobody
+CONFIGURE_ARGS+=--with-mail-gid=_mailman
 .else
 CONFIGURE_ARGS+=--with-mail-gid=daemon
 .endif


Reply via email to