The redox state regulates the conformation of Rv2466c to activate the antitubercular prodrug TP053.