procmail
[Top] [All Lists]

formail question (-s and piping to tail)

2007-01-23 19:35:21
Can someone point out what's wrong with this?

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

The very first message from "spambox" gets piped through 'tail' so that the
first 18 lines (of useless info) of the X-Spam-Report: header are chopped
off before being appended to ./spamreport2. Every subsequent message from
the mbox does NOT get piped through tail and gets the entire X-Spam-Report:
header appended to ./spamreport2, including the 18 lines of that header
that I do not want.

Ideas??

Gerald

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