From owner-freebsd-questions@FreeBSD.ORG Sat Apr 10 13:03:25 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id ECC4916A4CE for ; Sat, 10 Apr 2004 13:03:25 -0700 (PDT) Received: from Gina.esfm.ipn.mx (esfm.ipn.mx [148.204.102.61]) by mx1.FreeBSD.org (Postfix) with ESMTP id 88A9A43D39 for ; Sat, 10 Apr 2004 13:03:25 -0700 (PDT) (envelope-from mrspock@esfm.ipn.mx) Received: from Gina.esfm.ipn.mx (localhost [127.0.0.1]) by Gina.esfm.ipn.mx (8.12.10/8.12.10) with ESMTP id i3AK3Atw082789 for ; Sat, 10 Apr 2004 15:03:10 -0500 (CDT) (envelope-from mrspock@esfm.ipn.mx) Received: from localhost (mrspock@localhost)i3AK39ka082784 for ; Sat, 10 Apr 2004 15:03:09 -0500 (CDT) (envelope-from mrspock@esfm.ipn.mx) X-Authentication-Warning: Gina.esfm.ipn.mx: mrspock owned process doing -bs Date: Sat, 10 Apr 2004 15:03:09 -0500 (CDT) From: Eduardo Viruena Silva To: freebsd-questions@freebsd.org Message-ID: <20040410140222.H80144@Gina.esfm.ipn.mx> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: spam in an inbox. X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 10 Apr 2004 20:03:26 -0000 Hello, FreeBSD gurus! I have a system that uses procmail & spamassassing to filter spam, but there is an old account of a friend of mine that had not activated its filter and received a lot of spam messages. Now, we have his inbox and about 9000 messages which are spam and messages he wants to read. Is it possible now to filter the already received messages and discard the spam from them? How can I do that? Of course, I can make a program that decides where each message starts and where it ends, save it in a file and then filter it with spamassassin and with the filtered file use grep to find "X-Spam-flag: YES to discard this message. I think it is too complicated... Is there an easier solution? Thanks in advance.