I think dspam_train is what you'll likely want to look at. That's what gets
called if you are setting up a spam/ham e-mail account for training and it
looks like you can invoke it directly on a folder. If not that, just using
'mail' to loop through the e-mails and forward to your spam catcher address
might do the trick?
Thinking aloud here - I haven't been using DSPAM enough to know if that's a
definite route to go, but thought I'd give my $0.02.
On Feb 5, 2014, at 9:26 AM, Steven Schmeiser <ste...@schmeiser.org> wrote:
> Hi all,
> I was wondering if it is possible to run dspam on a maildir of existing
> messages? I have my mail server all set up to filter incoming messages, but
> I have a folder of 50,000 old messages that contain spam. Now that dspam is
> trained nicely, I'd like to have it run on all those messages and add dspam
> headers so I can do something like grep for a dspam spam header and delete
> the messages marked as spam. Thanks for any help!
>
> Steve
> ------------------------------------------------------------------------------
> Managing the Performance of Cloud-Based Applications
> Take advantage of what the Cloud has to offer - Avoid Common Pitfalls.
> Read the Whitepaper.
> http://pubads.g.doubleclick.net/gampad/clk?id=121051231&iu=/4140/ostg.clktrk
> _______________________________________________
> Dspam-user mailing list
> Dspam-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/dspam-user
>
------------------------------------------------------------------------------
Managing the Performance of Cloud-Based Applications
Take advantage of what the Cloud has to offer - Avoid Common Pitfalls.
Read the Whitepaper.
http://pubads.g.doubleclick.net/gampad/clk?id=121051231&iu=/4140/ostg.clktrk
_______________________________________________
Dspam-user mailing list
Dspam-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspam-user