I'd prefer they knock because the doorbell drives the dog batshit crazy. She'll even run to the door, barking her fool head off, when she hears a doorbell on TV.
I like the way the UPS drivers handle the situation. Drop the package on the shelf by the door, give two short raps, and exit my property. No fuss, no muss.