Fitting with thread for flue