They do police package contents to a degree, but only for actual crimes. Postal spam isn't a crime (and probably shouldn't be, as much as I'd like to get rid of the spam).
They do police package contents, pretty heavily even. They allow spam (presorted bulk mail in post office terms) because the spammers have a strong lobby.