procmail
[Top] [All Lists]

Re: Trimming an extra header.

2003-03-28 13:37:45
Thanks for all the response... like I said. Newbie alert! So I've just
learned a ton of rules for using flags...

There was a syntactic difference in my use of the word header and
procmails. I think I've got that part fixed.

Groupwise inserts a complete set of headers... instead of acting like a
Unix .forward file, it adds a new Received, Date, From, Sender,
Errors-to, Subject and others. It makes the message look like it was
forwarded from within the client application manually.

I do have 2 address, so the mail I want all comes from my groupwise
address, which will always come from ccf.org only. 

I was trying to use sed because I wanted to delete the entire header to
the first blank line (see the sample message).

I'll look at formail.

Thanks for the help and the sympathy... if I get this working, I may be
able to survive not using Groupwise at all.

John

--- sample message ---

Received: from cchscltwrel51.cc.ad.cchs.net ([10.88.22.108]) by
        bio.ri.ccf.org (Switch-2.2.5/Switch-2.0.1) with ESMTP id
h2RIFoL12702 for
        <jehrling(_at_)bio(_dot_)ri(_dot_)ccf(_dot_)org>; Thu, 27 Mar 2003 
13:15:51 -0500 (EST)
Received: from 139.137.10.6cchscltwrel51.cc.ad.cchs.net with SMTP (SMTP
        Relay (MMS v5.0)); Thu, 27 Mar 2003 13:15:45 -0500
X-Server-Uuid: D71C0EE3-EEDB-4BDB-AAFA-D2EED482454D
Received: from GWINTD1-Message_Server by cesmtp.ccf.org with
        Novell_GroupWise; Thu, 27 Mar 2003 13:15:45 -0500
Message-ID: <se82f981(_dot_)078(_at_)cesmtp(_dot_)ccf(_dot_)org>
X-Mailer: Novell GroupWise 5.5.5
Date: Thu, 27 Mar 2003 13:15:40 -0500
From: "John Ehrlinger" <ehrlinj(_at_)ccf(_dot_)org>
Sender: Postmaster(_at_)ccf(_dot_)org
Reply-to: ehrlinj(_at_)ccf(_dot_)org
Errors-To: Postmaster(_at_)ccf(_dot_)org
Subject: Fwd: GW tests
MIME-Version: 1.0
X-WSS-ID: 129DE05B795408-01-01
Content-Type: message/rfc822
Content-Transfer-Encoding: 7bit
X-Evolution-Source: 
imap://jehrling(_at_)mailhost(_dot_)bio(_dot_)ri(_dot_)ccf(_dot_)org/

Received: from cchscltwrel51.cc.ad.cchs.net (relay1.ccf.org
[10.88.22.108])
        by cesmtp.ccf.org; Thu, 27 Mar 2003 13:15:35 -0500
Received: from 10.76.70.39cchscltwrel51.cc.ad.cchs.net with ESMTP (SMTP
        Relay (MMS v5.0)); Thu, 27 Mar 2003 13:15:30 -0500
X-Server-Uuid: D71C0EE3-EEDB-4BDB-AAFA-D2EED482454D
Received: from test.access.ccf.org (mercx [10.76.88.149]) by
bio.ri.ccf.org
        (Switch-2.2.5/Switch-2.0.1) with ESMTP id h2RIFUL12684 for
        <ehrlinj(_at_)ccf(_dot_)org>; Thu, 27 Mar 2003 13:15:30 -0500 (EST)
Subject: GW tests
From: "John Ehrlinger" <jehrling(_at_)bio(_dot_)ri(_dot_)ccf(_dot_)org>
To: ehrlinj(_at_)ccf(_dot_)org
Organization: 
Message-ID: 
<1048788994(_dot_)14877(_dot_)18(_dot_)camel(_at_)mercx(_dot_)bio(_dot_)ri(_dot_)ccf(_dot_)org>
MIME-Version: 1.0
X-Mailer: Ximian Evolution 1.2.3
Date: 27 Mar 2003 13:16:34 -0500
X-WSS-ID: 129DE048795372-01-01
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Test 1

-- 
John Ehrlinger <jehrling(_at_)bio(_dot_)ri(_dot_)ccf(_dot_)org>

----
-- 
John Ehrlinger <jehrling(_at_)bio(_dot_)ri(_dot_)ccf(_dot_)org>


_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail

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