In that case a condensation trap may need to be fitted to the ducting to prevent the water running back down into the fan, but you will need to work out where to pipe the collected water. Also, by using insulated ducting it can help prevent condensation forming in the first place.