There is a little known utility called look(1), (it does a binary
search on a sorted text file-so is very stingy with machine
resources-that came out in Unix 7,) and can be used with procmail(1):
:0:
* ? test -f "${HOME}/.procmail.file"
* ? look -f some_word "${HOME}/.procmail.file"
the_file
and if some_word, (like an e-mail address,) is in the
~/.procmail.file, then the e-mail will be filed in the_file, (or
whatever.)
~/.procmail.file can be very large without straining machine
resources.
John
--
John Conover Tel. 408.370.2688 conover(_at_)rahul(_dot_)net
631 Lamont Ct. Cel. 408.772.7733 http://www.johncon.com/
Campbell, CA 95008 Fax. 408.379.9602
_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail