procmail
[Top] [All Lists]

Re: Broken mass mailings - Delivered-To: issue

2010-01-08 09:40:16
Further to the comments below.
Here is the receipe that should detect a Delivered-To: and redirect the
message to the intended recipient.
# Send bulk mail with DeliveredTo to the intended recipient
:0:
* ^Delivered-To: chris(_at_)pinefields(_dot_)com
* !^X-Loop: Delivered-To Forward Control
  | formail -A "X-Loop: Delivered-To Forward Control" | \
    $SENDMAIL -oi chris(_at_)pinefields(_dot_)com

Here is a VERBOSE=ON log listing of a message running through procmailrc:
procmail: [12509] Fri Jan  8 10:26:47 2010
procmail: No match on ! "^From[ ]"       
procmail: Match on "^Delivered-To: chris(_at_)pinefields(_dot_)com"
procmail: Match on ! "^X-Loop: Delivered-To Forward Control"
procmail: Couldn't determine implicit lockfile from " formail -A
"X-Loop: Delivered-To Forward Control" |
\                                                    
    $SENDMAIL -oi
chris(_at_)pinefields(_dot_)com"                                        
procmail: Locking
".lock"                                                      
procmail: Error while writing to
"_dDD+360RLB.wxsat"                           
procmail: Lock failure on ".lock"
procmail: Executing " formail -A "X-Loop: Delivered-To Forward Control" | \
    $SENDMAIL -oi chris(_at_)pinefields(_dot_)com"
procmail: Assigning "LASTFOLDER= formail -A "X-Loop: Delivered-To
Forward Control" | \
    $SENDMAIL -oi chris(_at_)pinefields(_dot_)com"
procmail: Notified comsat: "system@:/ formail -A "X-Loop: Delivered-To
Forward Control" | \
    $SENDMAIL -oi chris(_at_)pinefields(_dot_)com"
From baba-l(_at_)yahoogroups(_dot_)com  Fri Jan  8 10:26:47 2010
 Subject: Re: [baba-l] Panda??
  Folder:  formail -A "X-Loop: Delivered-To Forward Control" | \    
$    17389
procmail: [12518] Fri Jan  8 10:26:48 2010
procmail: No match on ! "^From[ ]"
procmail: No match on "^Delivered-To: chris(_at_)pinefields(_dot_)com"
procmail: Assigning
"PATH=/home/system/bin:/bin:/usr/bin:/sbin:/usr/sbin:/usr/local/bin:/usr/local/sbin:/usr/bin/X11"
procmail: Bypassed locking "/var/spool/mail/system.lock"
procmail: Assigning "LASTFOLDER=/var/spool/mail/system"
procmail: Opening "/var/spool/mail/system"
procmail: Acquiring kernel-lock
procmail: Notified comsat: "system(_at_)0:/var/spool/mail/system"
From MAILER-DAEMON  Fri Jan  8 10:26:48 2010
 Subject: Undelivered Mail Returned to Sender
  Folder:
/var/spool/mail/system                                          19306

The message delivered to system(_at_)pinefields(_dot_)com (the postmaster 
username)
is a "forwarding loop" warning. 

The message header (as received without the above receipe) follows: 
Note that Delivered-To: chris(_at_)pinefields(_dot_)com is present in the header
From baba-l(_at_)yahoogroups(_dot_)com  Fri Jan  8 10:35:50 2010
Return-Path: <baba-l(_at_)yahoogroups(_dot_)com>               
X-Original-To: system(_at_)localhost(_dot_)pinefields(_dot_)com      
Delivered-To: system(_at_)localhost(_dot_)pinefields(_dot_)com       
Received: from wxsat.pinefields.com (localhost.pinefields.com [127.0.0.1])
        by wxsat.pinefields.com (Postfix) with ESMTP id 108B2916F3
        for <system(_at_)localhost(_dot_)pinefields(_dot_)com>; Fri,  8 Jan 
2010 10:35:50
-0500 (EST)
Received: from mail.pinefields.com.netsolmail.net [205.178.146.50]
        by wxsat.pinefields.com with POP3 (fetchmail-6.3.9-rc2)
        for <system(_at_)localhost(_dot_)pinefields(_dot_)com> (multi-drop); 
Fri, 08 Jan
2010 10:35:50 -0500 (EST)
Received: (qmail 2575 invoked by uid 78); 8 Jan 2010 15:19:17 -0000
Delivered-To: chris(_at_)pinefields(_dot_)com
Received: (qmail 2565 invoked by uid 78); 8 Jan 2010 15:19:17 -0000
Received: from unknown (HELO cloudmark1) (10.49.16.89)
  by 0 with SMTP; 8 Jan 2010 15:19:17 -0000
