精華區beta FreeBSD 關於我們 聯絡資訊
想請教各位先進 如何讓一台具有好幾個網域的主機能順利收信 我使用的是postfix+sasl 在同一台機器上跑DNS同時有 abc.com def.com ghi.com 三個網域指向的mail server都是自己 我在DNS的設定 IN MX 10 abc.com. IN MX 20 def.com. IN MX 30 ghi.com. 我寄同一個帳號但是用不同的位址 [email protected] [email protected] [email protected] 會收到這樣的訊息 The original message was received at Tue, 22 Jun 2004 23:32:16 +0800 from 218-161-18-33.dynamic.hinet.net [218.161.18.33] ----- The following addresses had permanent fatal errors ----- <[email protected]> (reason: 554 <[email protected]>: Recipient address rejected: Relay ac cess denied) ----- Transcript of session follows ----- ... while talking to aerial.twbbs.org.: >>> DATA <<< 554 <[email protected]>: Recipient address rejected: Relay access deni ed 554 5.0.0 Service unavailable <<< 554 Error: no valid recipients 但是用 [email protected] [email protected] [email protected] 寄出信件正常 就是別人寄的收不到 我在想是不是要改main.cf的mydestination = $myhostname 參考了一些資料後 還是沒弄清楚 煩請各位賜教 -- ※Post by ziway from 218-161-18-33.dynamic.hi ▂▂▂▂▂▂▂▂▂▂▂▂▂▂▂▂▂▂▂ 電電情深BBS ˙ csc.twbbs.org ▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇ > -------------------------------------------------------------------------- < 發信人: "學習中" <[email protected]>, 看板: FreeBSD 標 題: Re: [問題]postfix收信的問題 發信站: Netfront Internet Services http://www.netfr (Tue Jun 22 18:19:35 2004) 轉信站: ptt!ctu-reader!ctu-peer!news.nctu!newshub.sdsu.edu!logbridge.uoregon.e 你也可以設成 mydestination = /usr/local/etc/postfix/mydestination 然後 /usr/local/etc/postfix/mydestination 裡面放 abc.com def.com ghi.com "天線仔 )[=.=] (())" <[email protected]> 在郵件 news:[email protected] 中撰寫... > 想請教各位先進 > 如何讓一台具有好幾個網域的主機能順利收信 > > 我使用的是postfix+sasl > 在同一台機器上跑DNS同時有 > abc.com > def.com > ghi.com > 三個網域指向的mail server都是自己 > > > 我在DNS的設定 > IN MX 10 abc.com. > IN MX 20 def.com. > IN MX 30 ghi.com. > > 我寄同一個帳號但是用不同的位址 > [email protected] > [email protected] > [email protected] > > > 會收到這樣的訊息 > The original message was received at Tue, 22 Jun 2004 23:32:16 +0800 > from 218-161-18-33.dynamic.hinet.net [218.161.18.33] > > ----- The following addresses had permanent fatal errors ----- > <[email protected]> > (reason: 554 <[email protected]>: Recipient address rejected: > Relay ac > cess denied) > > ----- Transcript of session follows ----- > .. while talking to aerial.twbbs.org.: > >>> DATA > <<< 554 <[email protected]>: Recipient address rejected: Relay access deni > > ed > 554 5.0.0 Service unavailable > <<< 554 Error: no valid recipients > > 但是用 > [email protected] > [email protected] > [email protected] > 寄出信件正常 > > 就是別人寄的收不到 > > > 我在想是不是要改main.cf的mydestination = $myhostname > > 參考了一些資料後 > > 還是沒弄清楚 > > 煩請各位賜教 > > -- > ※Post by ziway from 218-161-18-33.dynamic.hi > ▂▂▂▂▂▂▂▂▂▂▂▂▂▂▂▂▂▂▂ > 電電情深BBS ˙ csc.twbbs.org > ▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇ --- Posted via news://freenews.netfront.net Complaints to [email protected] > -------------------------------------------------------------------------- < 發信人: [email protected] (), 看板: FreeBSD 標 題: Re: [問題]postfix收信的問題 發信站: 無名小站 (Tue Jun 22 16:57:32 2004) 轉信站: ptt!ctu-reader!ctu-peer!news.nctu!netnews.csie.nctu!wretch ※ 引述《[email protected] (天線仔))[=.=](()》之銘言: > 我在想是不是要改main.cf的mydestination = $myhostname > 參考了一些資料後 > 還是沒弄清楚 > 煩請各位賜教 沒錯, main.cf 裡的註解有寫 # The mydestination parameter specifies the list of domains that this # machine considers itself the final destination for. 要把你要收信的 domain 都寫在這, 用逗號隔開 還有個比較好的做法 mydestination = /usr/local/etc/postfix/mydestination 然後把 domain 寫在那個檔, 一行一個 -- 夫兵者不祥之器物或惡之故有道者不處君子居則貴左用兵則貴右兵者不祥之器非君子 之器不得已BBS telnet://wretch.twbbs.org 開個人板 超快 不用連署得志於天下 矣吉事尚左凶事尚右偏將軍居左上將軍居右言以喪禮處之殺人之眾以哀悲泣之戰勝以 喪禮處之道常無名樸雖小天下莫能臣侯王若能守之萬物將自賓天地相合以降甘露民莫 之令而自均始制有名名亦既有夫亦將知止知止可以不殆 kxeme.Dorm9.NCTU.edu.tw > -------------------------------------------------------------------------- < 發信人: [email protected] (天線仔))[=.=]((), 看板: FreeBSD 標 題: [問題]DNS的問題 發信站: 電電情深 (Wed Jun 23 01:03:05 2004) 轉信站: ptt!ctu-reader!ctu-peer!news.nctu!netnews.csie.nctu!news.ee.ttu!news.n 小弟我向seednet購買了一個domain name xxx.com.tw 然後在自己的主機上跑DNS 可是網頁的部份 連結到www.xxx.com.tw正常 但是連結到xxx.com.tw卻看不到東西 有時是無法顯示網頁 且瀏覽器輸入的網址最後會變成http:///?%20xxx.com.tw 小弟在DNS的設定 xxx.com.tw IN A 192.168.1.1 apache的VirtualHost也有跑起來.... 目前不確定問題在哪裡 想請各位先進給我一點意見 謝謝 -- ※Post by ziway from 218-161-9-143.dynamic.hi ▂▂▂▂▂▂▂▂▂▂▂▂▂▂▂▂▂▂▂ 電電情深BBS ˙ csc.twbbs.org ▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