系統識別號 | U0002-0503200602300100 |
---|---|
DOI | 10.6846/TKU.2006.00053 |
論文名稱(中文) | 私有網域名稱系統架構下的電子郵件解決方案 |
論文名稱(英文) | The Email solution on the Private Domain Name System |
第三語言論文名稱 | |
校院名稱 | 淡江大學 |
系所名稱(中文) | 資訊管理學系碩士班 |
系所名稱(英文) | Department of Information Management |
外國學位學校名稱 | |
外國學位學院名稱 | |
外國學位研究所名稱 | |
學年度 | 94 |
學期 | 1 |
出版年 | 95 |
研究生(中文) | 盧奕伸 |
研究生(英文) | Yi-Shen Lu |
學號 | 689520269 |
學位類別 | 碩士 |
語言別 | 繁體中文 |
第二語言別 | |
口試日期 | 2006-01-04 |
論文頁數 | 61頁 |
口試委員 |
指導教授
-
梁德昭
委員 - 楊欣哲 委員 - 翁頌舜 委員 - 劉艾華 |
關鍵字(中) |
私有網域名稱系統 電子郵件 SMTP協定 PDMA系統 多國語言 |
關鍵字(英) |
PDNS SMTP Protocol PDMA Multi-Language |
第三語言關鍵字 | |
學科別分類 | |
中文摘要 |
為了輔助現有的主機名稱解析系統在私有網域名稱應用上之不足,因而有私有網域名稱系統(PDNS)的設計與誕生。然而目前的PDNS架構下的各個私有網域,尚未能互通電子郵件,本研究針對電子郵件服務若要應用在PDNS架構下做探討,整理出一些在技術上需要克服的問題,以及從應用面考慮,在解決方案的設計上可以考慮加強與改善之處,同時針對這些問題與建議,提出一套完整的解決方案,讓在PDNS架構下各個私有網域內的主機,可以相互地寄送/接收電子郵件。從另一個角度來理解,本研究是結合PDNS的相關理論以及應用PDNS的研究成果,並且考量相容於目前電子郵件使用環境,設計出一套可自行定義Email位址的私有網域郵件系統。 為了能夠與現有電子郵件環境相容並且讓使用者輕易就能夠讀、寫、收、發私有網域下的電子郵件,本研究以TCP/IP網路為基礎,使用SMTP協定作為電子郵件的傳送標準,設計出一私有網域郵件系統架構,在此系統架構下,本研究設計開發出一名為PDMA的新系統,串接整個系統架構中的Mailbox伺服器、PDNS系統以及使用者端的MUA,負責整個郵件系統架構中,最主要的郵件傳遞工作。如果Email在傳遞過程中出現任何錯誤,PDMA會將傳送過程中的所有錯誤訊息集合成錯誤回報(NDR)Email,再退信還給原寄件者。為了因應支援使用非英文語系的Email位址,本研究亦在PDMA上外掛支援Mailbox伺服器功能,讓PDMA伺服器也能夠將使用非英文語系的Email儲存到使用者的信箱檔案中。為了使PDNS系統能夠支援PDMA傳遞電子郵件,本研究亦對其新增兩項功能設計。 本研究所提出的解決方案可以讓網路管理員在現有的網路環境下快速部署好私有網域郵件系統;也讓使用者不需要額外的教育訓練,便可輕易地讀、寫、收、發PDNS架構下的私有網域Email。在實際應用上,本研究可以提供使用者自行定義的Email位址,讓電子郵件地址在個人識別上,更具實值意義,也可以因應實際環境需求來設計Email地址等諸多彈性,譬如,吾人可以將自己公司名稱,或是住家地址拿來當郵件地址,或是將電子郵件地址多國語言化,參考本研究的作法,這些將是可以實作出來。在本研究亦有提供”中文地址郵件系統”的實作範例,可供需要的單位作參考。 關鍵字:私有網域名稱系統、電子郵件、SMTP協定、PDMA系統、多國語言 |
英文摘要 |
The Domain Name System that we use to identify host address on Internet nowadays is not suitable for applications over private domain. Hence, a new architecture called Private Domain Name System (PDNS) has been designed and produced to support applications of private domain. But, there is not any Email solution on PDNS architecture; in other words, all private domains on PDNS architecture can’t send Email to each other. This thesis points out the difficulty and restriction of send/receive Email which has private domain name (ex. use non-English languages) using current Email technology, and try to find a way compatible with current Email environment and let people no need to change original behavior and can send/receive such special Emails. At last, this thesis will design and offer a complete Email solution which is base on TCP/IP network and use SMTP protocol as Email transmission standard for user can send/receive Email that is using private domain name. In the solution, a new system called PDMA has been developed to connect Mailbox server, PDNS system and the client MUA s/w in the all mail system structure, responsible for the main Email transmission work. If any error happened during the Email transmitting, PDMA will send NDR (Not Delivery Report) to original Email sender. In order to support using non-English language Email address, this thesis also provides Mailbox server function for PDMA to store such special Email address to user mailbox file. In order to enable PDNS system to support PDMA to transmit the Email, this thesis also increases and develops two new functions on PDNS system. The solution provided by this thesis let network administrator dispose the Private Domain Mail System well fast under the environment of existing network; Let users no need extra education or training, can read/write/receive/send Private Domain Email easily; people also can utilize the theory in this thesis to implement Email address witch is defined by themselves, even if the Email address is defined with non-English languages, so Multi-Language Mail System can be implemented by the theory of this thesis. At last the implementation of "Chinese address Mail System" is provided to make an example for needing unit for referential use. |
第三語言摘要 | |
論文目次 |
目錄 第一章 緒言.....................................1 第一節 研究背景與目的...........................1 第二節 論文架構.................................2 第二章 相關資訊技術探討.........................4 第一節 TCP/IP通訊協定...........................4 1. OSI Model....................................5 2. IP...........................................6 3. TCP與UDP.....................................8 第二節 網路節點的命名..........................10 1. 網路節點命名的緣起與重要性..................10 2. 網域名稱系統................................11 第三節 私有網域名稱系統........................12 1. PDNS緣起與系統功能..........................12 2. PDNS架構下的私有網域的合併..................13 3. PDNS架構下的名稱查詢與回應..................15 4. PDNS架構下與遠端私有IP建立連線..............15 第四節 現有的名稱系統與PDNS的差異性............17 1. 現有名稱解析技術與PDNS之比較................17 2. 中文網域名稱系統與PDNS之比較................19 第五節 傳統電子郵件系統........................20 1. 傳統電子郵件與DNS的關連性...................20 2. 傳統電子郵件的傳送流程......................21 第六節 PDNS架構下傳送私有網域Email之問題探討...24 第三章 在PDNS架構下的電子郵件解決方案..........27 第一節 系統基礎與需求..........................27 第二節 系統架構................................28 1. 新系統–PDMA................................30 2. PDNS新增的功能..............................32 3. Mailbox伺服器...............................33 第三節 PDNS架構下Email遞送流程.................35 第四節 私有網域Email的收取.....................44 第四章 系統實作................................46 第一節 系統相關使用定義........................46 第二節 系統相關設定檔內容......................47 1. PDMA設定檔內容..............................47 3. PDNS設定檔內容..............................48 第三節 私有網域郵件系統架設實例................49 第四節 使用者端的設定..........................52 第五章 總結....................................55 參考資料.......................................57 附錄...........................................59 圖表目錄 圖表二之一. OSI Model 的七層架構 5 圖二之二. OSI Model 的層級資料流 6 圖表二之三. IP 封包格式 7 圖表二之四. IP Class 7 圖表二之五. TCP 封包格式 9 圖二之六. TCP/IP 協定階層關係圖 9 圖二之七. DNS 階層架構示意圖 11 圖二之八. 網域合併後的PDNS 架構 14 圖二之九. Virtual TCP Connection 連線示意圖 16 圖二之十. PDNS 代理機制示意圖 17 表二之十一. 現有名稱解析技術與PDNS 之比較 18 圖二之十二. 傳統電子郵件傳送流程 22 圖二之十三. PDNS 架構示意圖 25 圖三之一. PDNS 下的電子郵件系統架構 29 圖三之二. PDMA 系統功能示意圖 32 圖三之三. 結合MX 紀錄的PDNS 設定檔範例 33 圖三之四. PDMA 與MUA 溝通過程圖 38 圖三之五. PDMA 修改Email 表頭的流程示意圖 38 圖三之六. PDMA 將Email 送往目的地的流程示意圖一 39 圖三之七. PDMA 將Email 送往目的地的流程示意圖二 40 圖三之八. PDMA 將Email 送往目的地的流程示意圖三 41 圖三之九. PDMA 與目的郵件主機建立連線的流程示意圖 42 圖三之十. PDMA 將Email 交給目的郵件主機的流程示意圖 44 表四之一. PDMA 服務功能定義 46 表四之二. PDNS 服務功能定義 46 表四之三. PDNS 接受查詢字串的定義 46 表四之四. PDMA 支援收取私有網域Email 所使用的定義 47 表四之五. PDMA 的設定檔之一 47 表四之六. PDMA 的設定檔之二 48 表四之七. PDNS 的設定檔 49 表四之八. 中文地址郵件系統之PDNS 設定檔範例 50 表四之九. 中文地址郵件系統之PDMA 設定檔範例 51 圖四之十. 中文地址郵件系統範例之架構配置圖 51 圖四之十一. 以Outlook Express 為例的使用者端的設定 53 |
參考文獻 |
參考資料 [1] 唐長鴻, ”私有領域之領域名稱系統之探討,” 淡江大學資訊管理所, 碩士論文, 2003. [2] Bryan Costales with Eric Allman, 汪若文 編譯, “Sendmail 基礎篇”, (sendmail:The fundamentals, 2nd Edition), 美商O' REILLY有限公司台灣分公司, 1999. [3] Crocker, D., "Standard for the Format of ARPA-Internet Text Messages", RFC 822, UDEL, August 1982. [4] David D. Clark, "Modularity and Efficiency in Protocol Implementation," RFC 817, NIC, July 1982. [5] Ebevang, K., Francis, P., “The IP Network Address Translator (NAT),” RFC 1631, May 1994 [6] Forouzan, B.A., “TCP/IP Protocol Suite International Editions 2000,” McGraw-Hill Higher Education, 2000, p.152 [7] Freed, N. and N. Borenstein, "MIME (Multipurpose Internet Mail Extensions) Part One: Format of Internet Message Bodies", RFC 2045, December 1996. [8] Freed, N. and N. Borenstein, "MIME (Multipurpose Internet Mail Extensions) Part Two: Media Types", RFC 2046, December 1996. [9] Hamzed, M., Wright, R., “Use of DNS Alias for Network Services,” RFC 2219, October 1997. [10] Hunt Craig, 王旭 編譯, “TCP/IP 網路管理”, (TCP/IP Network Administration), 美商O' REILLY有限公司台灣分公司, 1996. [11] Mockapetris, P., “Domain Names – Concepts and Facilities,” RFC 882, USC/Information Sciences Institute, November 1983. [12] Moore, K., "MIME (Multipurpose Internet Mail Extensions) Part Three: Message Header Extensions for non-ASCII Text", RFC 2047,December 1996. [13] Myers, J. and M. Rose, "Post Office Protocol -- Version 3", STD 53, RFC 1939, May 1996. [14] Paul Albitz & Cricket Liu, 蔣大偉 編譯, “DNS and BIND”, 美商O' REILLY有限公司台灣分公司, 2000. [15] Partridge, C., "Mail routing and the domain system", RFC 974, CSNET CIC BBN boratories Inc, January 1986. [16] Postel, J., “Internet Protocol,” RFC 791, USC/Information Sciences Institute, September 1981. [17] Postel, J., "Simple Mail Transfer Protocol", RFC 821, USC/Information Sciences Institute, August 1982. [18] Postel, J., "Transmission Control Protocol", STD 7, RFC 793, September 1981. [19] Postel, J., “User Datagram Protocol”, STD 6, RFC 768, August 1980. [20] Rekhter, Y., Moskowitz, R., Karrenberg, D., de Groot, G. J., and Lear, E., "Address Allocation for Private Internets",RFC 1918, February 1996. [21] Snader, J.C., 林洙如譯, 〈〈深入研究TCP/IP網路程式設計44個增進程式的設計秘笈〉〉, (Effective TCP/IP Programming 44 Tips to Improve Your Network Programs), 台灣培生教育出版股份有限公司, 2002 |
論文全文使用權限 |
如有問題,歡迎洽詢!
圖書館數位資訊組 (02)2621-5656 轉 2487 或 來信