Received: from [69.147.103.134] ([69.147.103.134:48868]
helo=n7.bullet.mail.re1.yahoo.com)
        by cm-mr14 (envelope-from
<sentto-20375804-5279-1262963955-chris=pinefields(_dot_)com(_at_)returns(_dot_)groups(_dot_)yahoo(_dot_)com>)
        (ecelerity 2.2.2.41 r(31179/31189)) with ESMTP
        id 33/78-01651-5FC474B4; Fri, 08 Jan 2010 10:19:17 -0500
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoogroups.com;
s=lima; t=1262963957; bh=F8dZfiPfnciEaRAQHqXbZAPTcxHDzhfFipC+Ayk9ReU=;
h=Received:Received:Received:X-Yahoo
-Newman-Id:X-Sender:X-Apparently-To:X-Received:X-Received:X-Received:X-Received:Message-ID:To:References:Organization:X-Priority:X-MSMail-Priority:X-Mailer:X-MimeOLE:X-Originating-
IP:X-eGroups-Msg-Info:From:Sender:MIME-Version:Mailing-List:Delivered-To:List-Id:Precedence:List-Unsubscribe:Date:Subject:Reply-To:X-Yahoo-Newman-Property:Content-Type;
b=kgNq0/NH2
kvNyACSHp1eifBt+PlaWjkvwNbxYSLlCfLkIRkTDbfhXVgjLICqRsf5S+OGvoRsy4AHNfpAuDdKaS7SHTA01y8vW4+BwbivWI0QTh5d+40RhDh/PaTlGiQ3
DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=lima; d=yahoogroups.com;
       
b=YsVQIBolbci2m7kNj+XeM58F0s34uveQd0zLWgOU2wqDtKZ3vYGARh4yW85ZrXgtZZGfjOuZRwKdohLJ7uX9mHQTha52RJbVJTeulLz7SmaOkWVGZ+jQtGuGrT8KbQg9;
Received: from [68.142.237.89] by n7.bullet.mail.re1.yahoo.com with
NNFMP; 08 Jan 2010 15:19:17 -0000
Received: from [69.147.65.149] by t5.bullet.re3.yahoo.com with NNFMP; 08
Jan 2010 15:19:17 -0000
Received: from [66.196.94.63] by t9.bullet.mail.sp1.yahoo.com with
NNFMP; 08 Jan 2010 15:19:17 -0000
X-Yahoo-Newman-Id: 20375804-m5279
X-Sender: rich(_at_)sailyard(_dot_)com
X-Apparently-To: baba-l(_at_)yahoogroups(_dot_)com
X-Received: (qmail 21883 invoked from network); 8 Jan 2010 15:19:11 -0000
X-Received: from unknown (98.137.34.46)
  by m13.grp.re1.yahoo.com with QMQP; 8 Jan 2010 15:19:11 -0000
X-Received: from unknown (HELO sm2.alwaysonline.net) (66.101.192.94)
  by mta3.grp.sp2.yahoo.com with SMTP; 8 Jan 2010 15:19:11 -0000
X-Received: from static-74-103-39-2.bltmmd.fios.verizon.net
[74.103.39.2] by sm2.alwaysonline.net with SMTP;
   Fri, 8 Jan 2010 10:18:32 -0500
Message-ID: <46968AC53C89491598AE85DFA74BBDFF(_at_)Rich>
To: <baba-l(_at_)yahoogroups(_dot_)com>
References: <hi6a8f+ifvc(_at_)eGroups(_dot_)com>
Organization: Annapolis Sailyard
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 6.00.2900.5512
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5512
X-Originating-IP: 66.101.192.94
X-eGroups-Msg-Info: 1:12:0:0:0
From: "Richard Kahn" <rich(_at_)sailyard(_dot_)com>
Sender: baba-l(_at_)yahoogroups(_dot_)com
MIME-Version: 1.0
Mailing-List: list baba-l(_at_)yahoogroups(_dot_)com; contact
baba-l-owner(_at_)yahoogroups(_dot_)com
Delivered-To: mailing list baba-l(_at_)yahoogroups(_dot_)com
List-Id: <baba-l.yahoogroups.com>
Precedence: bulk
List-Unsubscribe: <mailto:baba-l-unsubscribe(_at_)yahoogroups(_dot_)com>
Date: Fri, 8 Jan 2010 10:18:41 -0500
Subject: Re: [baba-l] Panda??
Reply-To: baba-l(_at_)yahoogroups(_dot_)com
X-Yahoo-Newman-Property: groups-email-ff-m
Content-Type: multipart/alternative;
 boundary="----=_NextPart_000_00C3_01CA904B.F384E400"
X-Fetchmail-Warning: recipient address 
mailinglistbaba-l(_at_)yahoogroups(_dot_)com
didn't match any local name


Again... help!

Cheers,
Rick Emerson


Richard B. Emerson wrote:
Several mass mailings have suddenly stopped working here.  Instead of
going to username(_at_)pinefields(_dot_)com, they are going to
postmaster(_at_)pinefields(_dot_)com(_dot_)  The maings originate with 
Google, Yahoo, and
other groups, not from just one source.  the one common feature is the
To: field contains either something like "To: 
somename(_at_)some(_dot_)other(_dot_)com"
or is missing altogether.  There is a Delivered-To: field with a valid
address.  Attempts to brute force the mailings to the correct address,
by tweaking procmailrc, have failed miserably. 

Help!

Cheers,
Rick Emerson
____________________________________________________________
procmail mailing list   Procmail homepage: http://www.procmail.org/
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)de
http://mailman.rwth-aachen.de/mailman/listinfo/procmail


  
____________________________________________________________
procmail mailing list   Procmail homepage: http://www.procmail.org/
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)de
http://mailman.rwth-aachen.de/mailman/listinfo/procmail

<Prev in Thread] Current Thread [Next in Thread>