“Command died with status 2: “/opt/local/libexec/mailman/mail/mailman post mailman”. Command output: Group mismatch error. Mailman expected the mail wrapper script to be executed as group “mailman”, but the system’s mail server executed the mail script as group “nobody”. Try tweaking the mail server to run the script as group “mailman”, or re-run configure, providing the command line option `–with-mail-gid=nobody’.”
Lovely error message. It says exactly what it means. The effect though is that you can’t use DarwinPorts to manage your Mailman package as DarwinPorts always sets the ‘–with-mail-gid’ configuration variable to ‘mailman’ which will NEVER work!
(Except of course if your recompiled your MTA, in my case Postfix, to run with the group as ‘mailman’.)
Also, don’t forget to include in your Postfix main.cf (usually in /etc/postfix/) the following line:
alias_maps = hash:/opt/local/var/mailman/data/aliases
(Assuming that that you installed mailman to /opt/local/)
Another point is to remember to check the permissions on mailman’s files using the command
(Again assuming that that you installed mailman to /opt/local/)