Jump to content

SpamCopper


Recommended Posts

Here's a copy of my post over at MozillaZine. Thought that SpamCop users would be another good place to make this known. =)

Many people (including myself) have asked for an extension to easily report spam. I stumbled across the BlueFrog extension listed below, and realized that it worked just as a SpamCop extension would. I essentially just did a Find & Replace, substituting SpamCop's info in place of BlueFrog's. As such, this "brand new" extension has had some testing in the form of that extension. Likewise, I'll be the first to point out that very little of the work can be credited to me.

It's pretty simple. It just creates a new mail message with all Junk messages in the current folder attached. For security reasons, Tb won't send mail without interaction, so you do still have to hit Send, but the mail with all the spams is created automatically. There are only two options, your unique SpamCop reporting address and how to handle the messages once they're reported. It defaults to moving them to the Trash (so they're out of the way but not completely gone) and it should prompt you for your unique ID if you don't enter it first.

Nothing major, but hopefully it'll help some of you out.

http://pctech.invisibill.net/mozext/spamcopper/

Here's a copy of the ReadMe:

SpamCopper v0.01

What is it?

SpamCopper is a Thunderbird extension which allows a SpamCop.net user to easily report Junk messages to SpamCop. It is almost an exact copy of the BlueFrog (http://www.bluesecurity.com/) extension written by Vladim Z (http://www.teramips.com/bluefrog/). This extension is not affiliated with or endorsed by SpamCop.net, IronPort Systems, or anyone at either of those organizations. It is an independently created tool which simply makes using SpamCop a bit easier.

How do I use it?

Once installed, the extension adds a toolbar button. If the button doesn't show up automatically, right-click on the toolbar and choose Customize - the button should be available to drag to your toolbar. SpamCopper will create a new message with all messages in the current folder marked as Junk attached. Thunderbird cannot forward messages automatically, so you will need to send the message manually, but the email will be addressed, written, and have all Junk messages attached automatically.

How do I configure it?

You can access the two configurable options of SpamCopper from its entry in the Extensions window. In the options, you must enter your unique SpamCop reporting ID. That is middle section of your personal "submit.________________[at]spam.spamcop.net" address, replaced here by underscores. If you do not configure the ID before using the toolbar button, you will be prompted to enter your ID. In the options, you can also choose how Junk mail is handled after being reported. You can leave it as is, delete it, or move it to the Trash. By default, reported Junk will be moved to the Trash. This moves it out of your way, but it is still available if you would like to make a copy of it.

This is great! How can I help?

Use it! Get a SpamCop account and report spam. By helping to stop spammers, you're helping me and everyone else on the internet. Be sure to properly configure your mailhosts in your SpamCop account so it knows which headers come from your valid mail servers, and can more easily see the spam source (and not get your ISP blacklisted).

If you have the skills, write some code. Make improvements to the extension, use it as a base for creating your own similar extension, or just let it inspire you to make something else that helps people out. Just as I was able to modify the BlueFrog extension to meet my own needs under the MPL, you can modify this to suit your own needs. Please report any issues with the extension to me so that I can fix them. You are more than welcome to submit patches to me for the code, as I would like to keep the best working version in one place so as not to create a bunch of different derivatives that do the same thing and cause lots of confusion. I would also be interested in hearing about

any other projects stemming from this.

If you feel that it's more appropriate, you can send me money. I have a personal (no credit cards) PayPal account for my email address. If that doesn't work for you, get in touch with me and we can work something out. This extension and its source code are available 100% for free. Any payment sent to me is done voluntarily, in appreciation for working on this project.

What do you have planned for future?

This is my first Thunderbird extension. It is essentially a Find and Replace on the BlueFrog extension, so it has had some testing in another environment. I plan to watch the BlueFrog extension for any improvements or fixes, and incorporate those into SpamCopper as appropriate. I would also like to make this work on the Mozilla Suite, Seamonkey, and any other Mozilla-based mail programs. I have no timeframe for doing so, but it is something I would like to do.

Link to comment
Share on other sites

I am not saying anything about your software but when it comes to BlueFrog I never trusted them since it came out. When they try and make money from both sides of the spam fence what side are they really on? Yes they have so-called "free service/software" but they also charge then they collect addresses to sell to spammers so the spammers can listwash and freely keep spamming. Sounds like a great scheme for BlueFrog but when you sleep with dogs you will get fleas.

IMHO - No Thanks.......

Link to comment
Share on other sites

I have doubts about BlueFrog myself. I actually saw the extension first, then looked into how BF worked. All the extension does is forward mail to BF, similar to SC reporting.

So I broke it down and changed a few things so that it would submit to SC rather than BF. I'm not an expert, but I did go through all the files looking for BF references. Everything was changed to work with SpamCop instead, and I didn't notice anything unusual in the code. Thunderbird won't even send the email automatically - you have to manually hit Send.

Just to be clear, this extension doesn't have anything to do with BF's service. My extension is based on theirs ("based on" is an understatement), but simply automates the process of forwarding spam to SpamCop. The BF extension seems to have been written by an individual user or something even.

Link to comment
Share on other sites

Just to be clear, this extension doesn't have anything to do with BF's service. My extension is based on theirs ("based on" is an understatement), but simply automates the process of forwarding spam to SpamCop. The BF extension seems to have been written by an individual user or something even.

I'm using it now and it works as advertised. Before I used it I went through the code to see what it did, and indeed, it does nothing you would not need to do to accomplish the task. Thanks for taking the time to research and release this.

Link to comment
Share on other sites

  • 2 weeks later...
Here's a copy of my post over at MozillaZine. Thought that SpamCop users would be another good place to make this known. =)

...

I used this and I consistently get "SpamCop Encountered Errors" responses. The spam cop parser can't find the attached email:

SpamCop encountered errors while saving spam for processing:

SpamCop could not find your spam message in this email:

Return-Path: <geoff[at]hoohoowow.com>

Received: from sc-smtp1-bulkmx.soma.ironport.com (sc-smtp1-bulkmx.soma.ironport.com [204.15.82.123])

by sc-app4.soma.ironport.com (Postfix) with ESMTP id EE5675130

for <submit.xYzXyzqwertyxyz[at]spam.spamcop.net>; Wed, 22 Mar 2006 10:45:40 -0800 (PST)

Received: from mail99.moocowmailserver.com ([210.222.45.80])

by sc-smtp1-bulkmx.soma.ironport.com with ESMTP; 22 Mar 2006 10:45:40 -0800

X-Authenticated-User: geoff.hoohoowow.com

Received: from [192.168.1.101] (h-50-60-70-80.dllatx37.covad.net [66.167.197.60])

(authenticated bits=0)

by mail99.moocowmailserver.com (8.13.1/8.13.1) with ESMTP id k2MIjbhS017630

for <submit.xYzXyzqwertyxyz[at]spam.spamcop.net>; Wed, 22 Mar 2006 13:45:39 -0500

Message-ID: <44219B51.9050703[at]hoohoowow.com>

Date: Wed, 22 Mar 2006 12:45:37 -0600

From: Geoff Staples <geoff[at]hoohoowow.com>

Reply-To: geoff[at]hoohoowow.com

User-Agent: Thunderbird 1.5 (X11/20051201)

MIME-Version: 1.0

To: submit.xYzXyzqwertyxyz[at]spam.spamcop.net

Subject: [Fwd: Hey how's it going]

Content-Type: multipart/mixed;

boundary="------------070508090701000208010006"

This is a multi-part message in MIME format.

--------------070508090701000208010006

Content-Type: text/plain; charset=ISO-8859-1; format=flowed

Content-Transfer-Encoding: 7bit

1 message(s) that were marked junk are attached to this message.

Sent with SpamCopper for Thunderbird v0.01

--------------070508090701000208010006

Content-Type: message/rfc822;

name="Hey how's it going"

Content-Transfer-Encoding: 7bit

Content-Disposition: inline;

filename="Hey how's it going"

--------------070508090701000208010006--

The email which triggered this auto-response had the following headers:

Return-Path: <geoff[at]hoohoowow.com>

Received: from sc-smtp1-bulkmx.soma.ironport.com (sc-smtp1-bulkmx.soma.ironport.com [204.15.82.123])

by sc-app4.soma.ironport.com (Postfix) with ESMTP id EE5675130

for <submit.xYzXyzqwertyxyz[at]spam.spamcop.net>; Wed, 22 Mar 2006 10:45:40 -0800 (PST)

Received: from mail99.moocowmailserver.com ([210.222.45.80])

by sc-smtp1-bulkmx.soma.ironport.com with ESMTP; 22 Mar 2006 10:45:40 -0800

X-Authenticated-User: geoff.hoohoowow.com

Received: from [192.168.1.101] (h-50-60-70-80.dllatx37.covad.net [66.167.197.60])

(authenticated bits=0)

by mail99.moocowmailserver.com (8.13.1/8.13.1) with ESMTP id k2MIjbhS017630

for <submit.xYzXyzqwertyxyz[at]spam.spamcop.net>; Wed, 22 Mar 2006 13:45:39 -0500

Message-ID: <44219B51.9050703[at]hoohoowow.com>

Date: Wed, 22 Mar 2006 12:45:37 -0600

From: Geoff Staples <geoff[at]hoohoowow.com>

Reply-To: geoff[at]hoohoowow.com

User-Agent: Thunderbird 1.5 (X11/20051201)

MIME-Version: 1.0

To: submit.xYzXyzqwertyxyz[at]spam.spamcop.net

Subject: [Fwd: Hey how's it going]

Content-Type: multipart/mixed;

boundary="------------070508090701000208010006"

Link to comment
Share on other sites

  • 4 weeks later...

I've got the same problem, I've reported 3 spam with this tool and I've received an error from spamcop:

"SpamCop encountered errors while saving spam for processing:

SpamCop could not find your spam message in this email:

...

...

"

I work with Thunderbird 1.5 and Spamcopper 0.01

Link to comment
Share on other sites

From the developer's site in the first post: http://pctech.invisibill.net/mozext/spamcopper/ReadMe.txt

Please report any issues with the extension to me so that I can fix

them.

e-mail address is provided on that page.

A Tracking URL would go along way in 'describing' the problem. The sample spam posted previously appears to have a serious issue with the MIME Boundary lines, but ...????

Link to comment
Share on other sites

I work with Thunderbird 1.5 and Spamcopper 0.01

Seems that its broken under Thunderbird 1.07 under Ubuntu Linux. It works in Windows under Thunderbird 1.5.

The sample in the message above is exactly the same thing I get. The MIME headers are there, but the contents of the spam that's supposed to be there is missing. Its entirely possible that this is just a version requirement.

Link to comment
Share on other sites

  • 2 weeks later...
Seems that its broken under Thunderbird 1.07 under Ubuntu Linux.  It works in Windows under Thunderbird 1.5.

The sample in the message above is exactly the same thing I get.  The MIME headers are there, but the contents of the spam that's supposed to be there is missing.  Its entirely possible that this is just a version requirement.

42054[/snapback]

Does the spam-messages attached with the spamcopper message?

For example when I've got 4 spams in my incoming folder in Thunderbird, I click on the report button and I get a new message called [Fwd:]

4 message(s) that were marked junk are attached to this message.

Sent with SpamCopper for Thunderbird v0.01

with 4 messages attached and the adress is submit.[xxxxxxxxxxxxxx][at]spam.spamcop.net

When I send the message I get quickly a response of errors from spamcop autoresponder.

I've got Thunderbird 1.5 (20051201)

To loafman: what is your number of version?

If everybody that has tried this extension could tell us how it works with his version of Thunderbird, it could be good to fix the problem.

I've send 2 e-mails to invisibill without any response.

Thanks for your help.

mxrider,

from France

Link to comment
Share on other sites

I've got Thunderbird 1.5 (20051201)

To loafman: what is your number of version?

If everybody that has tried this extension could tell us how it works with his version of Thunderbird, it could be good to fix the problem.

Thunderbird 1.07 under Ubuntu.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...