IMailServer配置技巧-完整DNS设定(1)

发表于:2007-07-02来源:作者:点击数: 标签:
セゅ盢磞瓃??皌竚??筿?秎ン?狝竟????癸呼办?嘿╰参(Domain Name System虏嘿DNS)籔秎ン?狝竟?闽玒暗??弧?????穦磞瓃???秎ン?狝??ミ??秎ン?诀???秎ン?诀??籔DNS癘魁穎皌?砞﹚? 皌竚?摸? 膀セ皌竚 ?狦??筿?秎ン?狝

セゅ盢磞瓃??皌竚??筿?秎ン?狝竟????癸呼办?嘿╰参(Domain Name System虏嘿DNS)籔秎ン?狝竟?闽玒暗??弧?????穦磞瓃???秎ン?狝??ミ??秎ン?诀???秎ン?诀??籔DNS癘魁穎皌?砞﹚?


皌竚?摸?
膀セ皌竚
?狦??筿?秎ン?狝竟?穦???筿?秎ン呼办钡Μ秎ン(ㄒ?domain.com???秎ン)?叫綷弄材3???"浪琩?璶?诀?皌竚"?材4???"????璶?诀浪琩DNS皌竚"?材2???"琩?膀セIMail皌竚"?


秈顶皌竚
?沮??秎患惠―????惠璶弄?ㄇ秈顶皌竚?肈? ? ???﹛よ粄???诀?嘿?ミ????(ê琌讽??杆IMail???┮块??)?????ゅ?alias?┮?IMail?盢???????醚???猭??羭ㄒㄓ弧?????ミ?????獽ㄏuser@mail.domain.com ㎝user@domain.com 常琌?猭????叫把σ材5???"?秎ン?诀砞﹚????"?

? ?狦??筿?秎ン?狝竟盢穦???筿?秎ン呼办钡Μ秎ン?τ?–?筿?秎ン呼办局Τ???ㄏノ?(羭ㄒㄓ弧?domain1.com籔domain2.com)?叫把σ材7???"糤?肂??秎ン?诀"?

? ?狦?稱盢??筿?秎ン?狝竟??SMTP 秎ン筯笵竟(SMTP 秎ン筯笵竟??琌稬硁?Exchange┪CC?Mail┪?贺秎ン?狝竟)?叫把σ材11???"砞﹚IMailΘ?秎ン筯笵竟"?

? ?狦?ㄏノ挤腹よΑ硈钡?ISP?す砛?眖ISP???眀め钡Μ秎ン?叫把σ材10???"砞﹚硈挡挤腹呼隔"?

? ?狦?稱?ミIMailΘ????狝竟?称?筿?秎ン?狝竟?叫把σ材12???"砞﹚IMail?称?筿?秎ン?狝竟"?

? ?狦?稱盢ㄏノ?眀腹???ぃ??龟砰筿福い(?砛琌ㄢ场筿福┪??场筿福)?羭ㄒㄓ弧?盚?domain.com?秎ン砆host1.domain.com ㎝host2.domain.com??矪瞶?叫把σ材13???"砞﹚癸单IMail?狝竟"?


琩?膀セIMail皌竚
?IMail Administrator?北礶??オ娩?狾?甶秨[localhost]ゅンЖㄓ诡?IMail?皌竚? ????э[Gate Host]籔[Default Host]?ず甧? [Gate Host]?逆?陪ボ?????诀?嘿?讽秎ンぃ?砆?钡癳笷ヘ??诀??玥ㄏノGate Hostㄓ祇癳秎ン?ゑ耕环??よ?硂籔?SMTP砞﹚?狾い?[Send all remote mail through gateway]Τ闽硈?種??患癳秎ン?眏?ㄏノ筯笵竟?诀?硂?ㄏノ硈挡挤腹呼蹈??讽Τノ? 璝璶ㄏIMail盢??钡╄笷???诀?ê或硂?逆?ゲ斗??フ???冈ǎ材き彻? [Default Host]?逆?陪ボ??诀?嘿??狦秎ン??﹍戳辨??い???ㄏノ??嘿τ⊿Τ?诀呼办?嘿?玥ê??秎ン莱赣砆肚癳?Default Host┮???诀???硂?ㄏノ??嘿?ぃ???盚ン???诀い?タ盽?猵??硂?逆?莱??フ?┪?莱砞﹚?"localhost"?传?杠弧秎ン盢穦砆癳?[ㄏノ??嘿@箇砞?诀]?ぃ礛[ㄏノ??嘿@箇砞?诀]硂?獺??ぃ穦癳笷箇戳?钡Μ??

 



