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 <[EMAIL PROTECTED]>       The highway is for gamblers,
San Francisco Bay Area, California    better use your sense - B. Dylan

------------------------------------------------------
Mailman-Users mailing list
Mailman-Users@python.org
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org

Security Policy: 
http://www.python.org/cgi-bin/faqw-mm.py?req=show&amp;file=faq01.027.htp

Reply via email to