[Mailman-Users] true virtual hosting with mailman-2.1.5

Christian Anton mail at christiananton.de
Mon Mar 14 17:54:34 CET 2005

Hi everybody!

I'm wanting to use mailman on a postfix-powered machine with virtual 
domains. As i found out that "out-of-the-box" mailman does not support 
this fine (one only namespace for mailing list names etc) i found this 
patch in the FAQ of mailman:

The problem i have with it is that it seems to be for an older version 
of mailman. It says something of version 2.1.1. I'm using 2.1.5 so it 
will not apply. I tried to patch the file manually reading the patch and 
making the changes in the source file, everything installes fine but 
when i try to access mailman's "listinfo" cgi with a browser, i get this:

Mar 14 17:45:11 2005 admin(4153): 
admin(4153): [----- Mailman Version: 2.1.5 -----]
admin(4153): [----- Traceback ------]
admin(4153): Traceback (most recent call last):
admin(4153):   File "/home/mailman/scripts/driver", line 94, in run_main
admin(4153):     pkg = __import__('Mailman.Cgi', globals(), locals(), 
admin(4153):   File "/home/mailman/Mailman/Cgi/listinfo.py", line 27, in ?
admin(4153):     from Mailman import MailList
admin(4153): IndentationError: unindent does not match any outer 
indentation level (MailList.py, line 449)
admin(4153): [----- Python Information -----]
admin(4153): sys.version     =   2.3.4 (#1, Mar  3 2005, 21:56:32)
[GCC 3.3.5  (Gentoo Linux 3.3.5-r1, ssp-3.3.2-3, pie-]
admin(4153): sys.executable  =   /usr/bin/python
admin(4153): sys.prefix      =   /usr
admin(4153): sys.exec_prefix =   /usr
admin(4153): sys.path        =   /usr
admin(4153): sys.platform    =   linux2
admin(4153): [----- Environment Variables -----]
admin(4153):    SERVER_SOFTWARE: Apache
admin(4153):    SCRIPT_NAME: /mailman/listinfo
admin(4153):    SERVER_SIGNATURE: <address>Apache Server at 
lists.citservice.de Port 80</address>
admin(4153):    REQUEST_METHOD: GET
admin(4153):    HTTP_KEEP_ALIVE: 300
admin(4153):    SERVER_PROTOCOL: HTTP/1.1
admin(4153):    QUERY_STRING:
admin(4153):    HTTP_ACCEPT_CHARSET: ISO-8859-1,utf-8;q=0.7,*;q=0.7
admin(4153):    HTTP_USER_AGENT: Mozilla/5.0 (X11; U; Linux x86_64; 
en-US; rv:1.7.6) Gecko/20050301 Firefox/1.0.1
admin(4153):    HTTP_CONNECTION: keep-alive
admin(4153):    SERVER_NAME: lists.citservice.de
admin(4153):    REMOTE_ADDR:
admin(4153):    SERVER_PORT: 80
admin(4153):    SERVER_ADDR:
admin(4153):    DOCUMENT_ROOT: /home/mailman
admin(4153):    PYTHONPATH: /home/mailman
admin(4153):    SCRIPT_FILENAME: /home/mailman/cgi-bin/listinfo
admin(4153):    SERVER_ADMIN: webmaster at citservice.de
admin(4153):    HTTP_HOST: lists.citservice.de
admin(4153):    HTTP_CACHE_CONTROL: max-age=0
admin(4153):    REQUEST_URI: /mailman/listinfo
admin(4153):    HTTP_ACCEPT: 
admin(4153):    GATEWAY_INTERFACE: CGI/1.1
admin(4153):    REMOTE_PORT: 55268
admin(4153):    HTTP_ACCEPT_LANGUAGE: de-de,en-us;q=0.7,en;q=0.3
admin(4153):    HTTP_ACCEPT_ENCODING: gzip,deflate

Is there a working and maybe something tested patch for version 2.1.5 
already? Or another fine solution to make real virtual hosting?

Thank you all in advance!

Christian Anton

More information about the Mailman-Users mailing list