On Sun, 11 Apr 2004, Peter Schuller wrote:

> > 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.

Thank you, Peter.

The problem was already solved with formail & procmail.

formail can process the mailbox --as you suggest-- and procmail
calls spamassassin in its rules.  Once the messages are
classified, procmail filters spam.

[EMAIL PROTECTED] mailing list
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to