save only mail body into a file

Erik Christiansen dvalin at
Sat Nov 11 06:57:00 CET 2017

On 11.11.17 16:40, Erik Christiansen wrote:
> On 10.11.17 08:52, Zhiliang Hu wrote:
> > 'formail -I' to remove mail headers,
> > without success. I also fail to find useful hints by onine searches. Any
> > advice/hint? :)
> More coffee. That sometimes helps. ;-)

OK, that part was a bit facetious. Have a look at the procmailex
manpage, and search for "lpr". There are several examples of body-only
processing, with and without conditionality.

(I still think coffee, and a Tim Tam, help when things go awry.)

More information about the procmail mailing list