• <ruby id="5koa6"></ruby>
    <ruby id="5koa6"><option id="5koa6"><thead id="5koa6"></thead></option></ruby>

    <progress id="5koa6"></progress>

  • <strong id="5koa6"></strong>
  • [b]同一個局域網內兩個qmail服務器如何相互發送mail?[/b]

    發表于:2007-05-25來源:作者:點擊數: 標簽:
    我以qmail+ mysql +vpopmail的方式建立了mail 服務器 (按照文檔[url]http://www.chinaunix.net/forum/viewtopic.php?t=93861[/url]),也能夠發送郵件到公網的郵箱了,同時使用foxmail客戶端工具收發(local)郵件。 現在我配置了兩臺mailserver,都是同樣

    我以qmail+mysql+vpopmail的方式建立了mail服務器(按照文檔[url]http://www.chinaunix.net/forum/viewtopic.php?t=93861[/url]),也能夠發送郵件到公網的郵箱了,同時使用foxmail客戶端工具收發(local)郵件。

    現在我配置了兩臺mailserver,都是同樣方式配置的。在郵件服務器A上,使用虛擬域domA.com,建立虛擬用戶uA@domA.com。

    在郵件服務器B上,使用虛擬域domB.com,建立虛擬用戶uB@domB.com??墒钱斘矣胒oxmail以B服務器上的用戶uB@domB.com發送郵件給A服務器上用戶,服務器的/var/log/maillog內顯示發送出錯,“deferral: Sorry,_I_wasn't_able_to_establish_an_SMTP_connection._(#4.4.1)/”

    請教高手幫忙。

     gadfly 回復于:2003-07-29 20:06:02
    呵呵,有價值的回答。先加個精彩回復。

    等后來的人來整理吧。

     gadfly 回復于:2003-07-28 19:11:06
    A上面的smtp服務工作不正?;蛘邲]有啟動

     mahaoyuan 回復于:2003-07-29 09:35:27
    我的兩臺郵件服務器都可以進行(local domain)用戶進行foxmail用戶收發郵件,只是在兩臺郵件服務器之間不能進行(romote domain)用戶郵件互發。

    我的smtp啟動腳本是參照PENG文檔來得。

    具體如下:

    #!/bin/sh

    QMAILDUID=qmaild
    NOFILESGID=nofiles

    /usr/local/bin/tcpserver -H -R -l 0 -t 1 -v -p -x /home/vpopmail/etc/tcp.smtp.cdb -u $QMAILDUID -g $NOFILESGID 0 smtp /var/qmail/bin/qmail-smtpd hostname /home/vpopmail/bin/vchkpw /bin/true /bin/cmd5checkpw /bin/true 2>&1 | /var/qmail/bin/splogger smtpd 3 &


    請高手幫忙咧,我想應該是我哪里配置出了問題。
    不知道你們有沒有遇到過這種情況,或許可以試試。

     mahaoyuan 回復于:2003-07-29 10:28:04
    終于搞定,問題不是出在smtp沒有啟動和設置的問題。

    原先我在hosts列表中加了一大堆的主機域名和IP映射關系。全是無用的。

    問題的解決是我問了我們的網管。他和我說SMTP服務不是單純使用主機映射列表,它需要DNS服務來協助。我想很有道理,像163,sina等網站一定是需要DNS服務協助,和主機映射列表關系不大。

    所以就在DNS服務器上設置了兩個虛擬域,domA.com和domB.com。然后添加控制主機的fullname(即主機名.域名)。接下來,兩臺機器的用戶就都能互發郵件了。

    多謝2樓的關心。好幾次提問,你都有回答。

     starsmiles 回復于:2003-07-30 08:35:35
    我只有一臺郵件服務器,用的是sendmail。我想在上面是用兩個郵件域,分別有自己的用戶,還能夠互相發郵件,應該怎樣配呢。
       我已經配置了兩個虛擬域

     wulm 回復于:2003-10-09 14:55:16
    我的兩臺mail server一臺對外,有域名,IP,(假設為A),另一臺在局域網內,無域名,IP,(假設為B),怎樣從B投遞到A?smtproutes種種方法我都用過了,都不能投遞,但外網163等是可以的...

     peijun.jiang 回復于:2003-10-09 15:35:57
    [quote:2d5a2bb9aa="wulm"]我的兩臺mail server一臺對外,有域名,IP,(假設為A),另一臺在局域網內,無域名,IP,(假設為B),怎樣從B投遞到A?smtproutes種種方法我都用過了,都不能投遞,但外網163等是可以的...[/quote:2d5a2bb9aa]

    不知道你所謂的投遞是B下面的用戶網A下的用戶發,還是發往B的郵件都轉向A。

     wulm 回復于:2003-10-09 15:44:20
    [quote:827704b5fc="peijun.jiang"]

    不知道你所謂的投遞是B下面的用戶網A下的用戶發,還是發往B的郵件都轉向A。[/quote:827704b5fc]是B下面的用戶往A下的用戶發,外網的都可發,但發往A都會彈回
    Oct  9 15:45:05 mail qmail: 1065728705.452667 new msg 2208888
    Oct  9 15:45:05 mail qmail: 1065728705.452767 info msg 2208888: bytes 1981 from <hzp@kenny.com.hk> qp 4879 uid 507
    Oct  9 15:45:05 mail qmail: 1065728705.950132 starting delivery 17: msg 2208888 to local 218.188.10.180-wulm@kenny.com.hk
    Oct  9 15:45:05 mail qmail: 1065728705.950211 status: local 1/10 remote 0/20
    Oct  9 15:45:05 mail qmail: 1065728705.954870 delivery 17: failure: Sorry,_no_mailbox_here_by_that_name._(#5.1.1)/
    Oct  9 15:45:05 mail qmail: 1065728705.954956 status: local 0/10 remote 0/20
    Oct  9 15:45:05 mail qmail: 1065728705.998339 bounce msg 2208888 qp 4886
    Oct  9 15:45:05 mail qmail: 1065728705.998411 end msg 2208888
    Oct  9 15:45:06 mail qmail: 1065728706.124746 new msg 2208892
    Oct  9 15:45:06 mail qmail: 1065728706.126081 info msg 2208892: bytes 2506 from <> qp 4886 uid 506
    Oct  9 15:45:06 mail qmail: 1065728706.176423 starting delivery 18: msg 2208892 to local 218.188.10.180-hzp@kenny.com.hk
    Oct  9 15:45:06 mail qmail: 1065728706.176538 status: local 1/10 remote 0/20
    Oct  9 15:45:06 mail qmail: 1065728706.180038 delivery 18: failure: Sorry,_no_mailbox_here_by_that_name._(#5.1.1)/
    Oct  9 15:45:06 mail qmail: 1065728706.180391 status: local 0/10 remote 0/20
    Oct  9 15:45:06 mail qmail: 1065728706.225015 bounce msg 2208892 qp 4889
    Oct  9 15:45:06 mail qmail: 1065728706.225174 end msg 2208892
    Oct  9 15:45:06 mail qmail: 1065728706.421174 new msg 2208891
    Oct  9 15:45:06 mail qmail: 1065728706.421374 info msg 2208891: bytes 2951 from <#@[]> qp 4889 uid 506
    Oct  9 15:45:06 mail qmail: 1065728706.427105 starting delivery 19: msg 2208891 to local 218.188.10.180-postmaster@kenny.com.hk
    Oct  9 15:45:06 mail qmail: 1065728706.427217 status: local 1/10 remote 0/20
    Oct  9 15:45:06 mail qmail: 1065728706.430807 delivery 19: failure: Sorry,_no_mailbox_here_by_that_name._(#5.1.1)/
    Oct  9 15:45:06 mail qmail: 1065728706.431170 status: local 0/10 remote 0/20
    Oct  9 15:45:06 mail qmail: 1065728706.431254 triple bounce: discarding bounce/2208891
    Oct  9 15:45:06 mail qmail: 1065728706.431319 end msg 2208891
    Oct  9 15:45:22 mail qmail: 1065728722.475022 starting delivery 20: msg 2208880 to local postmaster@mail.ocean.com
    Oct  9 15:45:22 mail qmail: 1065728722.475097 status: local 1/10 remote 0/20
    Oct  9 15:45:22 mail qmail: 1065728722.487357 delivery 20: deferral: Unable_to_chdir_to_maildir._(#4.2.1)/
    Oct  9 15:45:22 mail qmail: 1065728722.487448 status: local 0/10 remote 0/20

     peijun.jiang 回復于:2003-10-09 15:56:09
    你發送的郵件的地址怎么變成了這樣 218.188.10.180-wulm@kenny,這樣就肯定提示沒有該用戶。

     wulm 回復于:2003-10-09 16:45:10
    我是看bluelotus的方案來裝的,我安裝過程中可能出錯的地方在哪,謝謝指點.

     peijun.jiang 回復于:2003-10-09 16:58:23
    [quote:6ca431fcac="wulm"]我是看bluelotus的方案來裝的,我安裝過程中可能出錯的地方在哪,謝謝指點.[/quote:6ca431fcac]

    現在有沒有設置smtprout,如果有去掉。如果是單純的使用B往A發郵件,不需要這個配置文件的。

     wulm 回復于:2003-10-09 17:12:40
    現在沒有設定這個文件,我發現日志里很多投遞到kenny.com.hk-wulm@kenny.com.hk,這種格式,不知是那里設定錯,,彈回郵件信息:
    Hi. This is the qmail-send program at kenny.com.hk. <BR>
    I'm afraid I wasn't able to deliver your message to the following addresses. <BR>
    This is a permanent error; I've given up. Sorry it didn't work out. <BR>

     gadfly 回復于:2003-10-10 15:22:52
    把你的/var/qmail/control/virtualdomains和/var/qmail/users/assign貼出來看看

    原文轉自:http://www.kjueaiud.com

    老湿亚洲永久精品ww47香蕉图片_日韩欧美中文字幕北美法律_国产AV永久无码天堂影院_久久婷婷综合色丁香五月

  • <ruby id="5koa6"></ruby>
    <ruby id="5koa6"><option id="5koa6"><thead id="5koa6"></thead></option></ruby>

    <progress id="5koa6"></progress>

  • <strong id="5koa6"></strong>