Exhaust leak

Set the manifold in question on a nice flat surface such as a table saw table, a piece of glass or anything else that would be true. Measure any gap with a feeler gauge to determine how far it is out. If not super bad, a machine shop should be able to grind it true, still maintaining the installation geometry.
Thank you