Re: Two questions - filter problems

Marvin Renich <[email protected]> Sun, 23 Apr 2017 13:28:52 -0400
Newsgroups gmane.mail.maildrop
Message-ID <[email protected]>
* Philip Rhoades <[email protected]> [170423 09:56]:
> People,
> 
> I have this is my .mailfilter file:
> 
> # .maidsafe   {{{1
> if ( /^From:.*maidsafe/ || /^From:.*slack.com/ || /^From:.*safenetwork/ 
> || /^From:.*safex*/ )
                   ^
This is your problem.  It is matching "From:", followed by any number of
characters, followed by "safe", followed by zero or more occurrences of
"x" (x*).

> {
>      exception {
>          to $DEFAULT/.0_safe/
>      }
> }
> 
> but this spam was delivered to the 0_safe folder - from my 
> .getmail/.maildrop.log file:
> 
> File: /home/phil/Maildir/.0_safe/
> 
> Date: Tue Apr 18 06:08:04 2017
>  From: "SafeStreets" <[email protected]>
> Subj: Sleep well this Holliday Season with ADT Get a complete system for 
> Free
> File: /home/phil/Maildir/.0_safe/                                       
> (4884)

...Marvin


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot