Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 11 Apr 2004 20:00:04 +0200
From:      Peter Schuller <peter.schuller@infidyne.com>
To:        freebsd-questions@freebsd.org
Cc:        Eduardo Viruena Silva <mrspock@esfm.ipn.mx>
Subject:   Re: spam in an inbox.
Message-ID:  <200404112000.04911.peter.schuller@infidyne.com>
In-Reply-To: <20040410140222.H80144@Gina.esfm.ipn.mx>
References:  <20040410140222.H80144@Gina.esfm.ipn.mx>

next in thread | previous in thread | raw e-mail | index | archive | help
> 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?

If you can find a mailbox format converter (I'm sure there are a few but I 
haven't checked), you could convert it to Maildir and easily script the 
operation as with a Maildir each message will be a separate file. That way 
you don't have to do the parsing.

-- 
/ Peter Schuller, InfiDyne Technologies HB

PGP userID: 0xE9758B7D or 'Peter Schuller <peter.schuller@infidyne.com>'
Key retrieval: Send an E-Mail to getpgpkey@scode.org
E-Mail: peter.schuller@infidyne.com Web: http://www.scode.org



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200404112000.04911.peter.schuller>