I overthink the smile. I’m a little too hesitant on doling it out because I have this whole thought process that rattles in my head. Do I know the person? How familiar am I with this person? What will the person think if I smile? Are we on friendly terms? Will they even notice me? By that time, we have usually passed each other and the moment is gone.
Just FYI – smile and quit thinking about it.