Newsroom Update

Beginning in May, a special Today at Apple series titled “Made for Business” will offer small business owners and entrepreneurs free opportunities to learn how Apple products and services can support their growth and success. Learn more >

Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

Mailman/Mailing List Virtual Domains

Let's try the whole virtual domains for mailman thing again? I've reached the burning-entrails-over-the-keyboard stage, and am clearly out of my depth.

The goal of this exercise is to configure a mailing list Gurgles for the non-local domain gurgitate.org which will then accept postings at gurgles@gurgitate.org .

It sounds simple. Either it's not or I am.

Postfix

I've configured a test server to act as a laboratory:

gilded-bat.laughingboot.net

It's one of a series of several laughingboot.net servers. Relevant lines from its main.cf include:

+myhostname = gilded-bat.laughingboot.net+
+mydomain = laughingboot.net+
+virtual aliasmaps = hash:/etc/postfix/virtual,hash:/var/mailman/data/aliases+
+virtual mailboxdomains = hash:/etc/postfix/virtual_domains+
+owner requestspecial = no+
+recipient_delimiter = ++

I've configured a single virtual domain. virtual_domains contains:

+gurgitate.org allow+

I've used WGM to configure the address bryan@gurgitate.org, and tested it successfully.

Apache

I've created the virtual host gurgitate.org and tested it.

Mailman

In Server Admin, I've activated mailing lists and followed the prompts to create "Mailman" and an admin user. I've cobbled together the following procedure from bits and scraps and Alex's good advice. Of course it doesn't work, or I wouldn't be posting.

1. In SA, add a new list gurgles, admin user bryan@gurgitate.org.

2. Edit /usr/share/mailman/Mailman/ mm_cfg.py and add the last line below, like so:

+from Defaults import *+
+MTA = 'Postfix'+
+DEFAULT EMAILHOST = 'gilded-bat.laughingboot.net'+
+DEFAULT URLHOST = 'gilded-bat.laughingboot.net'+
+POSTFIX STYLE_VIRTUALDOMAINS = 'gurgitate.org'+

3. Browsed + http://gurgitate.org/mailman/admin/gurgles+ and verified that +host name this list prefers for email+ is set to gurgitate.org

4. Executed the following terminal commands:

+cd /var/mailman/data+

/usr/share/mailman/bin/genaliases

+chown mailman:mailman virtual-mailman*
+
+chmod 02775 virtual-mailman*
/usr/share/mailman/bin/check_perms -f
+
/usr/share/mailman/bin/mailmanctl
+restart
postfix reload+

*And the Verdict Is...*

+<gurgles@gilded-bat.laughingboot.net>: data format error. Command output:+
+gurgles: Mailbox does not exist+
+Reporting-MTA: dns; gilded-bat.laughingboot.net+
+X-Postfix-Queue-ID: ADBE411F56D+
+X-Postfix-Sender: rfc822; bryan@gurgitate.org+
+Arrival-Date: Wed, 10 Jun 2009 15:29:31 -0700 (PDT)+

+Final-Recipient: rfc822; gurgles@gilded-bat.laughingboot.net+
+Original-Recipient: rfc822;gurgles@gurgitate.org+
+Action: failed+
+Status: 5.6.0+
+Diagnostic-Code: x-unix; gurgles: Mailbox does not exist+

*Other Issues*

Adding a new user to the list via SA generates message inviting the new user to post at gurgles@gurgitate.org, which then rudely rejects postings with the message above.

I'd also like to host lists in the server's local domain, in the format listname@laughingboot.net, never listname@gilded-bat.laughingboot.net. I've never succeeded in doing so in previous attempts.

-Bryan

Mac Pro 2x2.26 Quad, et al, Mac OS X (10.5.7), OS X Server 10.5.7

Posted on Jun 10, 2009 4:23 PM

Reply
2 replies

Aug 5, 2009 5:21 PM in response to R Bryan Harrison

I have also gotten into this topic and it doesn't seem as straightforward as it should.

I have a virtual address and am trying to setup a mailing list on this. Eventually I want to move to a real list, but the system doesn't seem to respond to the list email. The file "/var/mailman/data/virtual-mailman" shows that mailman seems to be setup for the virtual addresses

# This file is generated by Mailman, and is kept in sync with the binary hash
# file virtual-mailman.db. YOU SHOULD NOT MANUALLY EDIT THIS FILE unless you
# know what you're doing, and can keep the two files properly in sync. If you
# screw it up, you're on your own.
#
# Note that you should already have this virtual domain set up properly in
# your Postfix installation. See README.POSTFIX for details.

# LOOP ADDRESSES START
mailman-loop@svn.magnet.fsu.edu mailman-loop
# LOOP ADDRESSES END

# STANZA START: test2
# CREATED: Wed Aug 5 12:13:41 2009
test2@svn.magnet.fsu.edu test2
test2-admin@svn.magnet.fsu.edu test2-admin
test2-bounces@svn.magnet.fsu.edu test2-bounces
test2-confirm@svn.magnet.fsu.edu test2-confirm
test2-join@svn.magnet.fsu.edu test2-join
test2-leave@svn.magnet.fsu.edu test2-leave
test2-owner@svn.magnet.fsu.edu test2-owner
test2-request@svn.magnet.fsu.edu test2-request
test2-subscribe@svn.magnet.fsu.edu test2-subscribe
test2-unsubscribe@svn.magnet.fsu.edu test2-unsubscribe
# STANZA END: test2

But the cryptic message that I need to have the postfix installation setup and refers me to a README file that I can't find. So, how do I setup the postfix installation correctly to be able to receive email at that address.

The address is just an alias to the main IP address of the server.

Mailman/Mailing List Virtual Domains

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.