The fungus Ustilago maydis secretes many effector proteins to cause disease in maize. Here, Ma et al. show that the repetitive effector Rsp3 is required for virulence by inhibiting the antifungal activity of two mannose-binding proteins that are secreted by the plant cells.