Question:
How should one deal with the fact that the shulhan aruch says you can’t say hello to a woman and the fact that if you do so in today’s society it will be very insulting? Is there any leeway with this halacha?
Answer:
Since now days saying hello is only a formality, the observance of rules of convention or etiquette, many poskim permit it.
Sources:
Y:D 385:1 Ramo, Chidushey Ritvoh Kiddushin 81a, Pishchey Teshuvah E:H 21:3&4, ibid Ezer Mekodesh