MESSAGE
DATE | 2015-11-06 |
FROM | Ruben Safir
|
SUBJECT | Subject: [Hangout-NYLXS] Fwd: Re: [Mailman-Users] 64 bit encoding
|
-------- Forwarded Message -------- From: 17 2015 <> X-Account-Key: account8 X-UIDL: UID11822-1258411666 X-Mozilla-Status: 0013 X-Mozilla-Status2: 00000000 X-Mozilla-Keys: >From mailman-users-bounces+mrbrklyn=panix.com-at-python.org Thu Nov 5 15: 51:08 2015 Lines: 98 Return-Path: X-Original-To: mrbrklyn-at-panix.com Delivered-To: mrbrklyn-at-panix.com Received: from mail1.panix.com (mail1.panix.com [166.84.1.72]) by mailbackend.panix.com (Postfix) with ESMTP id EE51C16D0D for ; Thu, 5 Nov 2015 15:51:07 -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 mail1.panix.com (Postfix) with ESMTPS id BE94917DD5 for ; Thu, 5 Nov 2015 15:51:07 -0500 (EST) Received: from mail1.ams1.psf.io (mail1.ams1.psf.io [127.0.0.1]) by mail.python.org (Postfix) with ESMTP id 3nsH7Z34wDzFrWg for ; Thu, 5 Nov 2015 15:51:06 -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 3nsH6m2QcKzFrVk for ; Thu, 5 Nov 2015 15:50:24 -0500 (EST) X-Spam-Status: OK 0.000 X-Spam-Evidence: '*H*': 1.00; '*S*': 0.00; 'subject:: [': 0.03; 'root': 0.04; 'encoded': 0.05; 'paths': 0.05; 'sys': 0.05; 'alias': 0.07; 'prefix': 0.07; 'skip:/ 10': 0.07; 'scripts': 0.09; 'base64': 0.09; 'from:addr:mark': 0.09; 'grep': 0.09; 'postgres': 0.09; 'subject:Users': 0.09; 'mailman': 0.10; 'apache': 0.14; '11:32': 0.16; '2014': 0.16; 'archives,': 0.16; 'decode': 0.16; 'from:addr:msapiro.net': 0.16; 'from:name:mark sapiro': 0.16; 'message-id:-at-msapiro.net': 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; 'skip:/ 50': 0.16; 'subject:bit': 0.16; 'wrote:': 0.16; 'francisco': 0.16; 'attribute': 0.18; 'basically': 0.18; 'sapiro': 0.18; 'archive': 0.18; 'runs': 0.18; 'subject:] ': 0.19; 'all,': 0.20; 'subject:Mailman': 0.20; 'bay': 0.22; 'gamblers,': 0.22; 'ok.': 0.22; 'ones.': 0.22; 'am,': 0.23; 'seems': 0.23; 'wrote': 0.23; 'consistent': 0.23; 'import': 0.24; 'somewhere': 0.24; 'header:In-Reply-To:1': 0.24; 'module': 0.25; 'header:User-Agent:1': 0.26; 'example': 0.26; 'sense': 0.26; 'skip:m 30': 0.27; 'wonder': 0.27; 'least': 0.27; 'this.': 0.28; "skip:' 10": 0.28; 'archives': 0.29; 'skip:/ 40': 0.29; 'objects': 0.29; 'starts': 0.29; 'server.': 0.30; 'probably': 0.31; 'point': 0.33; 'directory,': 0.33; 'highway': 0.33; 'skip:/ 20': 0.33; 'server': 0.34; 'lists': 0.34; 'list': 0.34; 'so,': 0.35; 'done': 0.35; 'nov': 0.35; 'something': 0.35; 'remote': 0.35; 'but': 0.36; 'there': 0.36; 'skip:m 40': 0.36; 'totally': 0.36; 'urls': 0.36; 'pm,': 0.36; 'received:10': 0.37; 'expect': 0.37; 'setting': 0.37; 'starting': 0.37; 'subject:-': 0.39; 'to:addr:python.org': 0.40; 'where': 0.40; 'mark': 0.40; 'still': 0.40; 'some': 0.40; 'software': 0.40; 'your': 0.60; 'skip:u 10': 0.61; 'avoid': 0.61; 'default': 0.61; 'telling': 0.61; 'reach': 0.61; 'real': 0.62; 'total': 0.62; 'charset:windows-1252': 0.62; 'making': 0.62; 'different': 0.63; 'teaching': 0.69; 'bodies.': 0.84; 'presumably': 0.84; 'skip:/ 30': 0.84; 'sitting': 0.93 Received: from mail1.ams1.psf.io (HELO mail.python.org) (127.0.0.1) by mail1.ams1.psf.io with SMTP; 05 Nov 2015 15:50:24 -0500 Received: from sbh16.songbird.com (sbh16.songbird.com [72.52.113.16]) by mail.python.org (Postfix) with ESMTP for ; Thu, 5 Nov 2015 15:50:23 -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 7EA8511E0C68 for ; Thu, 5 Nov 2015 12:50:18 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=msapiro.net; s=default; t=1446756618; bh=stQuI5q1uHiNZLtK54palYEsY+lmjKfnVSLhXOOYM/s=; h=Subject:To:References:From:Date:In-Reply-To; b=Vqnem2xKACyrXMPv/hbm6LU6P0d7AqVorWFKl1liaGmUsCKW4OfnQuFraPsT3Ocb+ yygOXzr3bPBcHOMllTV72h3zyjzgTwbnzPOid3MV6Oo5nj5Sw9QTzS8377/oFJ6Xgo stzvi7/IzNaEQ5gW7SdVRAQgTI/kZWK8Jm8xvoRM= To: mailman-users-at-python.org References: <56397081.7030408-at-panix.com> <563A3BEC.9090700-at-msapiro.net> <22074.41582.78231.830496-at-turnbull.sk.tsukuba.ac.jp> <563AA90B.7090307-at-msapiro.net> <563B86C2.7060604-at-panix.com> <563B90BF.4060708-at-msapiro.net> <563B9670.90601-at-panix.com> <563B9A6C.1090109-at-msapiro.net> <563BA0F0.60905-at-panix.com> From: Mark Sapiro Message-ID: <563BC10A.4070005-at-msapiro.net> Date: Thu, 5 Nov 2015 12:50:18 -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: <563BA0F0.60905-at-panix.com> X-GPC-MailScanner-ID: 7EA8511E0C68.A89BF 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/05/2015 10:33 AM, Ruben Safir wrote: > On 11/05/2015 01:05 PM, Mark Sapiro wrote: > >> How do you start Mailman? Where is the bin/mailmanctl that starts it? > > /etc/rc.d/mailman which unfortunately is piped through systemd. > ... > MM_CT=/usr/lib/mailman/cron/crontab > MM_CTRL=/usr/lib/mailman/bin/mailmanctl > MM_PID=/var/lib/mailman/data/master-qrunner.pid
So starting Mailman runs the Mailman in /usr/lib/mailman/
>> what is in paths.py in the same bin/ directory? > > Excellent question... > > import os > import sys > > # some scripts expect this attribute to be in this module > prefix = '/usr/lib/mailman'
And paths.py is consistent with this.
>> Are there any lists with >> public archives and if so, are there symlinks in >> /usr/local/apache/htdocs/mailman/archives/public/ and where do they point? > > I have done the archives using the same software I wrote in 1996 but the mbox et al seems to be in > > www:/etc/postfix # ls -al /var/lib/mailman/archives/private/hangout.mbox/hangout.mbox > -rw-rw-r-- 1 mailman mailman 486238 Nov 5 11:32 /var/lib/mailman/archives/private/hangout.mbox/hangout.mbox > > www:/etc/postfix # ls -al /var/lib/mailman/archives/public/ > total 8 > drwxrwsr-x 2 root mailman 4096 Oct 20 23:43 . > drwxrwsr-x 4 root mailman 4096 Oct 8 2014 .. > lrwxrwxrwx 1 daemon mailman 41 Oct 20 23:43 hangout -> /var/lib/mailman/archives/private/hangout > lrwxrwxrwx 1 daemon mailman 39 Oct 20 16:08 learn -> /var/lib/mailman/archives/private/learn > lrwxrwxrwx 1 root mailman 41 Oct 20 11:14 mailman -> /var/lib/mailman/archives/private/mailman
This is all consistent with an instalation with prefix = /usr/lib/mailman and var_prefix = /var/lib/mailman
>> >> Do the web server and the qrunners actually reference the same archives, > > I would prefer the webserver not to reach the archives that mailman archives at all, > since my real archive is sitting on a remote postgres server.
And you've basically arranged that by making the archive public as far as mailman is concerned and telling apache
Alias /pipermail/ /usr/local/apache/htdocs/mailman/archives/public/
so at least the default public archive URLs point somewhere where the archives presumably aren't.
You might consider setting PUBLIC_ARCHIVE_URL in mm_cfg.py to something like
PUBLIC_ARCHIVE_URL = 'http://remote.server/whatever/%(listname)s'
You might also avoid this whole patching issue by teaching your archiver to decode base64 and quoted-printable encoded message bodies.
I still wonder about
ScriptAlias /mailman/ /usr/local/apache/htdocs/mailman/cgi-bin/
If you do for example
strings /usr/local/apache/htdocs/mailman/cgi-bin/admin | grep mailman
do you see paths like /usr/lib/mailman and /usr/lib/mailman/scripts?
If so, you are probably OK. If they point at some /usr/local/apache directory, you may have issues with the web UI manipulating totally different list objects than the real ones.
-- 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/
|
|