spamcop - Client to SpamCop [1].
spamcop < junk_mail
spamcop -n < junk_mail
spamcop -k < junk_mail
spamcop -m < junk_mail
spamcop -g < junk_mail
Without no arguments, spamcop will send the STDIN to the SpamCop reporting page and print the relavant link to STDOUT. With the -k, -n, -g, and -m options, the link will be opened in Konqueror, Netscape, Galeon or Mozilla respectively.
You will need to set the environment variable SPAMCOP_CODE. This is the code that is provided to you by Spamcop. It's what follows http://spamcop.net/?code= in the URL provided to you by spamcop.
Nevin Kapur <nevin@jhu.edu>