Cast iron sewer pipe fittings

You can seal it, but you will be doing it again elsewhere in a year. I have a cast iron section in the scrap pile right now that looks like it was cut with a laser. Has a slight slope in the line and a running toilet kept it wet for years.... And it rusted right through.