Bug 6085 - Report to KnujOn
Summary: Report to KnujOn
Status: RESOLVED WONTFIX
Alias: None
Product: Spamassassin
Classification: Unclassified
Component: spamassassin (show other bugs)
Version: unspecified
Hardware: All All
: P5 enhancement
Target Milestone: Undefined
Assignee: SpamAssassin Developer Mailing List
URL: http://www.knujon.com/knujon.html
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-03-13 07:59 UTC by Adam Katz
Modified: 2019-06-24 15:51 UTC (History)
7 users (show)



Attachment Type Modified Status Actions Submitter/CLA Status
KnujOn's Summary of their increased influence on the ICANN text/plain None Adam Katz [HasCLA]

Note You need to log in before you can comment on or make changes to this bug.
Description Adam Katz 2009-03-13 07:59:13 UTC
Created attachment 4438 [details]
KnujOn's Summary of their increased influence on the ICANN

SA already reports to DCC, Pyzor, Razor, and SpamCop (via plugins ... feel free to change this bug to the Plugins category if that's best).  KnujOn is a newer but extremely well-established reporting agency with increasing power when it comes to stopping spam at its source.

Rather than populating blacklists the way the aforementioned four reporting agencies do, KnujOn (like SpamCop) reports spamming incidents to the upstream network administrators.  Beyond that (unlike SpamCop), they go up higher and attempt to nail the top spam offenders at the ICANN level, recommending revoking of offenders' access to the internet for their abuse (rampant spam from their customers) -- their website currently boasts "Results: 79,500 site shutdowns (33,671 pending)."

Today, they announced "KnujOn is now an At-Large advisor to ICANN which means we can help shape policy" (see attachment).  This means they're here to stay, and they're a major player to be reckoned with.

Last month, KnujOn's second annual top-ten list for spam offending registrars made the headlines, e.g. http://it.slashdot.org/article.pl?sid=09/02/06/162247 showing a striking level of impact on the spamming community.  Summarizing why two of the 2008 offenders were absent from the 2009 list, KnujOn reported "they were basically told to clean up their operation or risk loosing accreditation which would effectively take them out of the domain industry. From what we've been told by ICANN they took the notices very seriously and made changes to their operation."

The SpamAssassin community needs to lend KnujOn a hand (and we have big hands!).  Unlike something that might be "just another blacklist," KnujOn provides a service that will actually reduce the volume of mail we have to chunk through.
Comment 1 Justin Mason 2009-03-13 08:39:51 UTC
sure!  sounds like a good idea to me, if KnujOn are amenable to receiving reports from the SA user population.

btw are you speaking on behalf of KnujOn here, or just as a concerned citizen?

finally -- the lack of code for a plugin that implements this would be the main barrier to inclusion ;)
Comment 2 Adam Katz 2009-03-13 11:13:26 UTC
Hmm, that does kind of read like I'm representing KnujOn ... oops.  I'm a concerned citizen (who happens to spend far too much time tweaking his company's spam filters).

I sent an email to the KnujOn people referring them here so they can work with whomever is implementing this.  I suspect it will look very similar to the SpamCop plugin and can probably start as a fork of it.
Comment 3 kd6lvw+software 2010-08-16 03:55:55 UTC
I am for the idea in concept (and actually do report "excessively spammy" messages to Knujon), but modifying SA to do this directly may not be the best way to do it, nor is it how I do it.  If the SA community does wish to modify SA to do this directly, then I suggest that it allow an adminstrator to specify a [LOCAL] virtual mailbox with which to deliver the spam.  That mailbox may be expanded or aliased (e.g. sendmail's aliases file, or via mailing list software) to deliver to more than one spam collecting service.

The above is what I do at my system.  I call SA via the MIMEDefang package using the latter's "filter_end()" hook.  Depending on the actual score SA reports, I progressively add more reporting-service mailboxes via the "add_recipient()" function.  Knujon's mailbox is one of those aliased to one of 4 levels of reporting, including a routine that looks up the envelope sender's domain at "abuse.net" to retrieve the abuse mailboxes.  (Either there was no SPF or DK/DKIM records, or those records passed in order to get this far -- so I'm either reporting spam that has NOT been forged, or spam where the domain used doesn't care to protect itself against forgery.)  NONE of this requires any modification to SpamAssassin, so modification is technically unnecessary.

Therefore, if I had a "vote" in the matter, I vote NO.  This can be done without modification to SA -- and let's keep SA simple and efficient.
Comment 4 Giampaolo Tomassoni 2010-08-16 04:48:58 UTC
Is there any difference in reporting to KnujOn with respect to SpamCop? I mean, differences in the reporting algorithms/protocols, not in the net effects.

DCC, Pyzor and Razor report message hashes to their own engines. These hashes are computed and reported in different ways, so that it is reasonable to me they have their own report handling methods.

The SpamCop plugin instead envelopes and ships the first spamcop_max_report_size kbytes of the reported message to a specified mailbox address. This plugin is actually used only for reporting.

So, isn't it suitable for reporting to KnujOn, too?

If yes, wouldn't it be better to renate/alias the SpamCop plugin with a more general way, instead of adding yet another message reporting plugin?
Comment 5 Giampaolo Tomassoni 2010-08-16 04:49:32 UTC
Is there any difference in reporting to KnujOn with respect to SpamCop? I mean, differences in the reporting algorithms/protocols, not in the net effects.

DCC, Pyzor and Razor report message hashes to their own engines. These hashes are computed and reported in different ways, so that it is reasonable to me they have their own report handling methods.

The SpamCop plugin instead envelopes and ships the first spamcop_max_report_size kbytes of the reported message to a specified mailbox address. This plugin is actually used only for reporting.

So, isn't it suitable for reporting to KnujOn, too?

If yes, wouldn't it be better to rename/alias the SpamCop plugin with a more general way, instead of adding yet another message reporting plugin?
Comment 6 J.D. Falk 2010-08-16 19:39:14 UTC
(In reply to comment #5)

> If yes, wouldn't it be better to rename/alias the SpamCop plugin with a more
> general way, instead of adding yet another message reporting plugin?

KnujOn has (quite deservedly) been getting headlines for their work over the past few years, but they're far from the only anti-spam project seeking spam reports -- not to mention law enforcement agencies in many jurisdictions, and often your local sysadmin.

A generic plug-in with configurable recipients (and a warning not to ever forward spam reports to anyone without asking them first) would indeed seem like the most scalable and balanced option.
Comment 7 Giampaolo Tomassoni 2010-08-18 04:17:33 UTC
(In reply to comment #6)
> A generic plug-in with configurable recipients (and a warning not to ever
> forward spam reports to anyone without asking them first) would indeed seem
> like the most scalable and balanced option.

I agree.

I would also suggest to include a per-recipient option to "munge" the spam recipients. SpamCop accounts may be configured to munge recipients. I was unable to understand if KnujOn does or doesn't it by its own, but I figure a lot of possible spam-reporting services don't munge spam recipients.

This is quite an important issue at least in Europe, where (very silly) laws may get an ISP guilty of personal information disclosure if it sends spam verbatim to a non-munging reporting service.
Comment 8 Darxus 2011-04-04 18:47:14 UTC
I think the spamcop plugin will work as is, since it already allows specifying the address to report to, so just:

spamcop_to_address nonregistered@coldrain.net

So the only changes needed would be to allow multiple addresses to report to, so spamcop and knujon can be used at the same time, and probably some renaming.
Comment 9 Darxus 2011-04-04 18:50:58 UTC
Nope, the spamcop plugin is hardcoded to deliver to port 587 (mail submission), and knujon doesn't listen on that port.
Comment 10 Warren Togami 2011-04-04 21:54:58 UTC
I don't know what is KnujOn, but they would be best advised to allow submission on port 587 because it is far more likely to work on most networks while outgoing port 25 is blocked or filtered by default.
Comment 11 D. Stussy 2011-04-05 02:24:41 UTC
Re - Spamcop reporting hardcoded to port 587 (or any hardcoded port)?

Why is that a problem?  The standard URL construct and syntax provides for a port number designation for other than the "standard" port of a particular service for a protocol.  Therefore, a "mailto:" URL should be able to support a port number designation that should be also be understood by a standard MSA.  Whether or not this was specifically done for the mailto URL type will require a review of STD 10 and the various RFCs, and if not specified, it should be added.

As for port 25 being blocked, why would that happen?  If someone is operating an MTA, they will already have port 25 available (incoming), and if port 25 outbound is blocked, they're running an MTA when they shouldn't be (e.g. an ISP customer, especially those with dynamic IP assignments).  Therefore, I don't consider that a problem which needs addressing.

What needs to be checked is this:  Does the current SA construct allow multiple addresses?  If so, then nothing need be changed.  Otherwise, SA must construct a submission list looping through the CSV (comma separated values), delivering a copy to each.  Unfortunately, the local MSA cannot be used - else a recursive operation with no termination may result.
Comment 12 Giampaolo Tomassoni 2011-04-05 04:26:01 UTC
(In reply to comment #9)
> Nope, the spamcop plugin is hardcoded to deliver to port 587 (mail submission),
> and knujon doesn't listen on that port.

Adding something like the "spamcop_report_smtp" setting to the SC plugin (see bug#5402) would probably do the trick as well as fix the problems outlined in that bug.

Then, the only limit I see with the actual SC plugin is that it can be configured to report only to a destination: it can't report both to SC and KnujOn...
Comment 13 Henrik Krohns 2019-06-24 15:51:06 UTC
Closing old stale bugs.

It's dead anyway.

"As of 8 March 2018 the service stopped accepting new subscriptions and email submissions began bouncing. On 22 May 2018 the service was shut down."