how can i stop by receiving mail whose sender and receiver are my local users and they are not generated from my mail-server ?

and how can i set the server to delete such mails automatically rather than deferring them?