You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@spamassassin.apache.org by Winston Ojeda <oj...@yahoo.com> on 2004/02/10 15:16:49 UTC
Spam Reporting...
I recently joined and wondered why my question was
being ignored and the list was so quiet.
I found out that YahooMail is filtering all this
list's
mails into the wastebasket. Is it because the "spam"
in the subject line? I have to figure that one out.
But in the mean time, did anyone respond to my
original question by any chance?
How do I report an entire mailDir. The usual
spamassassin -r < message works as long as it's one
message only but not when I want to report many or a
directory full of them.
Any ideas?
Thanks,
Winston
__________________________________
Do you Yahoo!?
Yahoo! Finance: Get your refund fast by filing online.
http://taxes.yahoo.com/filing.html
Re: Spam Reporting...
Posted by Winston Ojeda <oj...@yahoo.com>.
You are absolutely right.
I thought spamassassin might have a better way that I
was missing.
Thanks for the help!
Winston
--- Matt Kettler <mk...@evi-inc.com> wrote:
> At 09:16 AM 2/10/2004, Winston Ojeda wrote:
> >How do I report an entire mailDir. The usual
> >spamassassin -r < message works as long as it's one
> >message only but not when I want to report many or
> a
> >directory full of them.
>
> you'll have to write a small script that does them
> one by one. Since you're
> dealing with a directory full of single-email files
> this shouldn't be too
> terribly hard.
>
> Something like:
>
> #!/bin/sh
> for file in ~/maildir/* ; do spamassasin -r $file ;
> done
>
>
>
> The reason you have to do this is because
> spamassassin -r accepts input via
> redirection. You can only redirect one file or data
> source at a time.
> That's a generalized limit of any redirection, not
> spamassassin specific.
>
> (What would you expect the output to look like if
> you tried cat < in* >out
> where multiple files matching in* exist?)
>
>
>
>
__________________________________
Do you Yahoo!?
Yahoo! Finance: Get your refund fast by filing online.
http://taxes.yahoo.com/filing.html
Re: Spam Reporting...
Posted by Matt Kettler <mk...@evi-inc.com>.
At 09:16 AM 2/10/2004, Winston Ojeda wrote:
>How do I report an entire mailDir. The usual
>spamassassin -r < message works as long as it's one
>message only but not when I want to report many or a
>directory full of them.
you'll have to write a small script that does them one by one. Since you're
dealing with a directory full of single-email files this shouldn't be too
terribly hard.
Something like:
#!/bin/sh
for file in ~/maildir/* ; do spamassasin -r $file ; done
The reason you have to do this is because spamassassin -r accepts input via
redirection. You can only redirect one file or data source at a time.
That's a generalized limit of any redirection, not spamassassin specific.
(What would you expect the output to look like if you tried cat < in* >out
where multiple files matching in* exist?)