On Mon, May 19, 2003 at 11:19:24PM -0700, Bardwareonline wrote:
:0 B
* ^buyer.*mailto:\/$
| `echo $MATCH >> .customerlist`
| ${FORMAIL} -A"X-Remarks: Good Customer"
Close. And will "buyer" start the line? If not, change the ^ to below:
:0 Bhf # in brackets are a caret, space, and tab
* ()\<buyer.*mailto:\/[^ ]*
| formail -A"X-Remarks: Good Customer"
Mail will now, thanks to the `f'ilter action, continue through your rc,
hopefully to $DEFAULT.
Then, next recipe, will append your $MATCH. Don't forget the lockfile:
:0:
| $MATCH >> path/to/good/list
--
dman
_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail