Walter Dnes | 18 Mar 06:36 1993
Picon

Re: variables in matches?

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):.*$LOGNAME <at> $MYISP
{
LOG="///////////////////// Not addressed to me
"
:0: badaddress.lock
$LOGFILE
}

--

-- 
Walter Dnes (Toronto)
<waltdnes <at> interlog.com>


Gmane