Hi,
I've gotten most things to work with mailman-2.0.5 on Solaris 2.6 using postfix MTA. List creation, message submission, as well as the web interface to user additions, all seem to work fine.
But I can't get the email interface to work. For example, if I send 'Subject: help' message to test-request, I get back just a blank message, ~mailman/logs/error file stays empty, and I can find no hints in /var/logs/mail. Same thing with 'Subject: subscribe' messages to test-request.
How do I turn up the logging verbosity? I suppose I missed something in the INSTALL or FAQ, but danged if I can figure out what! Can anyone help point me in the right direction?
Thanks,
_Gary
---- here's what I get from my 'Subject: help' message to test-request and the pertinent lines from the /var/mail/log.
-|From test-admin@nature.Berkeley.EDU Mon Jun 4 10:22:02 2001 -|Return-Path: <test-admin@nature.Berkeley.EDU> -|Delivered-To: casterln@nature.berkeley.edu -|Received: from nature.Berkeley.EDU (localhost [127.0.0.1]) -| by nature.Berkeley.EDU (Postfix) with ESMTP id E996C8AFA -| for <casterln@nature.berkeley.edu>; Mon, 4 Jun 2001 10:22:01 -0700 -|+(PDT) -|Delivered-To: test-request@nature.berkeley.edu -|Received: by nature.Berkeley.EDU (Postfix, from userid 100) -| id E08788AFA; Mon, 4 Jun 2001 10:21:41 -0700 (PDT) -|Date: Mon, 4 Jun 2001 10:21:41 -0700 -|From: Gary Casterline <casterln@nature.Berkeley.EDU> -|To: test-request@nature.Berkeley.EDU -|Subject: help -|Message-ID: <20010604102141.A2227@nature.Berkeley.EDU> -|Mime-Version: 1.0 -|Content-Type: text/plain; charset=us-ascii -|Content-Disposition: inline -|User-Agent: Mutt/1.3.18i -|Sender: test-owner@nature.Berkeley.EDU -|Errors-To: test-owner@nature.Berkeley.EDU -|X-BeenThere: test@nature.Berkeley.EDU -|X-Mailman-Version: 2.0.5 -|Precedence: bulk -|List-Help: <mailto:test-request@nature.Berkeley.EDU?subject=help> -|List-Post: <mailto:test@nature.Berkeley.EDU> -|List-Subscribe: <http://nature.Berkeley.EDU/mailman/listinfo/test>, -| <mailto:test-request@nature.Berkeley.EDU?subject=subscribe> -|List-Id: test <test.nature.Berkeley.EDU> -|List-Unsubscribe: <http://nature.Berkeley.EDU/mailman/listinfo/test>, -| <mailto:test-request@nature.Berkeley.EDU?subject=unsubscribe> -|List-Archive: <http://nature.Berkeley.EDU/pipermail/test/> -| -|
% grep E996C8AFA /var/log/mail Jun 4 10:22:01 nature.Berkeley.EDU postfix/smtpd[2136]: E996C8AFA: client=localhost[127.0.0.1] Jun 4 10:22:02 nature.Berkeley.EDU postfix/cleanup[2252]: E996C8AFA: message-id=<20010604102141.A2227@nature.Berkeley.EDU> Jun 4 10:22:02 nature.Berkeley.EDU postfix/qmgr[9789]: E996C8AFA: from=<test-admin@nature.Berkeley.EDU>, size=1326, nrcpt=1 (queue active) Jun 4 10:22:03 nature.Berkeley.EDU postfix/local[1117]: E996C8AFA: to=<casterln@nature.berkeley.edu>, relay=local, delay=2, status=sent ("|/usr/bin/procmail")
"GC" == Gary Casterline <casterln@nature.Berkeley.EDU> writes:
GC> How do I turn up the logging verbosity?
GC> I suppose I missed something in the INSTALL or FAQ,
GC> but danged if I can figure out what!
GC> Can anyone help point me in the right direction?
You can't easily (this is something that's been long desired, but tends to get pushed down too far), but if you aren't scared off by hacking Python, I'll tell you how I tend to debug things.
Essentially, you're going to do "printf" debugging. I.e. stick in some "printf"'s and figure out where things are going wrong.
The way to spell "printf" for Mailman is
# at the top of the file, if it's not already there from Mailman.Logging.Syslog import syslog
# where you want to stick the "printf" syslog('debug', 'we got to here')
You'll probably want to start with MailCommandHandler.py.
In a separate window, run "tail -f $prefix/log/debug" and then send your email command.
-Barry
participants (2)
-
barry@digicool.com
-
Gary Casterline