I have an aftermarket elec sunroof. Ever couple of years take it to an installer and have them clean out the drains (yes there are drains). Costs a few bucks and the roof will not leak.