#2155 SpamCop plugin web-based form reporting broken


When attempting to submit spam using the SpamCop plugin
using the web-based form method, SpamCop returns with
an error:
No userid found, sorry.

I suspect that SpamCop no longer accepts the input name
"code" as used in:

input type="hidden" name="code"
value="MyReportigCodeHere" /

SpamCop does offer HTTP basic auth by using the URL

In my experiments, when I changed the form post action
to http://members.spamcop.net/sc, I got a login box.
Once authenticated using my spamcop username and
password, I was able to successfully submit the spam.
Subsequent spams submitted did not ask for authentication.

My suggested fix would be to change the plugin to ask
for your spamcop username and password and pass that
information as HTTP basic auth to
members.spamcop.net/sc when using web based reporting.

While e-mail based reporting works as is, I would
change the options page to only require the
authorization code to be entered if e-mail based
reporting is chosen.

To prevent confusion, you may want to just change the
authorization code blank to the e-mail address that
SpamCop wants your reports submitted to (as SpamCop
doesn't specifically tell you what your "authorization
code" is. It just tells you the e-mail address (that
includes your authorization code) that you should
submits spams to. This may be a less desireable
solution for backwards compatibility to existing
configurations, but thought I might suggest it.


  • Tomas Kuliavas

    Tomas Kuliavas - 2006-07-10
    • assigned_to: nobody --> tokul
  • Tomas Kuliavas

    Tomas Kuliavas - 2006-07-13

    Logged In: YES

    Fixed in 1.4.8cvs and 1.5.2cvs.

  • Tomas Kuliavas

    Tomas Kuliavas - 2006-07-13
    • status: open --> closed-fixed

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

No, thanks