procmail
[Top] [All Lists]

Re: Message split in Two

1998-11-19 12:00:00
Hi,
        I'm resending this as a reply, apparrently it's some sort of
procmail thing, and it splits the message on the basis of the missing ">".
On Thu, 19 Nov 1998, Matthew G. Saroff wrote:

Hi,
      I just got a message sent to me.  It was a forward of another
message.  I have procmail set up to forward mail to me, and at this
account, I got it as two messages.
      On my home account, the headers and the headers of the fowarded
message look like:

From owner-staff(_at_)arisia(_dot_)org  Thu Nov 19 01:32:55 1998
Return-Path: owner-staff(_at_)arisia(_dot_)org
Received: from chai.pobox.com (chai.pobox.com [208.210.124.35]) by
pcans1.pca.net (8.8.8/8.6.9) with ESMTP id BAA16514; Thu, 19 Nov 1998
01:32:54 -0600
Received: from arisia.org (arisia.org [207.121.47.210])
        by chai.pobox.com (VMailer) with ESMTP
        id 0BD1CABD; Thu, 19 Nov 1998 01:25:11 -0500 (EST)
Received: (from majordom(_at_)localhost)
        by arisia.org (8.8.5/8.8.5) id AAA30376
        for staff-dist; Thu, 19 Nov 1998 00:32:55 -0500
Date: Thu, 19 Nov 1998 01:21:00 -0500 (EST)
From: "Skipper W. Morris" <morris(_at_)mv(_dot_)mv(_dot_)com>
Message-Id: <199811190621(_dot_)BAA09390(_at_)mv(_dot_)mv(_dot_)com>
To: staff(_at_)arisia(_dot_)org
Subject: ST: Gee, can we arrange something like this during the rock
concert?
Sender: owner-staff(_at_)arisia(_dot_)org
Precedence: bulk
Reply-To: staff(_at_)arisia(_dot_)org

From Eristocracy(_at_)merrymeet(_dot_)com Wed Nov 18 20:49:22 1998
X-Sender: jon(_at_)merrymeet(_dot_)com
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Date: Wed, 18 Nov 1998 17:32:02 -0800
To: "The Eristocracy" <Eristocracy(_at_)merrymeet(_dot_)com>
From: Jon Callas <jon(_at_)callas(_dot_)org>
Subject: Tromboom.
Sender: <Eristocracy(_at_)merrymeet(_dot_)com>
Precedence: Bulk

      On my forwarded account, and on my procmail backup mailbox (it
keeps a copy of the most recent 50 messages, the headers look like this:
From owner-staff(_at_)arisia(_dot_)org  Thu Nov 19 01:32:55 1998
Return-Path: owner-staff(_at_)arisia(_dot_)org
Received: from chai.pobox.com (chai.pobox.com [208.210.124.35]) by
pcans1.pca.net (8.8.8/8.6.9) with ESMTP id BAA16514; Thu, 19 Nov 1998
01:32:54 -0600
Received: from arisia.org (arisia.org [207.121.47.210])
        by chai.pobox.com (VMailer) with ESMTP
        id 0BD1CABD; Thu, 19 Nov 1998 01:25:11 -0500 (EST)
Received: (from majordom(_at_)localhost)
        by arisia.org (8.8.5/8.8.5) id AAA30376
        for staff-dist; Thu, 19 Nov 1998 00:32:55 -0500
Date: Thu, 19 Nov 1998 01:21:00 -0500 (EST)
From: "Skipper W. Morris" <morris(_at_)mv(_dot_)mv(_dot_)com>
Message-Id: <199811190621(_dot_)BAA09390(_at_)mv(_dot_)mv(_dot_)com>
To: staff(_at_)arisia(_dot_)org
Subject: ST: Gee, can we arrange something like this during the rock
concert?
Sender: owner-staff(_at_)arisia(_dot_)org
Precedence: bulk
Reply-To: staff(_at_)arisia(_dot_)org

From Eristocracy(_at_)merrymeet(_dot_)com Wed Nov 18 20:49:22 1998
X-Sender: jon(_at_)merrymeet(_dot_)com
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Date: Wed, 18 Nov 1998 17:32:02 -0800
To: "The Eristocracy" <Eristocracy(_at_)merrymeet(_dot_)com>
From: Jon Callas <jon(_at_)callas(_dot_)org>
Subject: Tromboom.
Sender: <Eristocracy(_at_)merrymeet(_dot_)com>
Precedence: Bulk

      I see where the > has been deleted from the 2nd from line, and I
am assuming that this is what caused the split.

The pertinant recipe (for the backup file, the forwarding is just using !)
is:
# This appends the last maxgbackup files to the fallback folder
# It prevents mail from being lost through incorrect recipes
:0Wc:$HOME/incoming/fall.lock
| cat - $BACKGFILE | formail -${maxgbackup}s > $TEMPGFILE ; \
  mv -f $TEMPGFILE $BACKGFILE




-- 
Matthew Saroff
Please send all replies to msaroff(_at_)pobox(_dot_)com
don't cc: me if you are posting to the list.

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