Theoretically, if the editor of the DNS to create an MX record to specify the localhost as the mail handler, mail and spam from the outside just won't come.
Practically, your sites can send mail, and letter-mistakes will fall in these bins.
And neadkvaten spammers can send mail directly via the A-records i.e. the same server that serves the website.