Two questions - filter problems

Philip Rhoades <[email protected]> Sun, 23 Apr 2017 23:26:28 +1000
Newsgroups gmane.mail.maildrop
Message-ID <[email protected]>
People,

I have this is my .mailfilter file:

# .maidsafe   {{{1
if ( /^From:.*maidsafe/ || /^From:.*slack.com/ || /^From:.*safenetwork/ 
|| /^From:.*safex*/ )
{
     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)

Markers:   ---------------------------------------------
  (**) from config file, (II) informational, (WW) warning
--------------------------------------------------------

Why is that mail getting put into that folder? - it doesn't match the 
filtering as far as I can see . .

Also, is there a way to check for a missing header "To:" line so those 
mails can be filtered to a spam folder?

Thanks!

Phil.
-- 
Philip Rhoades

PO Box 896
Cowra  NSW  2794
Australia
E-mail:  [email protected]

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