Airway bacteria drive a progressive COPD-like phenotype in mice with polymeric immunoglobulin receptor deficiency. Here, MPIG6B is linked to chronic obstructive pulmonary disease.