MESSAGE
DATE | 2015-11-06 |
FROM | Ruben Safir
|
SUBJECT | Subject: [Hangout-NYLXS] Fwd: Re: [Mailman-Users] 64 bit encoding
|
-------- Forwarded Message -------- From: 41 2015 <> X-Account-Key: account8 X-UIDL: UID11818-1258411666 X-Mozilla-Status: 0011 X-Mozilla-Status2: 00000000 X-Mozilla-Keys: >From mailman-users-bounces+mrbrklyn=panix.com-at-python.org Thu Nov 5 13: 34:05 2015 Lines: 145 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 60B7916A3D for ; Thu, 5 Nov 2015 13:34:05 -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 3BA381F475 for ; Thu, 5 Nov 2015 13:34:05 -0500 (EST) Received: from mail1.ams1.psf.io (mail1.ams1.psf.io [127.0.0.1]) by mail.python.org (Postfix) with ESMTP id 3nsD5S44cWzFrZp for ; Thu, 5 Nov 2015 13:34:04 -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 3nsD4f2FP6zFrXP for ; Thu, 5 Nov 2015 13:33:22 -0500 (EST) X-Spam-Status: OK 0.000 X-Spam-Evidence: '*H*': 1.00; '*S*': 0.00; 'subject:: [': 0.03; 'author:': 0.03; 'root': 0.04; 'binary': 0.05; 'sys': 0.05; 'alias': 0.07; 'exit': 0.07; 'germany.': 0.07; 'nicely': 0.07; 'prefix': 0.07; 'skip:/ 10': 0.07; 'scripts': 0.09; '###': 0.09; 'minus': 0.09; 'postgres': 0.09; 'subject:Users': 0.09; 'bug': 0.10; 'mailman': 0.10; 'apache': 0.14; '/bin/sh': 0.16; '11:32': 0.16; '2014': 0.16; 'archives,': 0.16; 'autoconf': 0.16; 'binaries': 0.16; 'exec_prefix': 0.16; 'mailinglist': 0.16; 'received:166.84': 0.16; 'received:166.84.1': 0.16; 'received:166.84.1.89': 0.16; 'received:io': 0.16; 'received:mailbackend.panix.com': 0.16; 'received:panix.com': 0.16; 'received:psf.io': 0.16; 'skip:/ 50': 0.16; 'subject:bit': 0.16; 'wrote:': 0.16; 'attribute': 0.18; 'config': 0.18; 'odd': 0.18; 'pointed': 0.18; 'received:166': 0.18; 'sapiro': 0.18; 'tree': 0.18; 'archive': 0.18; 'subject:] ': 0.19; '>>>': 0.20; 'all,': 0.20; 'subject:Mailman': 0.20; 'skip:" 30': 0.20; 'init': 0.22; 'libraries': 0.22; 'am,': 0.23; 'seems': 0.23; 'installation': 0.23; 'wrote': 0.23; 'split': 0.23; 'import': 0.24; 'header:In-Reply-To:1': 0.24; 'module': 0.25; 'script': 0.25; 'header:User-Agent:1': 0.26; 'linux': 0.26; 'skip:m 30': 0.27; 'gmbh': 0.27; 'question': 0.27; 'data,': 0.27; 'idea': 0.28; "skip:' 10": 0.28; 'interface': 0.29; 'archives': 0.29; 'locks': 0.29; 'other,': 0.29; 'skip:/ 40': 0.29; '(c)': 0.29; 'admin': 0.29; 'starts': 0.29; 'server.': 0.30; 'received:10.0.0': 0.32; 'maybe': 0.33; 'third': 0.33; 'displayed': 0.33; 'skip:/ 20': 0.33; 'received:10.0': 0.34; 'server': 0.34; 'lists': 0.34; 'info': 0.34; 'so,': 0.35; 'done': 0.35; 'integrate': 0.35; 'nov': 0.35; 'remote': 0.35; 'but': 0.36; 'should': 0.36; 'there': 0.36; 'skip:m 40': 0.36; 'pm,': 0.36; 'received:10': 0.37; 'expect': 0.37; 'missing': 0.37; 'things': 0.38; 'stuff': 0.38; 'anything': 0.38; 'mailing': 0.38; 'files': 0.38; 'end': 0.39; 'test': 0.39; "didn't": 0.39; 'subject:-': 0.39; 'skip:e 20': 0.39; 'to:addr:python.org': 0.40; 'where': 0.40; 'mark': 0.40; 'some': 0.40; 'software': 0.40; 'skip:u 10': 0.61; 'reach': 0.61; 'side': 0.62; 'real': 0.62; 'total': 0.62; 'yes': 0.62; 'charset:windows-1252': 0.62; 'to,': 0.63; 'world': 0.64; 'picked': 0.66; '2002': 0.79; '2.12': 0.84; 'skip:/ 30': 0.84; 'tucked': 0.84; 'absolutely': 0.88; 'habit': 0.91; '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 13:33:22 -0500 Received: from mailbackend.panix.com (mailbackend.panix.com [166.84.1.89]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.python.org (Postfix) with ESMTPS for ; Thu, 5 Nov 2015 13:33:22 -0500 (EST) Received: from [10.0.0.19] (www.mrbrklyn.com [96.57.23.82]) by mailbackend.panix.com (Postfix) with ESMTPSA id 5A30516921 for ; Thu, 5 Nov 2015 13:33:21 -0500 (EST) 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> From: Ruben Safir To: mailman-users-at-python.org Message-ID: <563BA0F0.60905-at-panix.com> Date: Thu, 5 Nov 2015 13:33:20 -0500 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: <563B9A6C.1090109-at-msapiro.net> 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 01:05 PM, Mark Sapiro wrote: > On 11/05/2015 09:48 AM, Ruben Safir wrote: > >>>> /usr/local/apache/conf/mailman/Mailman/Message.py >>>> /usr/local/apache/conf/mailman/Mailman/Message.pyc >>> >> >> ohh. >> >> Maybe I did that because I didn't want my cgi-bin directory outside of >> my apache trunk. It is odd habit I picked up in the last 30 years is >> that I want my webservers restricted to the apache directory tree which >> is /usr/local/apache/ >> >> It didn't occur to be that mailing system binary and script libraries >> would also end up in the apache trunk. > > > They don't have to, but the real question now is do you have one Mailman > installation in /usr/local/apache/conf/mailman, or do you have a split > installation with some things there and some things in /usr/lib/mailman. >
The idea is to have it split, and let the mail stuff do its thing in /usr/lib/ or /var/lib, and to integrate the admin interface to my existing apache tree minus the mailman archive which I don't currently have use for.
> >> >> ServerAdmin ruben-at-mrbrklyn.com >> DocumentRoot "/usr/local/apache/htdocs/nylxs" >> ScriptAlias /mailman/ >> /usr/local/apache/htdocs/mailman/cgi-bin/ >> Alias /mailmanicons/ /usr/local/apache/htdocs/mailman/icons/ >> Alias /pipermail/ >> /usr/local/apache/htdocs/mailman/archives/public/ > ... >> >> ServerName lists.mrbrklyn.com >> DocumentRoot "/usr/local/apache/htdocs/mailman/" >> ScriptAlias /mailman/ >> /usr/local/apache/htdocs/mailman/cgi-bin/ >> Alias /mailmanicons/ >> /usr/local/apache/htdocs/mailman/icons/ >> Alias /pipermail/ >> /usr/local/apache/htdocs/mailman/archives/public/ > > > Now it seems that apache is pointed at Mailman stuff in yes a third > place, /usr/local/apache/htdocs/mailman. >
well, that is just the public side of the webserver so anything that is displayed to the world is under /usr/local/apache/htdocs/ and for mailman
/usr/local/apache/htdocs/mailman the configuration files for the web sever should be nicely tucked into /usr/local/apache/conf and /usr/local/apache/conf/mailman/
normal I would put cgi-bins under /usr/local/apache/cgi-bin/ but for mailman I was going tuck them under the mailman config section for the webserver under /usr/local/apache/conf/mailman
> How do you start Mailman? Where is the bin/mailmanctl that starts it?
/etc/rc.d/mailman which unfortunately is piped through systemd.
#! /bin/sh # Copyright (c) 2000-2001 SuSE GmbH Nuernberg, Germany. # Copyright (c) 2002 SuSE Linux AG # # Author: Heiko Rommel # # /etc/init.d/mailman # ### BEGIN INIT INFO # Provides: mailman # Required-Start: $remote_fs $syslog cron sendmail $named # Required-Stop: $remote_fs $syslog # Default-Start: 3 5 # Default-Stop: 0 1 2 6 # Description: Starts the mailinglist manager Mailman ### END INIT INFO
# Check for missing binaries (stale symlinks should not happen) ETC_CT=/etc/cron.d/mailman MM_CT=/usr/lib/mailman/cron/crontab MM_CTRL=/usr/lib/mailman/bin/mailmanctl MM_PID=/var/lib/mailman/data/master-qrunner.pid test -f $MM_CT || exit 5 test -x $MM_CTRL || exit 5
> what is in 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' exec_prefix = '${prefix}'
# work around a bogus autoconf 2.12 bug if exec_prefix == '${prefix}': exec_prefix = prefix
> 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
> > 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.
> data, lists, locks, logs, qfiles and spam directories? Of these, some > are only used by one or the other, but it's absolutely critical that > they reference the same archives, data, lists and locks directories. >
------------------------------------------------------ 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/
|
|