> Date: Thu, 24 Jan 2002 18:42:05 -0500
> From: Brian Clark <[EMAIL PROTECTED]>
> To: [EMAIL PROTECTED]
> Subject: Re: [OT] html email
> 
> * Matthew D. Fuller ([EMAIL PROTECTED]) [Jan 24. 2002 18:29]:
 
    <snip>

> If it catches a friend, newletter, etc, I just add the sender's address
> to a file called known.list and use this rule:
> 
> # known sender's list
> :0:
> * ? (formail -x From: | fgrep -iqf $PMDIR/known.list)
> $MAILDIR/inbox
> 
> (By the way, is there a better way to do the above?)

    Maybe this:

    if (/^From: *!.*/ && lookup($MATCH2, "$PMDIR/known.list"))
    {
        to $MAILDIR/inbox
    }

    But I have to stop rambling. :) 

-- 
FreeBSD 4.4-STABLE
1:30AM up 4 days, 7:53, 11 users, load averages: 0.10, 0.05, 0.01

Reply via email to