猔種
岿粇?砞﹚硂?匡兜??旧璓獺ン盢穦肚癳倒獶箇戳?钡Μ?

?ㄏノ?醚?靡(Root User ID)
–?IMail?诀ゲ斗Τ???ㄏノ?醚?靡??????宽?SMTP RFCs.?砏﹚?ㄏノ?醚?靡????postmaster?硂す砛竒パㄤ??诀肚癳癟???狝竟?????す砛?綼?╰参癟???笆玻ネ?ㄒ?岿粇癟?? ?狦?璶?诀ㄏノIMail戈?畐┪???场戈?畐???杆祘?い承硑????root?ㄏノ??籔????postmaster?礛????盢??ㄏノ?root? Root硂?ㄏノ?醚?靡?笆?砆爹??ぃ筁硂?眀腹箇砞琌氨ノ?? 讽ㄏノNTㄏノ?戈?畐????杆祘?い承硑????administrator?ㄏノ??籔????postmaster?礛????盢??ㄏノ?administrator?


???ず甧(General Properties)
General?乓陪ボ??诀籔ヘ魁戈癟? ??¨Add Host〃秙盢陪ボ?¨Virtual Host Configuration〃癸杠?? ?¨General〃?乓い??¨View Queue〃秙盢陪ボ?单?い??盚秎ン?–??单帝砆?盚?秎ン常Τ??郎??硂?郎??嘿??"¨Filename〃???い?翴匡ㄤい??郎?盢陪ボ硂?獺?戈癟??单??盚?獺ン???盢?埃ウ?┪眏?ウ??盚癳?璶猔種?琌?礚猭?э陪ボ?戈癟?


е硉箇凝IMail狝叭
翴阑¨Services〃ゅンЖ??е硉箇凝IMail 狝叭?????ǎ–??狝叭??篈?????¨Services〃ゅンЖ柑翴阑狝叭??ㄓ皌竚IMail 狝叭?礛??????狾い秸俱砞﹚?


秸俱狝叭

???硓筁甶秨?オ娩??狾い¨Services〃ゅンЖ㎝翴阑続讽?狝叭????э–??狝叭皌竚???娩??狾い暗?莱?跑て? ?狦?э跑?ヴ??把计???эЧΘ??叫氨ゎ狝叭?单?き???礛?币笆狝叭?┪?穝币笆╰参?闽?–?狝叭?冈灿戈癟盢????祔??彻竊い? 箇砞狝叭梆 IMail狝叭ㄏノ???兜TCP梆? SMTP?梆25 POP3?梆110 IMAP4?梆143 LDAP?梆389 Pserve?(盞絏?狝祘Α) 梆106 Web Messaging?箇砞梆?8383(??э皌竚) Web Messaging SSL?梆8384 ??浪琩?箇砞梆?8385(??э皌竚) Web Calendaring?箇砞梆?8484(??э皌竚) Web Calendaring SSL?梆?8485 SSL箇砞梆?8384(??э皌竚) IMail呼?菏北恨瞶?箇砞梆?8181(??э皌竚) 呼?秎ン籔呼?︽ㄆ句?ㄏノ?ㄇUDP梆?硂ㄇ梆?ノㄓ腊??呼?秎ン籔呼?︽ㄆ句ぇ丁?肪硄?ㄒ?钡Μㄏノ?盞芲㎝祇癳ㄏノ?醚?靡㎝盞絏? 呼?秎ン籔呼?︽ㄆ句ㄏノ???兜UDP 梆? 呼?秎ン?梆8000 呼?︽ㄆ句?梆8001


IMailヘ魁挡篶
IMailヘ魁?硄盽琌?C:\IMail?琌"程?糷ヘ魁." ???杆??﹚?硂?ヘ魁?ッ环ぃ?簿笆┪э跑硂?ヘ魁??程?糷ヘ魁い?琌┮Τ?IMail莱ノ祘Α㎝?璶??诀?ヘ魁? –??诀ヘ魁(?珹???璶?诀?程?糷ヘ魁)?????兜?
? Listsヘ魁??┮Τ????狝祘Α?秎患睲虫??单?竤舱??い矗??ゅ?郎?
? Spoolヘ魁??单?矪瞶?秎ン?
? Webヘ魁??家?,約?㎝菏北郎??
? Usersヘ魁???诀??ㄏノ???Usersヘ魁柑??–?ㄏノ??Τ??ヘ魁?–?ㄏノ??ヘ魁?嘿碞琌??ㄏノ?醚?靡?ㄏノ?ヘ魁ず?郎???弧????ㄏノ?ō?郎?(.uid)?獺絚郎?(.mbx)??ま郎?(.idx)?Finger璸购?安戳?砏玥?锣盚郎?(.ima)?
? ldapヘ魁??ㄏノLDAP?沧狠ノめ戈癟?
? cfg ヘ魁?IMail Client莱ノ祘Α?戈癟?



