>it seems like post offices are really only searching packages when they already have some reason to be suspicious
This is not the case. It's a very heavy ymmv sort of situation. Eg, a post office I lived close to would scan 1 in 10 packages of mail through an xray, including random letters. They had a system that would randomly select from the line.
However, when it comes to USPS a warrent needs to be had to open the letter. Because of this if mail is caught with drugs in it, or suspected, from an x-ray, the mail suddenly gets "lost", because it's cheaper and easier than filing warrants all day. Especially given that the DEA cares about the seller far more than the buyer. If the package is large, but not like massively large, they might go out of their way to file a warrant and give a "love letter", where instead of the mail being delivered, instead a letter is delivered that says, "We know what you're up to. Knock it off." (paragraphrasing ofc)
Because they want the seller, and because anyone can frame anyone else by mailing them drugs anonymously, I've not heard of a case where someone who has receiving drugs by mail who has gotten arrested, with two exceptions: 1) Massively large packages, like multiple huge boxes or barrels worth. 2) I have seen a falling out where someones friend reported them for buying drugs online, and an arrest was carried out then, but due to the potential for abuse, the DEA leaves the buyers alone.