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

Mark Sapiro msapiro at value.net
Mon Mar 14 18:36:02 CET 2005


Christian Anton wrote:
>
>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:
>http://sourceforge.net/tracker/index.php?func=detail&aid=943827&group_id=103&atid=300103
>
>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(), 
>[scriptname])
>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)
<snip>

Indentation is critical in Python. You have not properly matched
indentation between the patch and the base in MailList.py. It is
safest to indent with spaces only. Mixing spaces and tabs in one file
causes problems.

--
Mark Sapiro <msapiro at value.net>       The highway is for gamblers,
San Francisco Bay Area, California    better use your sense - B. Dylan




More information about the Mailman-Users mailing list