猔種
ぃ琌┮Τ??诀ヘ魁常ΤSpoolヘ魁??ΤIMail程?糷ヘ魁Τ??Spoolヘ魁

浪琩?璶?诀?皌竚
ЧΘIMail?杆???盢?Τ??秎ン?诀??皌竚⌒嘿??璶秎ン?诀???璶秎ン?诀い浪琩??兜ヘ?
? ?璶秎ン?诀いゲ﹚Τ?????杆IMail?砞﹚??诀???嘿?
硂琌﹛よ粄??诀?嘿???甶秨¨localhost〃ゅンЖ?オ娩?狾碞?眔??
1. 璝?ぃ稱ㄏノ﹛よ粄??诀?嘿暗???璶秎ン?诀??狝竟?嘿??????璶秎ン?诀承硑?????叫把σ" ?秎ン?诀砞﹚????"?


? 跋办呼隔?呼办?嘿ゲ斗砞﹚???Windows NT/2000い?
1. ??穨╰参い?跋办呼隔?浪琩呼办?嘿?
?Windows 2000巨??ㄒ?ゴ秨北??△╰参△呼隔醚?△ず甧△?跑?醚?絏?跌怠い碞?琩?呼办?嘿?
2. ??穨╰参い浪琩DNS戈癟?
?Windows 2000巨??ㄒ?ゴ秨北??△呼隔㎝挤腹硈絬△蛮阑跋办呼隔△ず甧△Internet Protocol(TCP/IP)△ず甧△秈顶△DNS?乓い碞?琩?DNS戈癟??跋办呼隔い砞﹚?DNS?狝竟ゲ斗陪ボ?¨IMail恨瞶ざ?い〃?¨SMTP〃?乓??IMail恨瞶ざ?い浪琩DNS?狝竟?砞﹚?叫匡拒¨SMTP〃?乓??¨Domain Name Server address〃逆?い??莱赣????DNS?狝竟?IP???

--------------------------------------------------------------------------猔種ㄆ兜
???ㄏノDOS㏑??い?Nslookup??ㄓ琩???DNS癘魁?┪ㄏノIPSWITCH?紅???甅?ㄣWS_Ping ProPackㄓ暗?
--------------------------------------------------------------------

????璶?诀砞﹚DNS
?惠璶?DNS?狝竟柑???秎ン?诀块????兜?
? 惠璶??MX 戈方癘魁???秎ンユ传祘Α?ウノㄓ????秎ンユ传いみ??筿?秎ン?狝竟??嘿?(粂猭絛ㄒ?domain.com IN MX 10 mail.domain.com)
? 惠璶??A 戈方癘魁????诀?ウノㄓ????秎ン?狝竟?IP???(粂猭絛ㄒ?mail.domain.com IN A 192.168.1.25)
? 惠璶??PTR戈方癘魁????夹?ウр秎ン?狝竟㎝IP???闽羛???磅︽は??嘿琩高?(粂猭絛ㄒ?25.1.168.192. in-addr.arpa ., type=PTR host=mail.domain.com)
羭??絛ㄒㄓ弧??癸???诀??mail.domain.com?IMailㄓ弧?ウ?DNS 兜ヘ穦?癬ㄓ钩?SOA
$ORIGIN
...
domain.com
IN MX 10 mail.domain.com (MX 戈方癘魁)
mail IN A 156.21.50.5 (A 戈方癘魁)
5.50.21.156.in-addr.arpa.,type = PTR (PTR 戈方癘魁)
host = mail.domain.com
祇癳?user@domain.com?秎ン?DNS琩高穦砆???诀mail.domain.com?


