[Mailman-Users] Weirdness
Mark Sapiro
msapiro at value.net
Sat Jan 28 23:52:34 CET 2006
Lawrence Bowie wrote:
>
>username at domain.org is the subscribed address.
>
>
>The headers are as follows:
>
>
> From username at domain.org Fri Jan 27 19:25:04 2006
>Return-Path: <username at domain.org>
>X-Original-To: listname at lists.domain.org
>Delivered-To: listname at lists.domain.org
>Received: from localhost (localhost.localdomain [127.0.0.1])
> by lists.domain.org (Postfix) with ESMTP id 990FD6780B0
> for <listname at lists.domain.org>;
> Fri, 27 Jan 2006 19:25:04 -0800 (PST)
>Received: from lists.domain.org ([127.0.0.1])
> by localhost (lists.domain.org [127.0.0.1]) (amavisd-new,
> port 10024) with ESMTP id 11514-08
> for <listname at lists.domain.org>;
> Fri, 27 Jan 2006 19:25:04 -0800 (PST)
>Received: by lists.domain.org (Postfix, from userid 1005)
> id 51999678112; Fri, 27 Jan 2006 19:25:04 -0800 (PST)
>Received: from mail.domain.org (mail.domain.org [216.93.165.132])
> (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
> (No client certificate requested)
> by lists.domain.org (Postfix) with ESMTP id 395866780A9
> for <listname at lists.domain.org>;
> Fri, 27 Jan 2006 19:25:03 -0800 (PST)
>Received: by mail.domain.org (Postfix)
> id 1D7E0128004; Fri, 27 Jan 2006 19:25:03 -0800 (PST)
>Delivered-To: listname at domain.org
>Received: from localhost (localhost.localdomain [127.0.0.1])
> by mail.domain.org (Postfix) with ESMTP id 0F527850439
> for <listname at domain.org>;
> Fri, 27 Jan 2006 19:25:03 -0800 (PST)
>Received: from mail.domain.org ([127.0.0.1])
> by localhost (mail.domain.org [127.0.0.1]) (amavisd-new,
> port 10024)
> with ESMTP id 11298-09 for <listname at domain.org>;
> Fri, 27 Jan 2006 19:25:02 -0800 (PST)
>Received: by mail.domain.org (Postfix, from userid 1005)
> id ED9CE850E5C; Fri, 27 Jan 2006 19:25:02 -0800 (PST)
>Received: from base2.domain.org (gforge.domain.org
> [207.235.77.148])
> by mail.domain.org (Postfix) with ESMTP id 6EA40850439
> for <listname at domain.org>;
> Fri, 27 Jan 2006 19:25:01 -0800 (PST)
>Received: from localhost ([127.0.0.1] helo=base2.domain.org)
> by hostname.domain.org with esmtp (Exim 3.36 #1 (Debian))
> id 1F2ghw-0001Qk-00 for <listname at domain.org>;
> Fri, 27 Jan 2006 22:25:00 -0500
>From: User Name <username at domain.org>
>To: listname at domain.org
It certainly looks as though that should have been accepted.
What is in Mailman's 'vette' log for this post? If that doesn't provide
the answer, I would try the following:
In Mailman/Handlers/Moderate.py, find the following:
----------------------------------------
else:
sender = msg.get_sender()
# From here on out, we're dealing with non-members.
----------------------------------------
Change the this to:
----------------------------------------
else:
sender = msg.get_sender()
# From here on out, we're dealing with non-members.
syslog('vette',
'Non member post. get_senders() = %s get_sender() = %s',
str(msg.get_senders()), sender)
-----------------------------------------
This will create an entry in the 'vette' log (preceding the normal held
post entry) for every non-member post. which in addition to the
'sender' from get_sender() also contains the list of senders from
get_senders(). It is this list that is validated for membership. The
post is considered from a list member if any of the get_senders()
addresses is a list member.
--
Mark Sapiro <msapiro at value.net> The highway is for gamblers,
San Francisco Bay Area, California better use your sense - B. Dylan
More information about the Mailman-Users
mailing list