Rewiring of one carbon metabolism in Salmonella serves as an excellent live vaccine against systemic salmonellosis.