On Mon, Mar 04, 2002 at 10:05:25AM -0800, Ricardo Kleemann wrote:
> Does SA support (or can we add support) for processing a directory that
> has multiple messages to be reported?
> 
> I want to be able to run spamassassin -r and pass a directory path... that
> would simplify processing a number of messages.

It's not very efficient, but you could do something like:

find <dir> -type f -exec cat {} "|" formail -s spamassassin -r \;


I haven't tried it, but ...

You can also look at a script I wrote for automated spam handling (report to
razor, spamcop, etc, etc.):
        http://www.kluge.net/~felicity/random/handlespam.txt

You can strip out (or just turn off) the stuff you don't want, then do
something like:

        handlespam `find <dir> -type f`

-- 
Randomly Generated Tagline:
Artificial Intelligence (n.): The other guy's opinion.

_______________________________________________
Spamassassin-talk mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/spamassassin-talk

Reply via email to