[Mailman-Users] virtual domains

Greg Westin python.org at gregwestin.com
Tue May 27 20:23:24 CEST 2003


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'm using Postfix as my MTA.  In my Postfix main.cf file, I have the
following line:

virtual_maps=   hash:/etc/postfix/virtual,
                hash:/usr/local/mailman/data/virtual-mailman

In my mm_cfg.py file, I have the following relevant lines:

MTA = 'Postfix'
POSTFIX_STYLE_VIRTUAL_DOMAINS = ['virtualdom1.ain', 'virtualdom2.ain']
POSTFIX_ALIAS_CMD = '/usr/local/bin/postalias'
POSTFIX_MAP_CMD = '/usr/local/bin/postmap'

#VIRTUAL_HOSTS = {'virtualdom1.ain','virtualdom2.ain'}
add_virtualhost('virtualdom1.ain')
#VIRTUAL_HOST['virtualdom1.ain']
add_virtualhost('virtualdom2.ain')
#VIRTUAL_HOST['virtualdom2.ain']

Any help would be appreciated.

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






More information about the Mailman-Users mailing list