Brian Hamlin wrote:
I am putting along with Perl. I just wrote a script
that loops through my mail, reads a msgs, sends it to
SA, then writes it out to a nw mbox. When it is done,
it copies the new mbox into the system one.

* horribly slow
* will miss mails
* mayeb I made more mistakes
  but it is better than the alternative at the moment

ideas still welcome. -Brian

ps- yes, I am just a user here.. If I had somethin
gvery specific to ask an admin, maybe I could get them
to do it for me..  I am not sure what that might be in
terms of the filter account, but I appreciate the
cycles...

Normally, you would run a new message through SA before it gets to your mailbox. If you need to do this at the user level (rather than in the MTA) the common method is with procmail:

http://wiki.apache.org/spamassassin/UsedViaProcmail

You can pass a whole mailbox to spamassassin with the --mbox option but you are still going to have the problem of overwriting an active mailbox file and possibly loosing mail. Procmail would be a better way to go for future mail.

Reply via email to