Mark Sapiro wrote:
Lawrence Bowie wrote:
username@domain.org is the subscribed address.
The headers are as follows:
From username@domain.org Fri Jan 27 19:25:04 2006 Return-Path: <username@domain.org> X-Original-To: listname@lists.domain.org Delivered-To: listname@lists.domain.org Received: from localhost (localhost.localdomain [127.0.0.1]) by lists.domain.org (Postfix) with ESMTP id 990FD6780B0 for <listname@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@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@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@domain.org Received: from localhost (localhost.localdomain [127.0.0.1]) by mail.domain.org (Postfix) with ESMTP id 0F527850439 for <listname@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@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@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@domain.org>; Fri, 27 Jan 2006 22:25:00 -0500 From: User Name <username@domain.org> To: listname@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.
I have not tried the above but it is asking for confirmation because the posts are from legitimate automatic engines that send email. The list does not know how to distinguish between SPAM and a legitimate automatic post.
Any ideas on resolving this dilemma?
Thanks,
LDB