An email mailbox (also email box, e-mailbox) is the equivalent of a letter box for electronic mail, it is where electronic mail messages are delivered.
Contents |
Definitions
A mailbox can be identified by an email address. However, not all email addresses correspond to a physical storage location. The term pseudo-mailbox is sometimes used to refer to an address that does not correspond to a definitive end user. Email forwarding may be applied to reach end recipients from such addresses. Electronic mailing lists and email aliases are typical examples.
RFC 5321[1], defines an email address as a character string that identifies a user to whom mail will be sent or a location into which mail will be deposited. The term mailbox refers to that depository. In that sense the terms mailbox and address can be used interchangeably.
RFC 5322 features a slightly different usage. It mentions:[2] A mailbox receives mail. It is a 'conceptual entity' that does not necessarily pertain to file storage. It further exemplifies that some sites may choose to print mail on a printer and deliver the output to the addressee's desk, much like a traditional fax transmission.
Access
An Email client retrieves messages from one or more mailboxes. The database (file, directory, storage system) in which the client stores the messages is called the local mailbox.
Popular protocols to retrieve messages are:
- Post Office Protocol: a client-server method that is most suitable for reading messages from a single client computer because message are removed from the server mailbox after first retrieval.
- Internet Message Access Protocol: designed to retrieve messages from multiple clients by allowing remote management of the server mailbox by keeping master copies of messages on the server but can save a copy in the local mailbox.
Web-based clients exist that retrieve messages from the server on behalf of the website user and display them to the user in a suitable format in a web browser.
Storage format
Any kind of database can be used to store email messages. However, some standardization has resulted in several well-known file formats to allow access to a given mailbox by different computer programs. There are two kinds of widely used formats:
- mbox is the original technique of storing all messages in a single file,
- Maildir is a newer specification that provides for storing all messages in a directory tree, with one file for each message.
Mailbox Names
Valid Characters in Mailbox Names
The mail handling infrastructure may not operate correctly, if a mailbox containing invalid characters is used. The names used for mailboxes should be alphanumeric only and should not contain whitespace or symbol characters.
Reserved Names
The mail handling infrastructure may not operate correctly, if a reserved mailbox name is used[3]. The following names are reserved and use internally by various mail handling applications and should not be used for mailbox names:
- cur
- default
- Discard
- DRAFTS
- INBOX
- IMAP
- Junk
- Junkmail
- mbox
- mail.txt
- new
- SENT
- SPAM
- Spam
- tmp
- TRASH
References
- ^ RFC 5321, Simple Mail Transfer Protocol, J. Klensin, The Internet Society (October 2008), Section 2.3.11 (Mailbox and Address)
- ^ RFC 5322, Internet Message Format, P. Resnick (Ed.), The Internet Society (October 2008), Section 3.4 (Address Specification)
- ^ The procmail quickstart guide:Notes about mailbox names
This entry is from Wikipedia, the leading user-contributed encyclopedia. It may not have been reviewed by professional editors (see full disclaimer)




