While urine is the most common form of "communication", when dogs poop, pressure against the glands of either side of their anus can cause glands to dismiss a musky scent on their poop.
Dogs also explicit their anal glands when scared, so sometimes, poop can alert other Dogs of danger.