The chemical reactions and pathways involving homogalacturonan, a pectin characterized by a backbone of alpha-(1->4)-linked D-galacturonic acid residues that can be methyl-esterified at C-6 and carry acetyl groups on O-2 and O-3.