On Fri, 17 Sep 2010 14:11:41 +0100 Steve Freegard <st...@stevefreegard.com> wrote:
> Hi All, > > Recently I've been getting a bit of filter-bleed from a bunch of > spams injected via Hotmail/Yahoo that contain shortened URLs e.g. > bit.ly/foo that upon closer inspection would have been rejected with > a high score if the real URL had been used. > > To that end - it annoyed me enough to write a plug-in that decodes > the shortened URL using an HTTP HEAD request to extract the location > header sent by the shortening service and to put this into the list > of extracted URIs for other plug-ins to find (such as URIDNSBL). > I think it might be better to take the "blocked page" handling out of the perl and turn it into an ordinary uri rule.