Is the boiler only pitting at the water line? If it is, then that's likely from sitting out of service for extended periods, with water in the boiler. The upper layer of boiler water absorbs oxygen from the atmosphere, and that causes the pitting. If the steam isn't required for a couple of weeks or longer, he should probably dump the water, open the manhole/handholes, flush the boiler out with a hose, and let it sit open and dry. If it's pitting kind of all over, then that's likely from makeup water that's full of oxygen being fed to the boiler. That means that some condensate isn't making it back - either at all, or that the condensate lines are old & clogged, slowing the condensate's return to the point where the make-up kicks in.
Pitting in the return lines is usually due to vacuum breakers operating at the end of the steam cycle, admitting air. You need this to happen though, condensate won't drain properly, and that causes another whole range of problems. If the return line corrosion appears as general wasting below the normal operating line (about half full of condensate), then that's pH related. Again, make-up water is the culprit. Alkalinity in the make-up water breaks down into carbon dioxide in the boiler, and this gets carried out with the steam. It dissolves in the condensate, and drops the pH, resulting in general metal loss.