rather than have a flavour of mailman per mta you might use so you
can compile the wrapper with a different group that could be used
for delivery, just have a dedicated _mailmanq group that you can
put whatever mta you're using into.

ok?

Index: infrastructure/db/user.list
===================================================================
RCS file: /cvs/ports/infrastructure/db/user.list,v
retrieving revision 1.248
diff -u -p -r1.248 user.list
--- infrastructure/db/user.list 18 May 2015 21:10:18 -0000      1.248
+++ infrastructure/db/user.list 4 Jun 2015 01:25:09 -0000
@@ -262,3 +262,4 @@ id  user            group           port options
 751 _knot              _knot           net/knot
 752 _logstash          _logstash       sysutils/logstash/logstash
 753 _mosquitto         _mosquitto      net/mosquitto
+754                    _mailmanq       mail/mailman
Index: mail/mailman/Makefile
===================================================================
RCS file: /cvs/ports/mail/mailman/Makefile,v
retrieving revision 1.81
diff -u -p -r1.81 Makefile
--- mail/mailman/Makefile       9 Apr 2015 15:37:08 -0000       1.81
+++ mail/mailman/Makefile       4 Jun 2015 01:25:09 -0000
@@ -39,17 +39,8 @@ CONFIGURE_ARGS+=     --prefix='${MMHOME}' \
                        --with-var-prefix='${MMSPOOL}' \
                        --without-permcheck \
                        --with-username=_mailman \
-                       --with-groupname=_mailman
-
-FLAVORS=       postfix sendmail
-FLAVOR?=
-.if ${FLAVOR:Mpostfix}
-CONFIGURE_ARGS+=--with-mail-gid=_mailman
-.elif ${FLAVOR:Msendmail}
-CONFIGURE_ARGS+=--with-mail-gid=daemon
-.else
-CONFIGURE_ARGS+=--with-mail-gid=_smtpd
-.endif
+                       --with-groupname=_mailman \
+                       --with-mail-gid=_mailmanq \
 
 SCRIPTS=       Mailman/Archiver/pipermail.py \
                Mailman/Post.py \
Index: mail/mailman/pkg/PLIST
===================================================================
RCS file: /cvs/ports/mail/mailman/pkg/PLIST,v
retrieving revision 1.25
diff -u -p -r1.25 PLIST
--- mail/mailman/pkg/PLIST      9 Apr 2015 15:37:08 -0000       1.25
+++ mail/mailman/pkg/PLIST      4 Jun 2015 01:25:09 -0000
@@ -1,5 +1,6 @@
 @comment $OpenBSD: PLIST,v 1.25 2015/04/09 15:37:08 okan Exp $
 @newgroup _mailman:504
+@newgroup _mailmanq:754
 @newuser _mailman:504:_mailman:daemon:Mailing List 
Manager:${PREFIX}/lib/mailman:/sbin/nologin
 @extraunexec rm -fr /var/spool/mailman/*
 @owner _mailman
Index: mail/mailman/pkg/README
===================================================================
RCS file: /cvs/ports/mail/mailman/pkg/README,v
retrieving revision 1.3
diff -u -p -r1.3 README
--- mail/mailman/pkg/README     2 Jun 2011 13:41:39 -0000       1.3
+++ mail/mailman/pkg/README     4 Jun 2015 01:25:09 -0000
@@ -175,12 +175,10 @@ system and version of Python.
              more information.
 
 
-   Problem:  I use Postfix for my MTA and the mail wrapper programs
-             are logging complaints about the wrong GID.
+   Problem:  The mail wrapper programs are logging complaints about
+             the wrong GID.
 
-   Solution: Install mailman with the following command:
-
-             % FLAVOR=postfix make install
+   Solution: Add your MTAs user to the _mailmanq group
 
 
    Problem:  I send mail to the list, and get back mail saying,

Reply via email to