Re: [Mailman-Users] [Mailman-Users off list] New mailman user

2005-09-07 Thread Andrew Steele
On 6 Sep 2005 at 18:49, Mark Sapiro wrote:

 I think if you just remove the setgid bit from the wrappers in cgi-bin,
 your web interface will work again. This will not solve the original
 problem which I think is a Mailman/Exim integration issue.

Hi Mark,

I really appreciate your continued advice to a mailman novice.

I ran  chmod =rwx,g-s * in the mailman/cgi-bin directory then 
chmod 775 * but this made no difference to the web interface - still 
generating the error so presumably the suexec is still relevant.

Interestingly if I run, for example, the admin wrapper from the shell 
all the HTML is displayed on the shell screen.

Most frustrating!

Andrew

--
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=showamp;file=faq01.027.htp


[Mailman-Users] Digest flag in membership list? ...

2005-09-07 Thread Jason LaMar
A disclaimer: I realize our implementation is not at all what was intended
for typical Mailman usage, but ...

We have lists where:

* the subscribers don't know their individual passwords for Web access

* the subscribers don't have Web access to Mailman subscription features

* we (the admins) manually control whether subscribers get to use digest
mode, based on their e-mail requests

The lists are set up this way because this is the main campus-wide
alert/announcement system for e-mail, so we want to guarantee that everyone
is SUPPOSED to get every message sent to these lists.

OK, so here's the kicker. Based on a somewhat transient user population (we
regularly lose and add a small fraction of students, and sometimes even
employees), we've developed an external script to regularly cross-check the
current subscriber list and then update it with subscriber additions and
removals as necessary.

Unfortunately, when the lists are refreshed, all individual subscriber
parameters (like digest mode) are wiped out to their defaults. So my
question is: Is there some sort of flag associated with each subscriber
entry that indicates digest usage, that we should be sure not to touch
during the list refresh? Or, to put it more broadly, how would you suggest
doing backend (non-subscriber) list maintenance that doesn't impact
individual subscriber preferences?



Thanks,

Jason

_

Jason LaMar
Interim Director of Information Services
Libraries and Information Services
Ohio Wesleyan University; Delaware, OH 43015
Tel: 740-368-3131, Fax: 740-368-3272, Web: http://www.owu.edu/


--
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=showamp;file=faq01.027.htp


Re: [Mailman-Users] Digest flag in membership list? ...

2005-09-07 Thread Mark Sapiro
Jason LaMar wrote:

OK, so here's the kicker. Based on a somewhat transient user population (we
regularly lose and add a small fraction of students, and sometimes even
employees), we've developed an external script to regularly cross-check the
current subscriber list and then update it with subscriber additions and
removals as necessary.

Unfortunately, when the lists are refreshed, all individual subscriber
parameters (like digest mode) are wiped out to their defaults. So my
question is: Is there some sort of flag associated with each subscriber
entry that indicates digest usage, that we should be sure not to touch
during the list refresh? Or, to put it more broadly, how would you suggest
doing backend (non-subscriber) list maintenance that doesn't impact
individual subscriber preferences?

Are you scripting the web interface and doing mass adds and removals or
are you directly calling the Python methods?

If the former, any mass subscribed users will get digests or not
depending on the value of the list attribute digest_is_default at the
time.

If the latter, look at Mailman/OldStyleMemberships.py. In particular,
the methods getRegularMemberKeys() and getDigestMemberKeys() for
getting non-digest and digest member lists, and the addNewMember()
method which takes arguments of the form 'digest=yes|no'. Also see the
setMemberOption() method.

Note that if existing members have their digest setting changed by your
script, I think you must be deleting and readding them.

Note also, that unlike other user settings, 'digests' is not a flag -
it's implemented internally via separate lists for regular and digest
members.

--
Mark Sapiro [EMAIL PROTECTED]   The highway is for gamblers,
San Francisco Bay Area, Californiabetter 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=showamp;file=faq01.027.htp


[Mailman-Users] MS entourage smart quotes

2005-09-07 Thread Sean

Hi,

Has anyone using mailman 2.1.x experienced problems with MS smart quotes
not rending correctly in list posts?

I've got a list user using Microsoft-Entourage/10.1.0.2418.  Any
apostrophes show up as a 1 like so:

  the city that really ruled everything. Kel¹s company paid


Thanks,
Sean
--
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=showamp;file=faq01.027.htp


[Mailman-Users] OverflowError: long int too large to convert to int

2005-09-07 Thread Marcel Meyer
Hello list,

I wasn't able to find any workable solution for the following problem.
BTW: the gnu.org guys seem to have a similar problem. Just have a look
at the archives of the mailman list.

Some lists are no longer (worked before - no configuration or software
update occured) delivered. All messages are shunted. The errorlog says
the following:


[...]
OverflowError: long int too large to convert to int

