This was a second floor washing machine drain pan. I scoured my code books and the internet and could not find anywhere that this was a requirement and I could not find much info on a properly installed drain pan. This pan had a little pipe welded on to it. A hole was drilled in the floor. The pvc ran all the way into the crawlspace. I know it should not drain into the crawlspace but where else would it go? Should it be installed to drain into the homes drainage system? outside?
Should just be removed and repaired.
Drain pans are just that, a pan to catch any incidental minor water leaks that may come about.
Once visible, it gets repaired.
It is not designed for a constant leak and if it were, it would drain to the outside or to a fixture that is already trapped.
Many houses have these kind if issues, so it is always recommended to have a proper home inspection by a certified home inspector before selling and buying a new home.