In the last two posts, we’ve talked about how email is handled in DNS. It’s an important first step, you can’t send email if you don’t know where it’s going to go. Now we’re going to talk about two parts of the email system called the MUA and MTA.
The MUA is the Mail User Agent. How’s that for a boring term? It means that program you (the user) are using to send and read email. That page in your web browser, that application on your phone, whatever you’re using, that’s called a MUA. I’ll list a few examples:
- elm (REALLY OLD)
- pine (Not as old as elm, but OLD)
- outlook (Microsoft’s flagship!)
- your web browser of choice
- thunderbird (OLD)
- mail (aka that app on your Mac)
That’s just a few of the programs that can send and read email. Your system doesn’t actually receive it though, that’s the job of the MTA. Your MUA doesn’t do the real job of sending it either, it hands that off to the MTA as well.
So what’s an MTA? An MTA is a Mail Transfer Agent. It’s the computer program that actually sends and receives your email. You don’t see it work, it’s like when you send your email you drop it into a box:
the MTA picks it up and sends it along, like a postman:
And it lands in the other person’s Inbox:
Of course, that’s not what your inbox looks like, but it’s a pretty picture. Your inbox is actually a file whose format depends on the MTA and most MTAs have their own format.
There’s many different MTAs available. Your system uses whatever the system administrator set up, so you don’t have to worry about it. A few of them are:
- sendmail (one of the originals!)
- exim (not as old as sendmail)
- qmail (older than exim but not as old as sendmail)
You don’t have to worry about the set up and management of these systems, someone else does that. If you want to learn, there’s books (and books and books) on the subject.