Sep 07 17:29:51 2005 (26676) SHUNTING: 
1126101607.0405271+753bd030bc66483e3e04217efb7ca1ed6d944a92
Sep 07 20:00:08 2005 (26676) Uncaught runner exception: long int too large to 
convert to int
Sep 07 20:00:08 2005 (26676) Traceback (most recent call last):
  File /usr/local/mailman/Mailman/Queue/Runner.py, line 111, in _oneloop
self._onefile(msg, msgdata)
  File /usr/local/mailman/Mailman/Queue/Runner.py, line 167, in _onefile
keepqueued = self._dispose(mlist, msg, msgdata)
  File /usr/local/mailman/Mailman/Queue/IncomingRunner.py, line 130, in 
_dispose
more = self._dopipeline(mlist, msg, msgdata, pipeline)
  File /usr/local/mailman/Mailman/Queue/IncomingRunner.py, line 153, in 
_dopipeline
sys.modules[modname].process(mlist, msg, msgdata)
  File /usr/local/mailman/Mailman/Handlers/ToDigest.py, line 91, in process
send_digests(mlist, mboxfp)
  File /usr/local/mailman/Mailman/Handlers/ToDigest.py, line 132, in 
send_digests
send_i18n_digests(mlist, mboxfp)
  File /usr/local/mailman/Mailman/Handlers/ToDigest.py, line 306, in 
send_i18n_digests
msg = scrubber(mlist, msg)
  File /usr/local/mailman/Mailman/Handlers/Scrubber.py, line 170, in process
dir = calculate_attachments_dir(mlist, msg, msgdata)
  File /usr/local/mailman/Mailman/Handlers/Scrubber.py, line 131, in 
calculate_attachments_dir
datedir = safe_strftime(fmt, now)
  File /usr/local/mailman/Mailman/Handlers/Scrubber.py, line 115, in 
safe_strftime
return time.strftime(fmt, floatsecs)
OverflowError: long int too large to convert to int

Sep 07 20:00:08 2005 (26676) SHUNTING: 
1126116005.4532559+6adb036804dde89bc6ccf0e0d805165055f34e49
[...]


We're using python-2.3.5 and mailman-2.1.5-r4 (the r4 comes from the gentoo 
ebuild).

Thank you very much for every reaction (and be it a RTFM with URL!).

Marcel


-- 
Marcel Meyer
| Netzwerk- und Rechnerorganisation
| Fachschaft Mathematik/Physik/Informatik
| Technische Universität München


pgpONHavGvusc.pgp
Description: PGP signature
--
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=showamp;file=faq01.027.htp

[Mailman-Users] Hiding footer message?

2005-09-07 Thread Trevor Cullingsworth
Hi all,

I am running mailman 2.1.4 on a SUSE linux Enterprsie 9.0 server and I 
can;t find any option to hide the footer message that is on each mailing 
list message.  It looks like by default the footer is the list name, the 
list address, and the URL.

Is there a way to hide this? 

I do not want any info showing up in the footer.  I saw there was an 
option to make a custom footer for digest messages and this overrides 
the default.  Does this option cover normal messages?  I am not creating 
any digests.

Thank you.

Trevor Cullingsworth


--
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=showamp;file=faq01.027.htp


Re: [Mailman-Users] Hiding footer message?

2005-09-07 Thread Brad Knowles
At 2:00 PM -0700 2005-09-07, Trevor Cullingsworth wrote:

  I am running mailman 2.1.4 on a SUSE linux Enterprsie 9.0 server and I
  can;t find any option to hide the footer message that is on each mailing
  list message.  It looks like by default the footer is the list name, the
  list address, and the URL.

  Is there a way to hide this?

Go to the web admin page for the list.  Go to the section where 
it allows you to customize the footer.  Select all the text in that 
box, then hit the Delete or Backspace key.  Click on the button 
at the bottom of the page that says Save Your Changes (or whatever).

-- 
Brad Knowles, [EMAIL PROTECTED]

Those who would give up essential Liberty, to purchase a little
temporary Safety, deserve neither Liberty nor Safety.

 -- Benjamin Franklin (1706-1790), reply of the Pennsylvania
 Assembly to the Governor, November 11, 1755

   SAGE member since 1995.  See http://www.sage.org/ for more info.
--
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=showamp;file=faq01.027.htp


Re: [Mailman-Users] Hiding footer message?

2005-09-07 Thread Trevor Cullingsworth
Thanks Dan and Brad!

Time to go get my eyes checked.  I completely overlooked that option 
setting.

I should have paid attention to what I was reading. hehe.  Sorry about that.

Thanks again.

Trevor Cullingsworth



