http://www.surbl.org/faqs#redirect BTW, this page mentions SpamCopURI and urirhdbl as existing tools that handle redirection to some degree. Have you confirmed that you are not needlessly reinventing the wheel? It is entirely possible that your design with suggestions here could be better than the existing tools, but it might be worthwhile to look at the existing tools to see if they have useful ideas to borrow.
Warren