i'm getting 100-200 connections per hour from
yahoo calendar with nigerian spam stuff.  here's
the least aggressive patch fix i could think of
without modifying smtpd to also get the reply-to
address.  unfortunately, this means that all mail
from yahoo calendar is blocked.  but it's better
than blocking all of yahoo.

this change is in /n/sources/contrib/quanstro/src/nupas.

the funky eval is to allow regular expressions in the list.

; diffy validatesender
20a21,25
> # these particular senders are blacklisted
> # motivated by the fact that yahoo calender
> # is compromised.
> dropuser=(reply.yahoo.com!calendar-invite)
> 
57a63,65
> 
> if(eval ~ $dom!$addr $dropuser)
>       exit 'member of dropuser list'

- erik

Reply via email to