Brad Knowles wrote:

 At 2:00 PM -0700 2005-09-07, Trevor Cullingsworth wrote:

  I am running mailman 2.1.4 on a SUSE linux Enterprsie 9.0 server and I
  can;t find any option to hide the footer message that is on each 
 mailing
  list message.  It looks like by default the footer is the list name, 
 the
  list address, and the URL.

  Is there a way to hide this?


 Go to the web admin page for the list.  Go to the section where it 
 allows you to customize the footer.  Select all the text in that box, 
 then hit the Delete or Backspace key.  Click on the button at the 
 bottom of the page that says Save Your Changes (or whatever).

--
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=showamp;file=faq01.027.htp


[Mailman-Users] unknown user

2005-09-07 Thread Hugo Osorio
Hello community
 could you help me with this, i have created a list in mailman web 
interface, but i send a message to the list, and is not delivered, it is 
returning to me unknown user
what is the step after being created the list? thank you very much.
--
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=showamp;file=faq01.027.htp


Re: [Mailman-Users] unknown user

2005-09-07 Thread Cogley, Rick
I'm a beginner with Mailman, so I could be wrong, but I was getting this
sort of error until I confirmed my aliases were being created correctly. 
I changed MTAs to Postfix and followed the directions in the Mailman manual
or readme, to make the aliases autocreate when you create a list via the
web. 

Hope this serves as a hint.

Regards,
Rick Cogley
Tokyo, Japan

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf
Of Hugo Osorio
Sent: Thursday, September 08, 2005 7:57 AM
To: mailman-users@python.org
Subject: [Mailman-Users] unknown user

Hello community
 could you help me with this, i have created a list in mailman web
interface, but i send a message to the list, and is not delivered, it is
returning to me unknown user
what is the step after being created the list? thank you very much.
--
--
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=showamp;file=faq01.027.htp


Re: [Mailman-Users] OverflowError: long int too large to convert to int

2005-09-07 Thread Tokio Kikuchi
Marcel Meyer wrote:

 Some lists are no longer (worked before - no configuration or software
 update occured) delivered. All messages are shunted. The errorlog says
 the following:
 
 
 [...]
 OverflowError: long int too large to convert to int
 

   File /usr/local/mailman/Mailman/Handlers/Scrubber.py, line 131, in 
 calculate_attachments_dir
 datedir = safe_strftime(fmt, now)
   File /usr/local/mailman/Mailman/Handlers/Scrubber.py, line 115, in 
 safe_strftime
 return time.strftime(fmt, floatsecs)
 OverflowError: long int too large to convert to int

Looks like we need this patch:

Index: Scrubber.py
===
RCS file: /cvsroot/mailman/mailman/Mailman/Handlers/Scrubber.py,v
retrieving revision 2.27
diff -u -r2.27 Scrubber.py
--- Scrubber.py 28 Aug 2005 05:31:27 -  2.27
+++ Scrubber.py 7 Sep 2005 23:40:33 -
@@ -113,7 +113,7 @@
 def safe_strftime(fmt, floatsecs):
 try:
 return time.strftime(fmt, floatsecs)
-except (TypeError, ValueError):
+except (TypeError, ValueError, OverflowError):
 return None


-


-- 
Tokio Kikuchi, tkikuchi@ is.kochi-u.ac.jp
http://weather.is.kochi-u.ac.jp/

--
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=showamp;file=faq01.027.htp


[Mailman-Users] Mailman and utf8

2005-09-07 Thread Jan Kohnert
Hello guys,

sorry if I missed something in the docs...

I recently changed my system to use utf8 encoding and get now strange signs in 
the maillinglist archives for non US-ASCII letters linke ä,ö,ü,ß and so on.

Is there a parameter to tell pipermail to use utf8 encoding for the web 
archive? Or at least the encoding of the mail itself (although this would 
obviously be more difficult to do...)?

TIA,
Best regards Jan

-- 
OpenPGP Public-Key Fingerprint:
0E9B 4052 C661 5018 93C3 4E46 651A 7A28 4028 FF7A


pgpcHpslKBPOD.pgp
Description: PGP signature
--
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=showamp;file=faq01.027.htp

[Mailman-Users] Topics Help.

2005-09-07 Thread [EMAIL PROTECTED]
If anyone has used TOPICS successfully and cleverly, please let me  
know.  I'd appreciate examples! I tried setting it up and I don't  
understand how it works.  You can enter the topic name, but I don't  
see how you allow users to subscribe to different topics.

Any help the community can give will be greatly appreciated!
Thanks,
Jonathan
http://www.mships.com
check it out!
--
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=showamp;file=faq01.027.htp


Re: [Mailman-Users] OverflowError: long int too large to convertto int

2005-09-07 Thread Mark Sapiro
Tokio Kikuchi wrote:

