MyD88 signaling in T cells directs IgA-mediated control of the microbiota to promote health.