On Fri, Dec 21, 2001 at 11:23:14PM +0100, Roland Schneider wrote:
> --David Benfell wrote on 21.12.2001 13:14 -0800:
> 
> >> 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.
> 
> This fails because you dont have a line with '*' in the lists.
> Use VERBOSE=9 and logfile().
>  
> >> 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.
> 
> Try an expression there (man maildropfilter, maildropex), usually

I couldn't find the lookup function in my copy of the maildropex man
page.

> something like $SENDER. If your MTA does not provide such variables
> then you need to parse them out of the headers.
>  
Oh.  I'm running maildrop out of fetchmail (my mailservers are on
other boxes).  From what I can see, fetchmail doesn't set anything of
the kind.

I feel like I'm in a canoe in whitewater, without a paddle, here.  Is
there any documentation that shows how to implement this parsing?

Thanks!
-- 
David Benfell, LCP
[EMAIL PROTECTED]
---
Resume available at http://www.parts-unknown.org/resume.html

Attachment: msg00605/pgp00000.pgp
Description: PGP signature

Reply via email to