Drain fittings for washbasins and bidets