Doors and windows in the rain

Drainage & waterproofing

Question

Doors and windows in the rain

Doors and windows: what needs to be done so rain water does not pool or flow in? Are drain holes needed?