
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@mglug.de, but the URL host for seeing the webpages of the list must be lists@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@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/'

Christian Anton wrote:
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@mglug.de, but the URL host for seeing the webpages of the list must be lists@mglug.de.
Do you mean lists.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@mglug.de
If you carefully read 'bin/newlist --help' you will see the command you want is
bin/newlist list@lists.mglug.de
i.e., listname@url_host, not listname@email_host
I know this is confusing and it has been addressed in 2.1.6 by adding new options so you could do
bin/newlist list --urlhost=lists.mglug.de
but this won't work in 2.1.5.
-- Mark Sapiro msapiro@value.net The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan

Am Dienstag 28 Juni 2005 02:56 schrieb Mark Sapiro:
Christian Anton wrote:
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@mglug.de, but the URL host for seeing the webpages of the list must be lists@mglug.de.
Do you mean lists.mglug.de?
yes, i meant!
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@mglug.de
If you carefully read 'bin/newlist --help' you will see the command you want is
bin/newlist list@lists.mglug.de
i.e., listname@url_host, not listname@email_host
I know this is confusing and it has been addressed in 2.1.6 by adding new options so you could do
bin/newlist list --urlhost=lists.mglug.de
but this won't work in 2.1.5.
Reading manuals is a fine thing...
It runs, thank you very much!
Christian
participants (2)
-
Christian Anton
-
Mark Sapiro