[Mailman-Users] virtual domains (virtual hosts)

Greg Westin python.org at gregwestin.com
Wed May 28 02:52:12 CEST 2003


Thanks... I think it was just a silly mistake.  I'd had:

add_virtualhost('virtualdom1.ain')

instead of:

add_virtualhost('www.virtualdom1.ain','virtualdom1.ain')

Now things seem to be working great.  I ran genaliases and all seems right
with the world.

Thanks,

Greg
---
http://www.gregwestin.com/
Contact info: http://www.gregwestin.com/contact.php

On Wed, 28 May 2003, hooch wrote:

>
> On Tue, 27 May 2003 14:23:24 -0400 (EDT)
> Greg Westin <python.org at gregwestin.com> wrote:
>
> > I've searched the archives and FAQ for answers, but only see questions
> > with no replies.  I hope someone makes a FAQ about virtual domains! (or
> > makes it easier to find if it exists!)
> >
> > I can't get lists on virtual domains to work right.  The web pages for the
> > list properly show it as being on the virtual domain, but when I send
> > messages to the list, it shows up as being to listname at defaultdom.ain
> > instead of listname at virtualdom.ain.  This is the domain listed in the
> > 'mydomain' variable in Postfix, but I don't think it's anywhere in
> > the Mailman configuration files.  Also, virtual-mailman isn't touched
> > when creating lists on virtual domains.  Below is more information about
> > my setup.
>
>
> I agree, documentation on virtual domains is not the best :)
>
> I waited on #mailman and got some assistance, it seems that the
> latest documentation is in the various bin/ scripts' --help
>
>
> I'm not sure of your postfix setup, but i configured mm-cfg.py:
>
>   add_virtualhost('www.virtualdom1.ain','virtualdom1.ain')
>
>
> And when I add a list like this:
>
>   bin/newlist list-name at www.virtualdom1.ain
>
> I find the mail host is configured as 'virtualdom1.ain'.
>
>
> I was able to reconfigure an existing list similarly:
>
>   bin/withlist -l -r fix_url list-name -u www.virtualdom1.ain -v
>
>
> Content on the mailman website about 'virtual hosts' seems to be cruft :)
>
>
> Hope this helps
>
>
>
> Regards
>
> Chris Paul





More information about the Mailman-Users mailing list