MESSAGE
DATE | 2015-11-05 |
FROM | Ruben Safir
|
SUBJECT | Subject: [Hangout-NYLXS] Fwd: Re: [Mailman-Users] 64 bit encoding
|
-------- Forwarded Message -------- From: 00 2015 <> X-Account-Key: account8 X-UIDL: UID11792-1258411666 X-Mozilla-Status: 1013 X-Mozilla-Status2: 00000000 X-Mozilla-Keys: >From mailman-users-bounces+mrbrklyn=panix.com-at-python.org Wed Nov 4 12: 10:51 2015 Lines: 40 Return-Path: X-Original-To: mrbrklyn-at-panix.com Delivered-To: mrbrklyn-at-panix.com Received: from mail2.panix.com (mail2.panix.com [166.84.1.73]) by mailbackend.panix.com (Postfix) with ESMTP id BB33617FF2 for ; Wed, 4 Nov 2015 12:10:51 -0500 (EST) Received: from mail.python.org (mail.python.org [188.166.95.178]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mail2.panix.com (Postfix) with ESMTPS id 8EBE61F403 for ; Wed, 4 Nov 2015 12:10:51 -0500 (EST) Received: from mail1.ams1.psf.io (mail1.ams1.psf.io [127.0.0.1]) by mail.python.org (Postfix) with ESMTP id 3nrZHt6lXkzFrW4 for ; Wed, 4 Nov 2015 12:10:50 -0500 (EST) X-Original-To: mailman-users-at-python.org Delivered-To: mailman-users-at-mail.python.org Received: from mail1.ams1.psf.io (mail1.ams1.psf.io [127.0.0.1]) by mail.python.org (Postfix) with ESMTP id 3nrZH444PTzFrTQ for ; Wed, 4 Nov 2015 12:10:08 -0500 (EST) X-Spam-Status: OK 0.000 X-Spam-Evidence: '*H*': 1.00; '*S*': 0.00; '+++': 0.03; 'subject:: [': 0.03; 'diff': 0.05; 'utf-8': 0.07; 'base64': 0.09; 'encode': 0.09; 'from:addr:mark': 0.09; 'subject:Users': 0.09; 'python': 0.10; 'mailman': 0.10; 'encoding': 0.15; 'encoded.': 0.16; 'from:addr:msapiro.net': 0.16; 'from:name:mark sapiro': 0.16; 'message-id:-at-msapiro.net': 0.16; 'postfix.': 0.16; 'received:72.52.113': 0.16; 'received:72.52.113.16': 0.16; 'received:io': 0.16; 'received:psf.io': 0.16; 'received:sbh16.songbird.com': 0.16; 'received:songbird.com': 0.16; 'subject:bit': 0.16; 'wrote:': 0.16; 'francisco': 0.16; 'sapiro': 0.18; 'subject:] ': 0.19; 'library': 0.20; 'subject:Mailman': 0.20; 'bay': 0.22; 'ascii': 0.22; 'gamblers,': 0.22; 'text,': 0.22; 'bit': 0.23; 'seems': 0.23; 'skip:+ 30': 0.23; 'import': 0.24; 'patch': 0.24; 'header:In-Reply-To:1': 0.24; 'header:User-Agent:1': 0.26; 'sense': 0.26; 'converting': 0.27; '---': 0.28; 'archives': 0.29; 'character': 0.29; "i'm": 0.30; 'good.': 0.32; 'problem': 0.33; '-0700': 0.33; 'highway': 0.33; 'lists': 0.34; 'but': 0.36; 'pm,': 0.36; 'received:10': 0.37; "won't": 0.38; 'mailing': 0.38; 'files': 0.38; 'subject:-': 0.39; 'skip:e 20': 0.39; 'to:addr:python.org': 0.40; 'mark': 0.40; 'your': 0.60; 'charset:windows-1252': 0.62; 'better.': 0.66; 'biggest': 0.67; 'home': 0.67; 'actually,': 0.84; 'bodies.': 0.84 Received: from mail1.ams1.psf.io (HELO mail.python.org) (127.0.0.1) by mail1.ams1.psf.io with SMTP; 04 Nov 2015 12:10:08 -0500 Received: from sbh16.songbird.com (sbh16.songbird.com [72.52.113.16]) by mail.python.org (Postfix) with ESMTP for ; Wed, 4 Nov 2015 12:10:08 -0500 (EST) Received: from [10.211.115.100] (45-24-217-241.lightspeed.sntcca.sbcglobal.net [45.24.217.241]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: mark) by sbh16.songbird.com (Postfix) with ESMTPSA id 5327111E0139 for ; Wed, 4 Nov 2015 09:10:05 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=msapiro.net; s=default; t=1446657005; bh=hfyt6ObWHzcv2p0Fjrl7ZwthhZucaWif0r1eTBVcGZ0=; h=Subject:To:References:From:Date:In-Reply-To; b=B4a54f6zbmw2XrSk3md11M9W7arBPA6e3FskDVHXFJZrjKDV7j286xFl9nctkYir2 PReC0DqCCznEDL4bNuPNnlJDLnGVaSsDMELqLVu2Bh25P98yoecx/+8xEEUGtwPKQy JsmJy1xrpa9xyMM1OmuSIB83zDANs+41nLwo6gKM= To: mailman-users-at-python.org References: <56397081.7030408-at-panix.com> From: Mark Sapiro Message-ID: <563A3BEC.9090700-at-msapiro.net> Date: Wed, 4 Nov 2015 09:10:04 -0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0 MIME-Version: 1.0 In-Reply-To: <56397081.7030408-at-panix.com> X-GPC-MailScanner-ID: 5327111E0139.A2FA1 X-GPC-MailScanner: Found to be clean X-GPC-MailScanner-SpamCheck: not spam, SpamAssassin (not cached, score=-1.86, required 5, autolearn=not spam, ALL_TRUSTED -1.00, BAYES_00 -0.75, DKIM_SIGNED 0.10, DKIM_VALID -0.10, DKIM_VALID_AU -0.10, X_GPC_SASL -0.01) X-GPC-MailScanner-From: mark-at-msapiro.net X-Spam-Status: No Subject: Re: [Mailman-Users] 64 bit encoding X-BeenThere: mailman-users-at-python.org X-Mailman-Version: 2.1.20+ Precedence: list List-Id: Mailman mailing list management users List-Unsubscribe: ,
List-Archive: List-Post: List-Help: List-Subscribe: ,
Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: mailman-users-bounces+mrbrklyn=panix.com-at-python.org Sender: "Mailman-Users"
On 11/03/2015 06:42 PM, Ruben Safir wrote: > I'm converting my mailing lists from majordomo to mailman using postfix. > A lot of little issues have cropped up but the biggest problem I have > currently is that it seems that mailman is converting files to 64 bit > which is screwing up my home cooked archives but good.
Actually, Mailman is sending messages in UTF-8 character set as base64 encoded. Actually, many MUAs will also base64 encode UTF-8 message bodies.
This is actually a python email library thing. You can change the encoding for UTF-8 message bodies with the following patch to Mailman/Message.py, but if your messages are not predominately ascii text, you won't like the result any better.
diff -u 2.1/Mailman/Message.py 21/Mailman/Message.py --- 2.1/Mailman/Message.py 2014-05-17 18:34:20.240159000 -0700 +++ 21/Mailman/Message.py 2015-11-04 08:50:31.772899979 -0800 -at--at- -36,6 +36,10 -at--at- from Mailman import mm_cfg from Mailman import Utils
+email.Charset.add_charset('utf-8', + email.Charset.SHORTEST, + email.Charset.QP, + 'utf-8') COMMASPACE = ', '
mo = re.match(r'([\d.]+)', email.__version__)
-- Mark Sapiro 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 https://mail.python.org/mailman/listinfo/mailman-users Mailman FAQ: http://wiki.list.org/x/AgA3 Security Policy: http://wiki.list.org/x/QIA9 Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/ Unsubscribe: https://mail.python.org/mailman/options/mailman-users/mrbrklyn%40panix.com
_______________________________________________ hangout mailing list hangout-at-nylxs.com http://www.nylxs.com/
|
|