#4483 Python stopforum spam for Ask
Closed: Fixed None Opened 8 years ago by ankursinha.

This is a tracker ticket. This is what needs to be done, first to staging and once we confirm that it works, for production:

  • settings.py needs to be modified - I've done this for staging in [master c44102d]
  • the nfs playbook needs to be updated to include stopforumspam once it's available in EL6. I've filed a package change request and installed it manually on staging for the time being.
  • the nfs playbook needs to be updated to include a cron job to updated the ip lists

I think that's all. I'll update the ticket if there's anything else.


  • settings.py needs to be modified - I've done this for staging in [master c44102d]
  • the playbook needs to be updated to include stopforumspam once it's available in EL6. I've filed a package change request and installed it manually on staging for the time being.
  • the playbook needs to be updated to include a cron job to updated the ip lists

I don't know why I've written "nfs playbook" everywhere.

Does it all seem to work in staging?

Is there some way to test it/tell that it's working there?

Replying to [comment:2 kevin]:

Does it all seem to work in staging?

I'm not really sure. I haven't had any denials yet. I've modified settings.py to set the logging level to debug, but I haven't caught any check messages in the logs yet. I think it only logs when it catches spam, not general debug messages, which makes it tougher to see if it's working.

Is there some way to test it/tell that it's working there?

I've tried to include my IP in this setting and check: https://github.com/benjaoming/django-stopforumspam/blob/master/stopforumspam/settings.py#L17 It hasn't done anything yet. I think I'll have to contact upstream to ask what "FORCE_ALL_REQUESTS" is supposed to do (https://github.com/benjaoming/django-stopforumspam/blob/master/stopforumspam/settings.py#L23). The comment says it's for testing.

I've done this by modifying the settings.py file. I don't know if it'll be any different from the django admin interface. Maybe it's worth a look? I don't think I have access to the web admin interface.
http://stopforumspam.com/forum/viewtopic.php?id=3236

We also need to check if the code addition for the proxy thing actually works :)

This doesn't seem to work and we are using the new moderation features in 0.7.51, so I am going to close this out now. Re-open if there's something more to be done.

Login to comment on this ticket.

Metadata