How can I seal an old chimney if there are retrofit plumbing pipes running through it?

seal an old chimney

seal an old chimney