On 29 January 2002, Olivier Nicole said:
> I wonder if anyone ever wrote a tool that would easily allow to check
> the email marked as spam and report them.
>
> The idea is that all spam email are droped into a file.
Right, you do that by configuring your MTA (Exim, postfix etc.) or MDA
(procmail, Mail::Audit script, etc.) appropriately.
> The tool would allow to browse the file, one message at a time, with
> some scroll-up and scroll down facility, then a command would allow to
> report the mail as true spam, a second command would allow to deliver
> the email to the original recipient, a third to drop the email. Of
> course the message would be deleted from the file after it has been
> processed.
That sounds an awful lot like a mail client to me. mutt has a nice
split-screen mode where you can see N lines of your index at the same
time as the current message. (Try "set index_lines 5".) Create a couple
of macros (pipe through "spamassassin -r", bounce to original
recipient), and you're done.
Hmmm: bouncing to original recipient might require an external script.
Should be pretty easy to pull out the right address using either
Python's rfc822 module or Perl's Mail::Internet.
> Reporting would/could be to Razor, spam cop, other, eventually
> depending on what is the repport from Spamassassin (no need to report
> to Razor an email that have been ecluded because it is liste in
> Razor...) but should be automatic.
If you want multiple reports, you'd probably have to write a custom
script. Something like:
if SA's RAZOR_CHECK didn't match:
pipe through spamassassin -r
if SA didn't flag it as spam:
send to spamassassing-sightings
... etc ...
Doesn't sound too hard to me. Probably a good way to pass a rainy
afternoon.
Greg
--
Greg Ward - software developer [EMAIL PROTECTED]
MEMS Exchange http://www.mems-exchange.org
_______________________________________________
Spamassassin-talk mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/spamassassin-talk