procmail
[Top] [All Lists]

funny things with ^TO and CC

1996-03-04 16:18:37

I use procmail for (besides other things) to provide permanent email addresses
for some friends. To do so I do some simple reflecting. This seems to have
worked fine for a while but a message just came in (from a mailing list) that
my recipe didn't catch and I am trying to figure out what to do about it.

My recipe:

:0
* !^FROM_DAEMON
* ^TO(_dot_)*mary(_at_)judgement(_dot_)com
! fpitney(_at_)lynx(_dot_)neu(_dot_)edu

The (somewhat processed) header from the original mail:
------------------------------------------------------------------------------
From sjm2(_at_)shore(_dot_)net  Sun Mar  3 16:04:37 1996
Status: RO
X-VM-v5-Data: ([nil nil nil nil nil nil nil nil nil]
        ["8811" "Sun" "3" "March" "1996" "13:03:34" "-0800" "The KZPG 
Population News Network" "KZPG-listserve(_at_)iti(_dot_)com" nil "253" 
"KZPG-Active: Want to adjust your subscription?" "^From:" nil nil "3" nil nil 
(number " " mark "     The KZPG Populati Mar  3  253/8811  " thread-indent 
"\"KZPG-Active: Want to adjust your subscription?\"\n") nil]
        nil)
Return-Path: <sjm2(_at_)shore(_dot_)net>
Received: from relay1.shore.net by services.xionics.com 
          id <14494-0(_at_)services(_dot_)xionics(_dot_)com>; Sun, 3 Mar 1996 
16:04:35 -0500
Received: from northshore.shore.net (sjm2(_at_)northshore(_dot_)shore(_dot_)net 
[192.233.85.1]) 
          by relay1.shore.net (8.7.4/8.7.3) with ESMTP id QAA04222 
          for <sjm(_at_)xionics(_dot_)com>; Sun, 3 Mar 1996 16:04:33 -0500 (EST)
Received: (from sjm2(_at_)localhost) by northshore.shore.net (8.7.4/8.7.3) 
          id QAA06332 for sjm(_at_)xionics(_dot_)com; Sun, 3 Mar 1996 16:04:33 
-0500 (EST)
Received: from relay1.shore.net (root(_at_)relay1(_dot_)shore(_dot_)net 
[192.233.85.129]) 
          by northshore.shore.net (8.7.4/8.7.3) with ESMTP id QAA06324 
          for <sjm2(_at_)northshore(_dot_)shore(_dot_)net>; Sun, 3 Mar 1996 
16:04:32 -0500 (EST)
Received: from tango.rahul.net (tango.rahul.net [192.160.13.5]) 
          by relay1.shore.net (8.7.4/8.7.3) with SMTP id QAA04214 
          for <Mary(_at_)judgement(_dot_)com>; Sun, 3 Mar 1996 16:04:29 -0500 
(EST)
Received: from bolero.rahul.net by tango.rahul.net with SMTP 
          id AA16533 (5.67b8/IDA-1.5 for <Mary(_at_)judgement(_dot_)com>);
          Sun, 3 Mar 1996 13:04:15 -0800
Received: by bolero.rahul.net id AA04922 (5.67b8/IDA-1.5);
          Sun, 3 Mar 1996 13:03:41 -0800
Message-Id: <199603032103(_dot_)AA04922(_at_)bolero(_dot_)rahul(_dot_)net>
Reply-To: The KZPG Population News Network <KZPG-listserve(_at_)iti(_dot_)com>
X-Loop: from sjm2(_at_)shore(_dot_)net
From: The KZPG Population News Network <KZPG-listserve(_at_)iti(_dot_)com>
To: KZPG Active email list & web archive <KZPG-subscribers(_at_)iti(_dot_)com>
Subject: KZPG-Active: Want to adjust your subscription?
Date: Sun, 3 Mar 1996 13:03:34 -0800 (PST)
------------------------------------------------------------------------------

This header ended up being reflected by procmail to the default address at the
end of my .procmailrc and has additional elements which reflect that
additional processing; procmail ran on behalf of 
sjm2(_at_)northshore(_dot_)shore(_dot_)net
there in the middle of the Received list; so anything could have happened in
between.

Can anyone suggest a way to beef up my recipe so that it would have caught
this one? That is if you can deduce what it looked like when procmail saw it.

Regards,

Steve Morris

PS. I am running an old version of procmail in case that makes a difference.

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