Sealing your attic ... insulation back into place, build a metal dam to keep it away from the pipe. Use this same technique for masonry chimneys. Cut aluminum flashing to fit around the flue.