Ethics Of Greeting In Islam

Greeting in Islam is a duty of every Muslim and a great mercy of the Almighty, as it enhances love and respect in society. Muslims greet each other with the words «Esselamu alaykum», which means «Peace be upon you». Is it permissible to greet non-Muslims in this form? And in what cases is it forbidden to give salam?