They are glued

The first is performed by the device of special rubberized gaskets around the entire perimeter of the box. They are sold in construction stores and are flexible stripes of rectangular or oval section, with an adhesive base. They are glued in such a way that when closing the door leaf, the maximum seal of the through slots is provided.