Analysing many spam emails can be long and painful, because you must navigate through many pages and send many confirmations. How much is the time you waste:
* finding the links, clicking,
* waiting for a new window or tab to open and to load the URL,
* then moving through these pages to read the report,
* eventually confirm and wait for the reports to be sent?
In my humil opinion, too much!
So SpamCop Denouncer speeds up the find-click-load-send part of that procedure. The analysis cannot be skipped: at least you must check you are not denouncing your self or improbable organisations.
It works like that:
1a) Use -f option to download messages from a POP3 account (using fetchmail), and save them to input file.
1b) Use -r <path> to read form a different input file, without fetching anything.
2 ) Get all spamcop reporting URLS from the input file.
3 ) Download all spamcop analysis pages and parse them. No interaction required.
4 ) For each spam-id, present a dialog screen where you can see and select which recipients your report will have. That process is very quick as all information is already locally available. If you are not sure of what you are doing, you can see the full analysis, which was saved to a temporary file in (3) so you have not to download it again. Then, you might pick off some recipients, then Cancel the report or accept it.
5 ) That done, all accepted reports will be sent in one shoot to the selected recipients. No interaction needed.
http://daniele.modena1.it/code/spamcop-denouncer
This Python scri_pt needs fetchmail, grep and dialog. Was tested on Debian unstable.
WARNING: One-day-hacking-scri_pt here! Use at your own risk!!!
