Esfandiar Rahim Mashaie is in detention without specifying any reason why he is being held
By ruling himself out, he has removed one potentially serious challenger to President Rouhani's bid for a second term
Ahmadinejad has recently made numerous public appearances, leading to speculation that he was planning a comeback