LinkedIn: How to Stop Receiving InMail

You can turn this feature off

Premium LinkedIn members have the ability to send other users InMail (direct messages) on the professional social network, even if they’re not connected to them. However, did you know that you can turn this setting off on your account so that you no longer receive InMail messages? Our guide will show you how this is done.