[Mailman-Users] virtual domain lists
Christian Anton
mail at christiananton.de
Wed Jun 22 12:46:58 CEST 2005
Hi list,
i am running mailman 2.1.5 with the mailman-virtual patch for some virtual
domains.
Because of the usage of suexec on my Webserver i have every vhost running its
CGI's with another UID on the system. For being able to access the
mailman-binaries i have to create a new vhost that ist only for this, for
example "lists.domain.tld", configuring in this vhost that cgi's are executed
with the UID 'mailman'.
Now i want to create a mailinglist list at mglug.de, but the URL host for seeing
the webpages of the list must be lists at mglug.de.
I have read the documentation and i think that add_virtualhost(<URL_HOST>,
<MAIL_HOST>) has to be what i want, so that when i create a list with the
command:
bin/newlist list at mglug.de
mailman understands that the webpages for this list are on
http://lists.mglug.de.
I tried this out with my configuration i added to this mail, but
add_virtualhost seems to not have any effect. Can you tell me pls what i am
doing wrong?
Thanks in advance
Christian
my mm_cfg.py:
[...]
###############################################
# Here's where we get the distributed defaults.
from Defaults import *
##################################################
# Put YOUR site-specific settings below this line.
DELIVERY_MODULE = 'SMTPDirect'
SMTPHOST = 'localhost'
SMTPPORT = 10025
SMTP_MAX_RCPTS = 1000
MTA = 'Postfix'
DEFAULT_EMAIL_HOST = 'gentix.de'
DEFAULT_URL_HOST = 'lists.gentix.de'
VIRTUAL_HOSTS.clear()
add_virtualhost(DEFAULT_URL_HOST, DEFAULT_EMAIL_HOST)
add_virtualhost('lists.citservice.de', 'lists.citservice.de')
add_virtualhost('lists.mglug.de', 'mglug.de')
DEFAULT_SERVER_LANGUAGE = 'de'
IMAGE_LOGOS = '/mailmanicons/'
More information about the Mailman-Users
mailing list