Difference between revisions of "Mail server"
(→Functions) |
|||
Line 1: | Line 1: | ||
− | A [[mail server]] (hereinafter, the ''Server'') is any digital construct that is located in a computer network under its distinguishable [[hostname]] in order to accept, analyze, adjust, clarify, and transfer [[email|electronic mail message]]s (or, simply, [[email]]s) from [[ | + | A [[mail server]] (hereinafter, the ''Server'') is any digital construct that is located in a computer network under its distinguishable [[hostname]] in order to accept, analyze, adjust, clarify, and transfer [[email|electronic mail message]]s (or, simply, [[email]]s) from [[email client]]s to [[mail exchanger]]s ([[mail exchanger|MX host]]s) and vice versa. |
− | The ''Server'' can also refer to [[mail server software]]. More broadly, [[email software]] may refer to all the software utilized for [[ | + | The ''Server'' can also refer to [[mail server software]]. More broadly, [[email software]] may refer to all the software utilized for [[email client]]s, the ''Servers'', or [[mail exchanger]]s. |
Line 9: | Line 9: | ||
:To communicate with: | :To communicate with: | ||
#[[Mail exchanger]]s, all the ''Servers'' use the [[Simple Mail Transfer Protocol]] ([[Simple Mail Transfer Protocol|SMTP]]). | #[[Mail exchanger]]s, all the ''Servers'' use the [[Simple Mail Transfer Protocol]] ([[Simple Mail Transfer Protocol|SMTP]]). | ||
− | #[[ | + | #[[Email client]]s, the ''Servers'' use a variety of protocols, most commonly, [[POP3]] and/or [[IMAP]]. |
===Functions=== | ===Functions=== | ||
:With regard to: | :With regard to: | ||
:*'''Outgoing''' messages, the ''Servers'' may be designed to: | :*'''Outgoing''' messages, the ''Servers'' may be designed to: | ||
− | :*#Accept messages from [[ | + | :*#Accept messages from [[email client]]s. |
:*#Analyze messages looking for their inconsistencies and/or missing data. | :*#Analyze messages looking for their inconsistencies and/or missing data. | ||
:*#Adjust messages while correcting inconsistencies and/or adding the missing data. | :*#Adjust messages while correcting inconsistencies and/or adding the missing data. | ||
Line 21: | Line 21: | ||
:*#Accept messages from [[mail exchanger]]s. | :*#Accept messages from [[mail exchanger]]s. | ||
:*#Analyze messages looking for their inconsistencies and/or missing data. | :*#Analyze messages looking for their inconsistencies and/or missing data. | ||
− | :*#Add information about the found inconsistencies and/or missing data to the messages. This information may further be used by [[ | + | :*#Add information about the found inconsistencies and/or missing data to the messages. This information may further be used by [[email client]]s to combat spam. |
− | :*#Transfer messages to [[ | + | :*#Transfer messages to [[email client]]s. |
===Hosting=== | ===Hosting=== | ||
− | :To communicate with [[ | + | :To communicate with [[email client]]s and [[mail exchanger]]s, the ''Servers'' shall be located between those two. |
− | :#'''[[ | + | :#'''[[Email client]]s''' are hosted at either: |
:#*End-user devices such as a mail app on a cell phone; or | :#*End-user devices such as a mail app on a cell phone; or | ||
:#*Mail service provider such as [[Gmail]] locations. | :#*Mail service provider such as [[Gmail]] locations. | ||
− | :#'''The ''Servers''''' are hosted by local computing devices that are connected to the [[Internet]]. On the one side, they can be colocated with [[ | + | :#'''The ''Servers''''' are hosted by local computing devices that are connected to the [[Internet]]. On the one side, they can be colocated with [[email client]]s, especially if the [[email client]] is hosted by a mail service provider. On another side, the ''Server'' can can colocated with [[mail exchanger]]s when the mail service provider is an [[Internet service provider]] ([[Internet service provider|ISP]]). [[Unix]]-based [[operating system]]s include the ''Server'' in their bundles, so do some [[end-user application]]s such as [[MediaWiki]], [[Moodle]], and [[Redmine]]. At the same time, the ''Servers'' can also be hosted separately from [[email client]]s and [[mail exchanger]]s. |
:#'''[[Mail exchanger]]s''' are hosted by [[Internet service provider]]s ([[Internet service provider|ISP]]s), who also run [[DNS resolver]]s, which provide [[mail exchanger]]s with [[DNS record]]s. | :#'''[[Mail exchanger]]s''' are hosted by [[Internet service provider]]s ([[Internet service provider|ISP]]s), who also run [[DNS resolver]]s, which provide [[mail exchanger]]s with [[DNS record]]s. | ||
===Agents=== | ===Agents=== | ||
− | :*'''[[Mail submission agent]]''' (also known as [[outgoing mail server]], [[message submission agent]] or by its acronym [[MSA]]), which is a [[computer application]] used to accept, analyze, correct, and send [[email]]s that end-users enter into their [[ | + | :*'''[[Mail submission agent]]''' (also known as [[outgoing mail server]], [[message submission agent]] or by its acronym [[MSA]]), which is a [[computer application]] used to accept, analyze, correct, and send [[email]]s that end-users enter into their [[email client]]s; |
:*'''[[Mail transfer agent]]''' (also known as [[message transfer agent]] or by its acronym [[MTA]]), which is a [[computer application]] used to transfer [[email]]s between computers; | :*'''[[Mail transfer agent]]''' (also known as [[message transfer agent]] or by its acronym [[MTA]]), which is a [[computer application]] used to transfer [[email]]s between computers; | ||
− | :*'''[[Mail delivery agent]]''' (also known as [[incoming mail server]], [[message delivery agent]] or by its acronym [[MDA]]), which is a [[computer application]] used to deliver an [[email]] to its recipient's [[ | + | :*'''[[Mail delivery agent]]''' (also known as [[incoming mail server]], [[message delivery agent]] or by its acronym [[MDA]]), which is a [[computer application]] used to deliver an [[email]] to its recipient's [[email client]]. |
==Best practices== | ==Best practices== |
Revision as of 04:19, 25 June 2019
A mail server (hereinafter, the Server) is any digital construct that is located in a computer network under its distinguishable hostname in order to accept, analyze, adjust, clarify, and transfer electronic mail messages (or, simply, emails) from email clients to mail exchangers (MX hosts) and vice versa.
The Server can also refer to mail server software. More broadly, email software may refer to all the software utilized for email clients, the Servers, or mail exchangers.
Features
Protocols
- To communicate with:
- Mail exchangers, all the Servers use the Simple Mail Transfer Protocol (SMTP).
- Email clients, the Servers use a variety of protocols, most commonly, POP3 and/or IMAP.
Functions
- With regard to:
- Outgoing messages, the Servers may be designed to:
- Accept messages from email clients.
- Analyze messages looking for their inconsistencies and/or missing data.
- Adjust messages while correcting inconsistencies and/or adding the missing data.
- Transfer messages to mail exchangers.
- Incoming messages, the Servers may be designed to:
- Accept messages from mail exchangers.
- Analyze messages looking for their inconsistencies and/or missing data.
- Add information about the found inconsistencies and/or missing data to the messages. This information may further be used by email clients to combat spam.
- Transfer messages to email clients.
- Outgoing messages, the Servers may be designed to:
Hosting
- To communicate with email clients and mail exchangers, the Servers shall be located between those two.
- Email clients are hosted at either:
- End-user devices such as a mail app on a cell phone; or
- Mail service provider such as Gmail locations.
- The Servers are hosted by local computing devices that are connected to the Internet. On the one side, they can be colocated with email clients, especially if the email client is hosted by a mail service provider. On another side, the Server can can colocated with mail exchangers when the mail service provider is an Internet service provider (ISP). Unix-based operating systems include the Server in their bundles, so do some end-user applications such as MediaWiki, Moodle, and Redmine. At the same time, the Servers can also be hosted separately from email clients and mail exchangers.
- Mail exchangers are hosted by Internet service providers (ISPs), who also run DNS resolvers, which provide mail exchangers with DNS records.
- Email clients are hosted at either:
Agents
- Mail submission agent (also known as outgoing mail server, message submission agent or by its acronym MSA), which is a computer application used to accept, analyze, correct, and send emails that end-users enter into their email clients;
- Mail transfer agent (also known as message transfer agent or by its acronym MTA), which is a computer application used to transfer emails between computers;
- Mail delivery agent (also known as incoming mail server, message delivery agent or by its acronym MDA), which is a computer application used to deliver an email to its recipient's email client.
Best practices
- https://skrilnetz.net/setup-your-own-mailserver/
- https://www.linuxbabe.com/mail-server/block-email-spam-postfix
- https://manuals.gfi.com/en/kerio/connect/content/server-configuration/mail-delivery-and-dns-records/essential-dns-records-for-mail-delivery-and-spam-protection-1223.html
- https://www.cyberpunk.rs/mail-server-setup-postfix