DEPARTMENT OF COMPUTING

SMTP Intro


Simple Mail Transfer Protocol


Simple Mail Transfer Protocol Terms


Simple Mail Transfer Protocol Terms


Simple Mail Transfer Protocol Terms


Simple Mail Transfer Protocol Terms


Simple Mail Transfer Protocol Steps

Sending message to bob@thegummibear.com


Simple Mail Transfer Protocol Steps

Receiving message from alice@zero.cs.utahtech.edu


Our setup


SMTP MTA-Outgoing


SMTP MTA-Incoming


How will we set it up?


Setup outline


My Configuration


My Configuration


Spam prevention

Many email providers (such as gmail) will not recieve an email from a domain such as ours unless the email can be authenticated as coming from our server. At least one way to do this is by utilizing the SPF.


Sender Policy Framework (SPF)

SPF is a standard email authentication method. SPF helps protect your domain against spoofing, and helps prevent your outgoing messages from being marked as spam by receiving servers. SPF specifies the mail servers that are allowed to send email for your domain. Receiving mail servers use SPF to verify that incoming messages that appear to come from your domain were sent by servers authorized by you.


Sender Policy Framework (SPF)

Essentially we need to add a line like the following to our zone file:

@ IN TXT “v=spf1 mx ip4:144.38.192.231 a:stumail.cs.utahtech.edu ~all” mail IN TXT “v=spf1 mx ip4:144.38.192.231 a:stumail.cs.utahtech.edu ~all”

Allows email from our domain coming from our mx server, that ip, or stumail.

Other fields are explained here

Last Updated 08/09/2023