Subject: Filter question (also filtering SPAM)

From: Anton <[email-masked]>
Date: Mon, 23 Jul 2001 11:44:39 -0700 (PDT)

Hi all.  I'm wondering whether I can create a filter like this one:

From:/To: !mycompany.com
move to folder Junk.

The reason for this filter is that I only receive email from people in my
company and I get a lot of spam that I just want to move to a junk folder.

I don't think it's possible to create NOT filter, or is it?  Thanks!

Anton.

-- 
-----------------------------------------------------------------
 For information about this mailing list, and its archives, see: 
 http://www.washington.edu/pine/pine-info/
-----------------------------------------------------------------

---

From: Jared Griffith <[email-masked]>
Date: Mon, 23 Jul 2001 11:53:57 -0700 (PDT)

Anton,

You can, indirectly, using setscores and a filter.  The idea is to use
setscores to give wanted emails a high score (say, 100) and filter out
anything with a low score (-INF,99).  Another advantage is that you can
add email addresses for friends as well as other trusted emails.

jared

---

From: Mohit Agarwal <[email-masked]>
Date: Tue, 24 Jul 2001 00:36:52 +0530 (IST)

On 2001-07-23 at 11:44 -0700, Anton wrote:

» Hi all.  I'm wondering whether I can create a filter like this one:
»
» From:/To: !mycompany.com
» move to folder Junk.
»
» The reason for this filter is that I only receive email from people in my
» company and I get a lot of spam that I just want to move to a junk folder.
»
» I don't think it's possible to create NOT filter, or is it?  Thanks!

Well, you can do that using procmail; should be easy.

mohit

---

From: Eduardo Chappa <[email-masked]>
Date: Mon, 23 Jul 2001 11:51:14 -0700 (PDT)

*** Anton ([email-masked]) wrote in the pine-info list today:

:) From:/To: !mycompany.com
:) move to folder Junk.

Create a score rule that will give an score, say of 10, to any message
from your company, and create a filter that filters all messages whose
score is less than 10 (or just 0) to the folder junk.

-- 
Eduardo
http://www.math.washington.edu/~chappa/pine/