I tried this and it works. Not sure that its the intended use but I haven't found anything better, not to say that there is not something better.
My car was built May 2003 and i started to notice a problem with the trim after only a few months of summer weather.
Zymol Seal
Edit: Are you talking about the rubber trim? Thats what I was thinking.