???秎ン?诀砞﹚DNS
闽???ΤIP ???店览?诀??惠璶?DNSい?ミ???兜块??
秎ン呼办?MX戈方癘魁(羭ㄒㄓ弧?mail.domain2.com)?MX戈方癘魁醚?店览?诀??诀?嘿?店览?诀??诀?嘿?A戈方癘魁?A戈方癘魁р???诀?琈甮???IP ???
店览?诀?IP ???PTR戈方癘魁?PTR戈方癘魁р??IP ??琈甮??诀????ノ?は?琩高?闽???⊿ΤIP???店览?诀???惠璶?硂?秎ン呼办???DNS い块???MX 癘魁(羭ㄒㄓ弧?mail.domain3.com)?硂?MX 癘魁醚?硂??璶秎ン?诀??诀?? 羭??絛ㄒㄓ弧??癸???诀??mail.domain3.com?IMailㄓ弧?ウ?DNS 兜ヘ穦?癬ㄓ钩?
SOA
$ORIGIN ...
domain3.com
IN MX 10 mail.domain3.com
祇癳?user@domain3.com ?秎ン?DNS琩高穦砆??
?诀mail.domain3.com?


?秎ン?诀砞﹚????
IMail钡?秎ン????杆?IMail?タΑ??诀?嘿????﹛よ粄???诀?嘿?ミ?????┮?IMail?盢???????醚???猭?? 羭ㄒㄓ弧???﹛よ粄???诀?嘿?mail.domain.com?讽礛user琌?诀?????猭?ㄏノ???狦??稱璶IMail钡?秎ン???user@domain.com?秎ン??惠璶块?domain.com ??﹛よ粄???诀?嘿?????? ?﹛よ粄???诀?嘿?ミ????? 1. ?オ娩???い?匡拒秎ン?诀?秎ン?诀妮┦?瞷? 2. ?¨Aliases〃逆?い, 块????嘿(羭ㄒㄓ弧domain.com)?ノ??跋筳?????程?????255??じ? 3. 翴阑¨Apply〃ㄓ纗?跑??


糤?肂??秎ン?诀
?狦?稱璶IMail?材??筿?秎ン呼办钡Μ秎ン???Τウ???ㄏノ???惠璶?材??筿?秎ン呼办?ミ??店览?诀?羭ㄒㄓ弧??狦??筿?秎ン?狝竟?domain1.com呼办矗ㄑ秎ン狝叭??????辨ウ??????筿?秎ン呼办domain2.com矗ㄑ秎ン狝叭??惠璶?domain2.com ?ミ??店览?诀? ?Τㄢ贺店览?诀?摸??
? ΤIP ???店览?诀
? ⊿ΤIP ???店览?诀

 

------------------------------------------------------------------------
猔種ㄆ兜
?狦?ㄏノ??ΤIP??┪⊿ΤIP???店览?诀??惠璶???秎ン呼办?続讽?DNS?э????э叫把σ¨???秎ン?诀砞﹚DNS〃?の?┮ㄏノ?DNS?闽ゅン?

ΤIP???店览?诀
硂硄盽琌砆崩滤ㄓ?ミ店览?诀?よ猭?タ盽?IMail?诀┮Τ??ゲ斗穎皌ΤIP???店览?诀? ΤIP???店览?诀???琌? ? –?店览?诀惠璶ウ???斑??IP ??? ? ?WindowsNT/2000い?惠璶肂?˙艼ㄓ?TCP/IPい糤?IP?

