[Tech] Clean up link spam on your site

Daniel Melnechuk isis at isisdesign.com
Sat Apr 19 00:22:22 EDT 2008


From:

	http://plone.org/documentation/how-to/clean-up-link-spam-on-your-site

Instructions
Here's how to check if you have been hit by the spammers, and remove  
the bogus content if it exists:

Upgrade to at least Plone 2.1.4 or Plone 2.5.1.
Make sure the server is restarted, so you run the latest version.
Go to Site Setup and check that the version string at the bottom says  
2.1.4 or 2.5.1. Also check that it says that PIL is successfully  
installed. This is very important, the clean-up script and the  
blocking of future spam attempts relies on PIL being installed properly.
Click the Zope Management Interface link.
Locate the link portal_membership (not portal_memberdata).
Click the Portraits tab.
Click the Remove Bad Portraits button. This will search through the  
user portraits and look for content that is not an image, and remove it.
If there were any bad user portraits found, you will now get a list  
of the users that had their portrait removed, with an option to  
delete their user accounts. Only do this if you are sure that they  
are not legitimate users.
You have now removed the bad user portraits (and optionally the user  
accounts), and you are also protected against this happening in the  
future.



More information about the Tech mailing list