It's so easy to get preoccupied and not bother to greet people in a gracious and positive way - just due to distraction. Have you ever thought of mindfulness and smiling being intimately connected? Here's a lovely expression of that connection:
What sunshine is to flowers, smiles are to humanity. These are but trifles, to be sure; but, scattered along life's pathway, the good they do is inconceivable.