procmail
[Top] [All Lists]

Re: variables in matches?

1998-03-17 22:48:13
Professional Software Engineering wrote:

This tosses messages in which the messageid is the same
as the spam FROM address, a trait I've been witnessing
on several spams recently.
  I go one step further.  *AFTER* diverting emails from my
subscribed mailing lists, I dump all stuff that isn't
addressed to me.  Early in my filter I define MYISP...

# Interlog owns both interlog.com and interlog.net domains
MYISP="interlog\.(com|net)"

:0
*$!^(Sender|From|Reply-To):.*$MYISP
*$!^(Apparently.*|To|Cc):(_dot_)*$LOGNAME(_at_)$MYISP
{
LOG="///////////////////// Not addressed to me
"
:0: badaddress.lock
$LOGFILE
}

-- 
Walter Dnes (Toronto)
<waltdnes(_at_)interlog(_dot_)com>

<Prev in Thread] Current Thread [Next in Thread>