SecY-mediated quality control prevents the translocation of non-gated porins