To me it means this. A happy dog probably won't bite; it wants company - someone to play with. An overly happy dog, according to the comic, definitely will bite; it wants something to play with. It sees you as its toy. Attack! That's why the letter carrier says, "Never trust a dog that smiles like that."
All the best.
Student or Learner