Coating or impregnation contains an epoxy polymer or copolymer or polyether