Multiple people were injured in a shooting at a post office in Iowa, and a suspect has been detained, authorities said.