procmail
[Top] [All Lists]

Re: formail question (-s and piping to tail)

2007-01-24 04:17:54
On Tue, Jan 23, 2007 at 08:01:03PM -0600, Gerald V. Livingston II wrote:
Delivered-To: dman+nomo(_at_)panix(_dot_)com
Date: Tue, 23 Jan 2007 20:01:03 -0600 (Central Standard Time)
From: "Gerald V. Livingston II" <debuser(_at_)sysmatrix(_dot_)net>
Subject: formail question (-s and piping to tail)
To: procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
Reply-to: debuser(_at_)sysmatrix(_dot_)net

Can someone point out what's wrong with this?

formail <spambox -s formail -X X-Spam-Report: | tail -n +19 >> spamreport2

Well, quite a bit, actually. :-)

Ideas??

Why not test it at a shell prompt until it works?

But I'll save you some work:

  cat spambox | formail -zfx X-Spam-Report: -s | tail -n 19 >> spamreport2

I'm not sure why you have the plus-sign with tail.  I took it off.

Dallman

____________________________________________________________
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>