A new study reveals that the effects of smoking on the immune system can last for years after quitting.