[Mailman-Users] Postfix & Mailman not playing well together
michael.c.soh at gmail.com
Mon May 23 21:16:19 CEST 2011
On Mon, May 23, 2011 at 3:05 PM, Mark Sapiro <mark at msapiro.net> wrote:
> This is documented in Defaults.py in the paragraphs immediately
> preceding the definitions of DEFAULT_URL_HOST and DEFAULT_EMAIL_HOST.
I was just following the directions on the website, specifically:
> >add_virtualhost(DEFAULT_URL_HOST, DEFAULT_EMAIL_HOST)
> >I'm assuming then I'll have to add the following lines:
> >add_virtualhost(DEFAULT_URL_HOST, 'mikesoh.com')
> >add_virtualhost(DEFAULT_URL_HOST, 'linuslive.com')
> No. The url hosts in add_virtualhost directives must be unique.
> Otherwise each just replaces the prior one.
> If you aren't going to create lists via the web and are going to create
> all lists via bin/newlist with the same (default) url host and the -e
> option for specifying email host (or setting the email host via the
> list's host_name in the web admin GUI). You don't need add_virtualhost
This is what I would like to do. I'm a command-line person myself. And
since I'd have to run postfix reload after creating the aliases anyway, it
makes more sense for me to run it via command-line.
> If you have multiple web domains and want to keep them separate, you
> need add_virtualhost('web_host_for_this_email_domain', 'email_domain')
> for each domain.
I didn't put in add_virtualhost() in the Defaults.py or mm_cfg.py and still
having mail bouncing saying that the alias couldn't be found.
If worse comes to worse, I can just host all of my mailman lists on the
lists.mikesoh.com subdomain but would like to be able to use all of my
domains to create mailing lists.
More information about the Mailman-Users