---------------------------------------------------------------------------猔種ㄆ兜
?狦?タ?ㄏノWindowsNT 3.5.1 ┪??边??セ??????糤??き?IP ????狦?惠璶糤???IP???叫把酚Windows NT?弧?郎?
---------------------------------------------------------------------------
⊿ΤIP ???店览?诀
⊿ΤIP ???店览?诀ゑêㄇΤIP ???店览?诀?甧??ミ???杆IMail?筿福?盢穦だ皌??店览?IP ??倒硂?砆匡拒?呼办?礛??????DNSいㄏノMX癘魁盢店览?诀???璶??诀(Τ痷龟?IP??) 礛τ?⊿ΤIP?店览?诀Τ?ㄇ???
? 讽ㄏノ?祅魁??????ゲ斗块?Ч俱?秎ン??暗?ㄏノ?醚?靡??獽IMail?侩?ㄏノ?琌妮????店览?诀?Τㄇ秎ン沧狠礚猭硈?店览?诀ㄓ綷弄秎ン?硂?璶琌???ㄇ秎ン沧狠?ㄏノ?醚?靡Τ?????┪琌??篒???@ぇ玡?ㄏノ?醚?靡????店览?诀?ㄏノ??ぃ???じㄓ跋筳ㄏノ?醚?靡㎝?诀?嘿??琌?ゲ斗硄?ㄏノ??爹??ㄏノ硂??じ(羭ㄒㄓ弧?userid#hostname.com)?
? LDAP, Whois㎝Finger硂ㄇ狝叭ぃ???⊿ΤIP ???店览?诀????
讽???IP??┪?辨锣盚??呼办ずㄏノ??┮Τ秎ン????呼办?ㄏノ?秎ン眀腹????崩滤ㄏノ⊿ΤIP ???店览?诀?羭ㄒ弧??
? ???璶呼办?暗abracadabra.com ? ?稱璶┮Τ盚癳?merlin.com?秎ン常砆锣盚?info@abracadabra.com ? ??璶ЧΘ硂?笆?????merlin.com?ミ⊿Τ??IP ???店览?诀???ぃ璶?merlin.com??ミヴ??ㄏノ?
? ?merlin.com ?ミ??nobody?????abracadabra.com呼办い???ㄏノ?眀腹
? 癸┮Τ盚┕merlin.com?秎ン常盢穦砆锣盚??abracadabra.com?ê?ㄏノ?眀腹い



皌竚??店览?诀
璶皌竚??店览?诀?(?眖¨IMail Administrator?北礶?〃???¨Use Wizards〃)
1. ?オ娩??狾い匡拒¨localhost〃ゅンЖ?
2. 翴阑¨Add Host〃?秙?¨Virtual Host Configuration〃癸杠??瞷??¨Local Address〃???い陪ボ┮ΤWindowsNT/2000 TCP/ IPい砞竚?IP ??????砆IMailだ皌?

3. ?店览??诀匡拒IP??(?¨Local Addresses〃???い)┪翴阑¨Add〃?秙?穝?秎ン呼办だ皌穝?店览IP???
4. ?¨Official Host Name〃ゅ?逆?い?块?秎ン?诀??????硂柑块????盢砆ノㄓ??店览?诀?ㄏノ??秎ン???羭ㄒㄓ弧?┮Τ?俱?店览?诀??ㄏノ?常盢ㄏノuser@mail.domain2.com ㄓ钡Μ秎ン?
5. ?¨Aliases〃ゅ?逆?い?块??稱璶筿福钡????ㄓ钡Μ秎ン?羭ㄒㄓ弧??狦??秎ン?诀?嘿琌mail.domain2.com????砞﹚???暗domain2.com?????獽IMail????钡?fred@mail.domain2.com籔fred@domain2.com?秎ン?????莱赣ㄏノ??だ秨?程?????255??じ?
6. ?¨Top Directory Name〃ゅ?逆?い?块??纗硂?店览?诀?ヘ魁?嘿??ヘ魁盢穦ノㄓ??ㄏノ?戈?????籔呼?郎????场??薄????盢穦稱璶?–???ミ?店览?诀ㄏノぃ??ヘ魁?ウ???琵┮Τ?店览?诀?ㄉ??ヘ魁??琌ê妓???ㄏノ?龟悔???ㄉ????獺絚?
7. 匡拒?稱璶?硂??诀皌竚?ㄏノ?戈?畐摸? ? ㄏノIMailㄏノ?戈?畐 ? ㄏノセ诀?NTㄏノ?戈?畐 ? ㄏノ?场?ㄏノ?戈?畐
8. ?獺絚㎝秎ン块?箇砞?把计?硂ㄇ把计続ノ?店览?诀??┮Τㄏノ??

Default Max Mailbox Size. ┮Τㄏノ?獺絚秎ン?程???(?bytes?虫?)? ?狦羆计??禬筁程???ヴ?祇┕赣ㄏノ??穝秎ン常盢砆砆癳??盚ン?? 块?箂?礚?????

Default Max Messages. 箇砞?程??秎ン计秖?(羆计??獺絚い?ミ?┮Τ?ㄏノ?秎ン) ?狦程??砆禬筁?ヴ??ㄏノ??穝秎ン常盢砆癶??盚ン?? 块?箂?礚?????

Single Message Max Size. 箇砞祇癳??诀?虫?秎ン?程??? 禬筁ê?程???ウ穦砆癶??盚ン?? 块?箂?礚?????

Maximum User Count. ?硂?呼办い??砆爹??ㄏノ??程??计? 块?箂?礚??ㄏノ??

---------------------------------------------------------------------------猔種ㄆ兜
猔種Maximum User Countぃ続ノ??WindowsNTㄏノ?戈?畐┪???场?戈?畐?膀娄?店览?诀??????WindowsNTㄏノ?戈?畐┪???场?戈?畐?膀娄???诀い┮陪ボ?ㄏノ?计秖??ぃ琌タ絋??
---------------------------------------------------------------------------
9. 翴阑¨Save〃纗?穝?店览?诀皌竚?翴阑¨Exit〃闽超¨Virtural HostConfiguration〃癸杠??

原文转自:http://www.ltesting.net