電子郵件(E-mail),又稱電子函件,是指通過電子通訊系統進行書寫、發送和接收的信件。今天使用的最多的通訊系統是網際網路,同時電子郵件也是網際網路上最受歡迎且最常用到的功能之一。有時會被簡稱為電郵或郵件。
目錄 |
The diagram above shows a typical sequence of events [1] that takes place when Alice composes a message using her mail user agent (MUA). She types in, or selects from an address book, the e-mail address of her correspondent. She hits the "send" button.
This sequence of events applies to the majority of e-mail users. However, there are many alternative possibilities and complications to the e-mail system:
It used to be the case that many MTAs would accept messages for any recipient on the Internet and do their best to deliver them. Such MTAs are called open mail relays. This was important in the early days of the Internet when network connections were unreliable. If an MTA couldn't reach the destination, it could at least deliver it to a relay that was closer to the destination. The relay would have a better chance of delivering the message at a later time. However, this mechanism proved to be exploitable by people sending unsolicited bulk e-mail and as a consequence very few modern MTAs are open mail relays, and many MTAs will not accept messages from open mail relays because such messages are very likely to be spam.
Note that the people, e-mail addresses and domain names in this explanation are fictional: see Alice and Bob.
The format of Internet e-mail messages is defined in RFC 2822 and a series of RFCs, RFC 2045 through RFC 2049, collectively called Multipurpose Internet Mail Extensions (MIME). Although as of July 13 2005 RFC 2822 is technically a proposed IETF standard and the MIME RFCs are draft IETF standards,[2] these documents are the de facto standards for the format of Internet e-mail. Prior to the introduction of RFC 2822 in 2001 the format described by RFC 822 was the de facto standard for Internet e-mail for nearly two decades; it is still the official IETF standard. The IETF reserved the numbers 2821 and 2822 for the updated versions of RFC 821 (SMTP) and RFC 822, honoring the extreme importance of these two RFCs. RFC 822 was published in 1982 and based on the earlier RFC 733.
Internet e-mail messages consist of two major sections:
The header is separated from the body by a blank line.
The message header consists of fields, usually including at least the following:
Each header field has a name and a value. RFC 2822 specifies the precise syntax. Informally, the field name starts in the first character of a line, followed by a ":", followed by the value which is continued on non-null subsequent lines that have a space or tab as their first character. Field names and values are restricted to 7-bit ASCII characters. Non-ASCII values may be represented using MIME encoded words.
Note that the "To" field in the header is not necessarily related to the addresses to which the message is delivered. The actual delivery list is supplied in the SMTP protocol, not extracted from the header content. The "To" field is similar to the greeting at the top of a conventional letter which is delivered according to the address on the outer envelope. Also note that the "From" field does not have to be the real sender of the e-mail message. It is very easy to fake the "From" field and let a message seem to be from any mail address. It is possible to digitally sign e-mail, which is much harder to fake. Some Internet service providers do not relay e-mail claiming to come from a domain not hosted by them, but very few (if any) check to make sure that the person or even e-mail address named in the "From" field is the one associated with the connection. Some Internet service providers apply e-mail authentication systems to e-mail being sent through their MTA to allow other MTAs to detect forged spam that might apparently appear to be from them.
Other common header fields include (see RFC 4021 or RFC 2076 for more):
Many e-mail clients present "Bcc" (Blind carbon copy, recipients not visible in the "To" field) as a header field. Different protocols are used to deal with the "Bcc" field; at times the entire field is removed, whereas other times the field remains but the addresses therein are removed. Addresses added as "Bcc" are only added to the SMTP delivery list, and do not get included in the message data.
IANA maintains a list of standard header fields.
Template:Refimprovesect
E-mail was originally designed for 7-bit ASCII. Much e-mail software is 8-bit clean but must assume it will be communicating with 8-bit servers and mail readers. The MIME standard introduced character set specifiers and two content transfer encodings to enable transmission of non-ASCII data: quoted printable for mostly 7 bit content with a few characters outside that range and base64 for arbitrary binary data. The 8BITMIME extension was introduced to allow transmission of mail without the need for these encodings but many mail transport agents still do not support it fully. In some countries, several encoding schemes coexist; as the result, by defaulf, the message in a non-Latin alphabet language appears in non-readable form (the only exception is coincidence, when the sender and receiver use the same encoding scheme). Therefore, for international character sets, Unicode is growing in popularity.
Both plain text and HTML are used to convey e-mail. While text is certain to be read by all users without problems, there is a perception that HTML-based e-mail has a higher aesthetic value. Advantages of HTML include the ability to include inline links and images, set apart previous messages in block quotes, wrap naturally on any display, use emphasis such as underlines and italics, and change font styles. HTML e-mail messages often include an automatically-generated plain text copy as well, for compatibility reasons. Disadvantages include the increased size of the email, privacy concerns about web bugs and that HTML email can be a vector for phishing attacks and the spread of malicious software.[3]
在網際網路中,電郵地址的格式是:用戶名@域名。@ 是英文 at 的意思,所以電子郵件地址是表示在某部主機上的一個使用者帳號(例:guest)。關於域名的更多信息,請參見域名。電郵地址不是身份。
email.xxx.xxx.net
安全考量包括傳輸安全,儲存安全,發送者身份確認,接收者已收到確認,拒絕服務攻擊等。有兩種標準:PGP和S/MIME。
傳輸過程可能被竊聽。為了應付這情況,有兩種解決方法:
對已加密的郵件,可以選擇不保存解密後的郵件。已加密的郵件是指發送者在發送之前對郵件本身進行加密,不是指加密傳輸。如果郵件本身以加密,則沒有必要進行加密傳輸。對非加密的郵件(指發送者在發送之前沒有對郵件本身進行加密,至於是否使用加密傳輸是另一回事),郵件的儲存安全就如同於其他文件的儲存安全一樣,重點在於防範非授權使用。當然,就如同可以對一般文件進行加密一樣,也可以對這些非加密的郵件在收到後進行加密。
有很多電腦病毒就是通過電子郵件進行傳播的(詳見電腦病毒)。如果每個接受者在打開郵件之前都對發送者的身份進行確認,那麼這種電腦病毒就無法傳播了。
解決方案是發送者在發送前進行簽名(不是指被訛誤的「簽名」,那是落款)。對簽了名的郵件,發送者無法抵賴說不是她/他發的。對於Outlook,「簽名」(signature)是指落款,「數字簽名」(Digital Signature)才是簽名。第一次作漢化的人沒用對名詞,所以誤把落款當簽名了。簽了名的郵件就可以對發送者的身份通過身份認證機構進行確認。身份認證機構也可以是一個自然人。
發送一封徹底匿名的郵件必須使用匿名郵件轉發服務。否則理論上,只要系統日誌還在,是誰乾的總是可以找出來的,即使發送者既不簽名也不落款。
接收者可能抵賴說他/她沒有收到電子郵件。為了應付這情況,出現了不同的解決方法,但是目前還沒有一套普遍被採納的方案,雖然這一特徵是很有價值的。此為掛號電子郵件。微軟公司的ExchangeSever就提供Delivery Receipt。因為是機器發的接收者已收到確認,所以接收者可能有意或無意地刪除了郵件。
為了妨礙某一用戶使用電子郵件(比如不讓她/他收到電子郵件),拒絕服務攻擊指往被攻擊的用戶的郵箱發送大量的垃圾郵件,將郵箱塞滿。這樣被攻擊的用戶就無法收到那些有用的電子郵件了。這種安全顧慮目前相當程度已被解決。一是郵箱不斷增大。另一原因是郵件服務提供商都提供了一些的過濾措施。過濾措施有時也會把有用的電子郵件當成垃圾郵件。
電子郵件一般在電腦上使用,也可以在手機上使用。在電腦上使用電子郵件有兩種方式:使用郵件客戶端軟體,使用瀏覽器。在自己的電腦上才使用郵件客戶端軟體,在網吧或其他情況下,就通過瀏覽器查看郵件。
Outlook和Outlook Express都支持數字簽名、驗證簽名、加密和解密。
Netscape Mail:網景公司因為微軟在作業系統中捆綁瀏覽器軟體和郵件客戶端,所以在1990年代末期其市場佔有率發生大幅度下滑。但是它並沒有停止對其瀏覽器軟體的開發。隨著其軟體版本的不斷升級,有一部分用戶依然使用網景公司的產品。
Windows系統中網景瀏覽器郵件程序一直沒有很好的性能表現。也有人猜測是微軟公司在系統中添加了不利於其它產品的代碼,但是因為作業系統代碼不開放,所以這一說法得不到證實。
Mozilla Mail是Mozilla基金會生產的瀏覽器組件的一個重要部分。除了Windows版本以外,它還提供Linux/Unix等多個作業系統平台軟體包。
Thunderbird是電子郵件程序市場上的生力軍,由Mozilla基金會下屬的Mozilla公司生產。Thunderbird與Firefox一起被稱作21世紀刺向微軟公司瀏覽器市場的兩把利劍。Thunderbird以小巧安全穩定著稱。
Mozilla Mail和Thunderbird都支持數字簽名、驗證簽名、加密和解密,與Outlook Express相似。
Foxmail是由中國人張小龍開發的一款優秀的電子郵件客戶端,具有強大的電子郵件管理功能。目前有中文(簡繁體)和英文兩個語言版本。
web郵件服務有很多功能是不提供的,但是方便人們在任何地方查看郵件。
在Firefox環境下,加裝Gmail S/MIME就可以對電子郵件進行簽名了。
很多手機都可以。黑莓是一款非常流行的工具。
常見的電子郵件協議有以下幾種:SMTP(簡單郵件傳輸協議)、POP3(郵局協議)、IMAP(Internet郵件訪問協議)、HTTP、S/MIME。這幾種協議都是由TCP/IP協議族定義的。
Why are we here?
All text is available under the terms of the GNU Free Documentation License
This page is cache of Wikipedia. History