Jump to content

Auto reporting spam with email filters


njdube

Recommended Posts

I use Kmail/KDE on openSUSE 10.2 (that's Linux for those who don't know) and

I'm trying to set up a filter with my current spam filters so that all I

have to do is click a button and it "redirects" the email to the email I

got from SpamCop.  I've tried it on another one of my personal email's and

it seem to forward the test email with all the headers from before I sent

the first email to my self.  I think I said that right. :huh:

Basically, I send my self an email using to gmail addresses.  I get it, good

there.  I click on the new "Report spam" button I made as a filter in

kmail.  It puts a new email in my Outbox and all I have to do is

click  "File" then click "Send Queued Messeges" and it sends.  Here are

extra headers it puts into the new email...

Resent-From: Nathaniel Dube <****[at]****.***>

Resent-To: ******[at]spam.spamcop.net

Resent-Date: Thu, 22 Mar 2007 18:49:31 -0900

Resent-Message-ID:

<200703222249.31772.i_am_the_sweet_thang[at]stokeferrytimber.com>

Point being, it seems to work in sending the spam with all original headers

to the SpamCop address.  How ever, I got an email back from SpamCop with

this...

--------------------------------------------------------

[spamCop] Errors encountered

From:SpamCop AutoResponder <spamcop[at]devnull.spamcop.net>

To:****[at]***.***

Date:Today 10:50:14 pm

   

SpamCop encountered errors while saving spam for processing:

SpamCop could not find your spam message in this email:

--------------------------------------------------------

The rest of the email was just the email I sent.

I get a lot of spam, which gmail blocks pretty much all of.  Every now and

then I check my email through the web interface so I can get the spam and

put it in my inbox so kmail will download it.  Blocking the spam isn't

enough for me, I want to report the little bastards and show them I'm not

going to take it. :angry:

My question in all this ranting, is there a way to modify spamcop's service

so it will work with email re-directs?  Forwarding doesn't work by it self.

You have to view the source, copy it and past it in the forwarded message

for it to work.  Which is the normal way.  But it's also tedious when

you're reporting butt loads of spam.

Link to comment
Share on other sites

You 'thnk' that this is a 'New Featre Request' ..... It is not.

This is actually a 'Reporting Issue' .. that Forum section to which this will be moved wth this post (and yes, that's after some personal debate about sending it to the Lounge, Geek Software issues, among others ... again, it has come up so many times, in so many guises ..)

The "automatic reporting" is the first hurdle .. so many folks have done this .. then decided to go the next step and "automatically handle the 'submit the reports'" part of the process also ... then the next thing seen is "Why was my account cancelled?" .... So in general, discussions about "automatic reporting" here are usually short-lived.

The parser does what it does for lots of reasons .. one of the basic tenets is that the user must submit his/her spam correctly ... which, as you've noted, your tools and scripts aren't doing. Problem seen, noted, and identified.

On the other hand, there are a number of other folks that have been there before you, made their code available. Data found 'here' .. in the SpamCop FAQ .. and elsewhere "on the net" ....

As I do not wish to be a contributor to the "Why was my account closed?" situation, that's as far as I'm going to go.

Link to comment
Share on other sites

is there a way to modify spamcop's service so it will work with email re-directs?
The straight answer to your question is... No.

Redirecting a message alters the headers and doesn't put the spam inside the submission email. Forwarding or "forward as attachment" is the way to go.

SpamCop is looking *inside* the submit email for the full headers in one contiguous block of text, followed by a blank line, which signals the end of the headers, and then followed by the body text of the spam.

When you "redirect" a spam to your 'submit' address, it's as if the spammer sent it directly to us. That won't work.

- Don D'Minion - SpamCop Admin -

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...