Marcel Meyer wrote:

 Some lists are no longer (worked before - no configuration or software
 update occured) delivered. All messages are shunted. The errorlog says
 the following:
 
 
 [...]
 OverflowError: long int too large to convert to int
 

   File /usr/local/mailman/Mailman/Handlers/Scrubber.py, line 131, in 
 calculate_attachments_dir
 datedir = safe_strftime(fmt, now)
   File /usr/local/mailman/Mailman/Handlers/Scrubber.py, line 115, in 
 safe_strftime
 return time.strftime(fmt, floatsecs)
 OverflowError: long int too large to convert to int

Looks like we need this patch:

Index: Scrubber.py
===
RCS file: /cvsroot/mailman/mailman/Mailman/Handlers/Scrubber.py,v
retrieving revision 2.27
diff -u -r2.27 Scrubber.py
--- Scrubber.py 28 Aug 2005 05:31:27 -  2.27
+++ Scrubber.py 7 Sep 2005 23:40:33 -
@@ -113,7 +113,7 @@
 def safe_strftime(fmt, floatsecs):
 try:
 return time.strftime(fmt, floatsecs)
-except (TypeError, ValueError):
+except (TypeError, ValueError, OverflowError):
 return None


As Tokio says, I think the patch will fix this, but I think the
underlying cause may be a message in the lists/listname/digest.mbox
file with a bad date or date format in it's Date: header.

Editing this or moving the digest.mbox aside may allow the list to
resume processing and then 'bin/unshunt' will reprocess the shunted
messages.

--
Mark Sapiro [EMAIL PROTECTED]   The highway is for gamblers,
San Francisco Bay Area, Californiabetter 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=showamp;file=faq01.027.htp


Re: [Mailman-Users] Bounce Processing Problems

2005-09-07 Thread Brad Knowles
At 11:35 AM -0400 2005-09-01, Paul Rubin wrote:

Since about 12/2004 The bounce processor consumes most of the memory in
  the system and sometimes all of the CPU.

One thing was just brought to my attention -- you didn't mention 
in this post whether or not you were looking for help from 
consultants.

Unfortunately, I don't have the free time to do that right now, 
and I know that the Python hosting lists at 
http://wiki.python.org/moin/SpecializedCommercialHosts and 
http://wiki.python.org/moin/OtherCommercialHosts may not seem that 
obvious to you, but you might want to check there for companies that 
might do both hosting and consulting.  I looked through the lists and 
didn't see anything obvious, but you never know what they might be 
willing to do for you unless you check them out.

The Python Business Forum (see 
http://wiki.python.org/moin/PythonBusinessForumOpenSpace) might 
also be useful to you, and they might have lists of consultants that 
they've worked with in the past, etc


Alternatively, I think there might very well be a few people on 
this list who may be able to provide additional assistance as a 
consultant, but you'd probably need to indicate an interest to them 
before you'd be likely to find out whether or not they would be 
willing/interested to do that.

-- 
Brad Knowles, [EMAIL PROTECTED]

Those who would give up essential Liberty, to purchase a little
temporary Safety, deserve neither Liberty nor Safety.

 -- Benjamin Franklin (1706-1790), reply of the Pennsylvania
 Assembly to the Governor, November 11, 1755

   SAGE member since 1995.  See http://www.sage.org/ for more info.
--
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=showamp;file=faq01.027.htp


[Mailman-Users] finding the options and so on

2005-09-07 Thread Mark A. Mandel
I've noticed that a fair number of the questions and answers on this list 
follow the pattern

Q: How do I do X?
A: Look in 
Q: Aha! Thanks, I didn't know it was there.

And as an owner of a number of lists, though not a sysadmin, I've fairly 
often had the experience of Now, where the heck was that feature the last 
time I used it? ... Not there... it's not there either... OK, let's go 
through the option pages one by one. ... ... ... Oh, THERE you are, you 
little devil!

One way to solve this problem would be an index. Another would be a wiki.

What do other listmembers think?
 
-- Mark A. Mandel
   Linguistic Data Consortium, University of Pennsylvania
 
--
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=showamp;file=faq01.027.htp


Re: [Mailman-Users] Mailman and utf8

2005-09-07 Thread Mark Sapiro
Jan Kohnert wrote:

Is there a parameter to tell pipermail to use utf8 encoding for the web
archive? Or at least the encoding of the mail itself (although this would
obviously be more difficult to do...)?

There is an LC_DESCRIPTIONS dictionary that has an entry for each
Mailman supported language giving the language name and character set.
Look at the end of Defaults.py.

You can put something like


def _(s):
return s
add_language('en',_('English (USA)'),   'utf-8')
del _

in mm_cfg.py. The above would change the character set for US English
from the default us-ascii to utf-8. Note that since you are in this
example giving new values to LC_DESCRIPTIONS[en], this overrides the
entry in Defaults.py.

--
Mark Sapiro [EMAIL PROTECTED]   The highway is for gamblers,
San Francisco Bay Area, Californiabetter 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=showamp;file=faq01.027.htp