spam in an inbox.

Peter Schuller peter.schuller at infidyne.com
Sun Apr 11 11:00:11 PDT 2004


> 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 at infidyne.com>'
Key retrieval: Send an E-Mail to getpgpkey at scode.org
E-Mail: peter.schuller at infidyne.com Web: http://www.scode.org



More information about the freebsd-questions mailing list