* reti(_at_)igrin(_dot_)co(_dot_)nz asked:
One further question if I may, how do I blank the body first so that all
that appears is my echo statement ?
Split the pipe into separate parts for header and body; if the echo is
all you have in the body pipe, the existing contents will disappear
because echo doesn't copy them to its output. (In fact it doesn't even
look at them, therefore you need an "i" flag on the recipe to prevent
procmail from complaining about the body not being read by the pipe.)
Something like this should work:
:0 fhw
| formail ...
:0 fbiw
| echo ...
/HW
____________________________________________________________
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