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貼出來看看 |