You’re free to reject an InMail, but it is not recommended since it will halt all future conversations with the sender, which can even translate into missed opportunities.