Hello all, I'm trying to use maildrop's lookup function to scan the headers of each coming e-mail for a list of e-mail addresses in a file. It just doesn't work. There are no error messages that I can find anywhere.
I have the statement coded as:
if ( lookup( "*", "members-white-list" ) \
|| lookup ( "*", "additional-startrek-members" ) )
{
...
}
The test always fails and the e-mail is filtered according to
subsequent rules in my .mailfilter file. This means that e-mail which
I want put in certain folders lands instead in my suspect folder -- as
possible spam.
The files exist in the top level of my home directory. Maildrop is
called directly by fetchmail and I've been using it for quite some
time now. I recently upgraded to the most recent version.
The man page describes the first argument as expr, which it defines as
"any expression" with no further explanation. I really don't have any
idea what I'm supposed to put there; thinking it might be a regular
expression, I decided I wanted that to match on anything in the
headers.
Can someone please clue me in on how to make this work?
Thanks!
--
David Benfell, LCP
[EMAIL PROTECTED]
---
Resume available at http://www.parts-unknown.org/resume.html
msg00603/pgp00000.pgp
Description: PGP signature
