Well, ya did yourself a favor there, Pepe.
Actually, it's not an overflow valve. It's your T+P. (temperature and pressure relief valve).
This valve releases water if the temp. and/or pressure gets too high. It's what keeps your heater from becoming a bomb. If they release, you have a problem...