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.
procmail mailing list Procmail homepage: http://www.procmail.org/