Assuming you have a double skin chimney, I solved that one by filling the space with fire resistant spray insulating foam - about a tenner for a can. You can only use the can once - and I reckon there are several chimneys worth in the can - so maybe share it.
Trim the excess with a knife so it matches the flue pipe on the boat. Charley
