To prevent the spam or anonymous using your domain email :
1.Open the Exchange Management Console and go to Server Configuration - Hub Transport and create a new Receive Connector.
3. Go to Authentication tab and tick Transport Layer Security (TLS) and Externally Secured.
4. Go to Persmission Group tab and tick Exchange servers only and then click Apply and Ok.