A secondary metabolite drives intraspecies antagonism in a gut symbiont that is inhibited by cell-wall acetylation.