venting dryer into unused lined chimney flue
If you check the dryer installation instructions, you likely will not find any specifications for venting thru the roof. It is generally not recommended. I know my dryer blows a decent amount of lint out the vent. I can't imagine the dryer being able to push the lint out of a 30 foot chimney. I would vent it with rigid duct thru the closest wall.