Drip rail sealer

Just about any good quality, medium bodied, paintable, automotive, seam sealer will work.

3M, SEM, are 2 good brands.