I've read that a peroxide bath and UV lamp will clean up yellowed plastics so probably should work for posts also.
The process is to but them into a clear container or clip lock bag with the peroxide and then either use a UV lamp or put them out in the sun for a couple of days.
I'm not sure if it affects the strength of them or not but certainly worth trying if they're only going to end up in the bin anyway.