I can't capture an address in the first line of the body and then to
eliminate it.
I assume you mean an Internet email address (not a postal address)
Does it matter if you get < > or ( )
:0
* [ ]*\/([^ ].*)
If what you have gives you the first line in $MATCH then I would do something
like:
# (this is untested)
{
# Put email address in $ADDRESS
ADDRESS=`echo $MATCH | tr -s ' ' '\012' | fgrep @ | tr -d "<|>|(|)"`
# delete the first line of the body
:0 fbw
| sed -e '1,1d'
}
_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail