A mail relay (MTA) is software that sends mail messages from one point or computer to another. A mail server that uses an MTA should have a filter in place so the mail server isn't used by spammers. An MTA handles both the client sending and server receiving portions of the Simple Mail Transfer Protocol (SMTP). DNS associates a mail server to a domain with MX resource records.