[Mailman-Users] editing subscription acknowledgement file
Christopher Adams
chris.a.adams at state.or.us
Wed Feb 2 17:32:44 CET 2005
The file is subscribeack.txt. Edit it with your favorite text editor. Be
aware that some of the Python strings can't simply be added to the file
and be expected to parse the information correctly. There is a bit of
Python code that might have to be tweaked in the MailLists.py file in
the Mailman directory. However, if all you want to do is add or delete
some text, have at it.
Mark Ballard wrote:
> Thanks Mark,
>
> I was trying to figure out how to edit the email that goes out after a
> subscription is accepted, to take out the info on how to post to the
> list since I am creating an announce only list. And I managed to get it
> out of the templates folder.
> Could you point me in the right direction on how to edit that email.
>
> Mark Ballard
> Site Technology Specialist
> El Molino High School
> http://www.elmolino.org
> On Feb 1, 2005, at 4:09 PM, Mark Sapiro wrote:
>
>> Mark Ballard wrote
>>
>>> I am trying to set up and announce list and I am getting list long
>>> error message on the web interface. And I can figure it out. Hop
>>> someone can help. Sorry for the extremely long post.
>>>
>>> Bug in Mailman version 2.1.2
>>>
>>> We're sorry, we hit a bug!
>>>
>>> If you would like to help us identify the problem, please email a copy
>>> of this page to the webmaster for this site with a description of what
>>> happened. Thanks!
>>>
>>> Traceback:
>>>
>>>
>>> Traceback (most recent call last):
>>> File "/usr/share/mailman/scripts/driver", line 87, in run_main
>>> main()
>>> File "/usr/share/mailman/Mailman/Cgi/admindb.py", line 163, in main
>>> process_form(mlist, doc, cgidata)
>>> File "/usr/share/mailman/Mailman/Cgi/admindb.py", line 758, in
>>> process_form
>>> preserve, forward, forwardaddr)
>>> File "/usr/share/mailman/Mailman/ListAdmin.py", line 189, in
>>> HandleRequest
>>> status = self.__handlesubscription(data, value, comment)
>>> File "/usr/share/mailman/Mailman/ListAdmin.py", line 444, in
>>> __handlesubscription
>>> self.ApprovedAddMember(userdesc)
>>> File "/usr/share/mailman/Mailman/MailList.py", line 902, in
>>> ApprovedAddMember
>>> digest, text)
>>> File "/usr/share/mailman/Mailman/Deliverer.py", line 69, in
>>> SendSubscribeAck
>>> }, lang=pluser, mlist=self)
>>> File "/usr/share/mailman/Mailman/Utils.py", line 467, in maketext
>>> raise IOError(errno.ENOENT, 'No template file found', templatefile)
>>> IOError: [Errno 2] No template file found: 'subscribeack.txt'
>>
>>
>> There is no subscribeack.txt template in any of the places that
>> Utils.maketext() looks for it.
>>
>> Either someone tried to edit it and removed the base template from the
>> templates/<language>/ directory and didn't put the edited template in
>> the right place (the base template should not be removed or changed),
>> or there's a permissions problem, or your Mailman is not completely
>> installed.
>>
>> See http://www.python.org/cgi-bin/faqw-mm.py?req=show&file=faq04.048.htp
>>
>> --
>> Mark Sapiro <msapiro at value.net> The highway is for gamblers,
>> San Francisco Bay Area, California better use your sense - B. Dylan
>>
>
> ------------------------------------------------------
> Mailman-Users mailing list
> Mailman-Users at 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/
--
Christopher Adams
Library Systems Analyst
Oregon State Library
503-378-4243 258
chris.a.adams at state.or.us
More information about the Mailman-Users
mailing list