Board logo

標題: mailbox 問題 〔完〕 [打印本頁]

作者: 阿水    時間: 2008-10-14 10:23     標題: mailbox 問題 〔完〕

收唔到電郵 + 發入唔到電郵
發送就無問題
server 是用 dovecot

應該點修理 (唔急 可以慢慢教)

This is the mail system at host ip.ip.secureserver.net.

I'm sorry to have to inform you that your message could not
be delivered to one or more recipients. It's attached below.

For further assistance, please send mail to <postmaster>

If you do so, please include this problem report. You can
delete your own text from the attached returned message.

                  The mail system

<private@confidential.com>: host
   IP.ip.secureserver.net[/var/lib/imap/socket/lmtp] said:
   550-Mailbox unknown.  Either there is no mailbox associated with this
   550-name or you do not have authorization to see it. 550 5.1.1 User unknown
   (in reply to RCPT TO command)

Final-Recipient: rfc822; private@confidential.com
Action: failed
Status: 5.1.1
Remote-MTA: dns; IP.ip.secureserver.net
Diagnostic-Code: smtp; 550-Mailbox unknown.  Either there is no mailbox
   associated with this 550-name or you do not have authorization to see it.
   550 5.1.1 User unknown

[ 本帖最後由 阿水 於 2008-10-17 12:53 編輯 ]
作者: hungjoyee    時間: 2008-10-15 11:08

阿水 我想問 幾樣嘢
我想問你個dns 本身有無mx ?
另一件事 我想問係 有無試過用internal mail 做testing ?

dovecot 係 mda 黎 (若無記錯)

[ 本帖最後由 hungjoyee 於 2008-10-15 11:12 編輯 ]
作者: 阿水    時間: 2008-10-15 13:09

原帖由 hungjoyee 於 2008-10-15 11:08 AM 發表
阿水 我想問 幾樣嘢
我想問你個dns 本身有無mx ?
另一件事 我想問係 有無試過用internal mail 做testing ?

dovecot 係 mda 黎 (若無記錯)


應該有 MX


tail -n 20 maillog
spamd[22585]: spamd: result: Y 19 - FH_HELO_ENDS_DOT,HS_INDEX_PARAM,HTML_MESSAGE,RCVD_IN_PBL,RCVD_IN_SORBS_DUL,RCVD_IN_XBL,RDNS_DYNAMIC,URIBL_BLACK,URIBL_JP_SURBL,URIBL_OB_SURBL,URIBL_SC_SURBL,URIBL_WS_SURBL scantime=0.6,size=4270,user=nobody,uid=99,required_score=5.0,rhost=IP.ip.secureserver.net,raddr=127.0.0.1,rport=43656,mid=<643306745.27700453400573@xxx.xx>,autolearn=failed
postfix/pipe[27439]: 14F1124C154: to=<xxx@xxx.com>, relay=spamassassin, delay=3.7, delays=3/0.01/0/0.64, dsn=2.0.0, status=sent (delivered via spamassassin service)
postfix/qmgr[6860]: 14F1124C154: removed
postfix/pickup[27005]: B722D24C154: uid=99 from=<xxx@xxx.com>
postfix/cleanup[27438]: B722D24C154: message-id=<643306745.27700453400573@xxx.xx>
postfix/qmgr[6860]: B722D24C154: from=<xxx@xxx.com>, size=6027, nrcpt=1 (queue active)
lmtpunix[27336]: accepted connection
lmtpunix[27336]: lmtp connection preauth'd as postman
lmtpunix[27336]: verify_user(xxx!user.xxx) failed: Mailbox does not exist
master[27445]: about to exec /usr/lib/cyrus-imapd/lmtpd
lmtpunix[27445]: executed
spamd[22578]: prefork: child states: II
postfix/lmtp[27443]: B722D24C154: to=<xxx@xxx.com>, relay=IP.ip.secureserver.net[/var/lib/imap/socket/lmtp], delay=0.04, delays=0.01/0.01/0/0.02, dsn=5.1.1, status=bounced (host IP.ip.secureserver.net[/var/lib/imap/socket/lmtp] said: 550-Mailbox unknown.  Either there is no mailbox associated with this 550-name or you do not have authorization to see it. 550 5.1.1 User unknown (in reply to RCPT TO command))
postfix/cleanup[27438]: BF46224C171: message-id=<20081015045638.BF46224C171@IP.ip.secureserver.net>
postfix/qmgr[6860]: BF46224C171: from=<>, size=8377, nrcpt=1 (queue active)
postfix/bounce[27444]: B722D24C154: sender non-delivery notification: BF46224C171
postfix/qmgr[6860]: B722D24C154: removed
postfix/smtpd[27433]: disconnect from IP.hsd1.ct.comcast.net[IP]
postfix/smtp[27447]: BF46224C171: to=<xxx@xxx.xx>, relay=xxx.secureserver.net[xxx]:25, delay=0.49, delays=0.01/0.01/0.07/0.4, dsn=2.0.0, status=sent (250 Accepted message qp 28966 bytes 8439)
postfix/qmgr[6860]: BF46224C171: removed
作者: hungjoyee    時間: 2008-10-15 14:46

lmtpunix[27336]: verify_user(xxx!user.xxx) failed: Mailbox does not exist

/socket/lmtp] said: 550-Mailbox unknown.  Either there is no mailbox associated with this 550-name or you do not have authorization to see it. 550 5.1.1 User unknown (in reply to RCPT TO command))

阿水你個mailbox 好似未create 喎
作者: 阿水    時間: 2008-10-15 15:07

原帖由 hungjoyee 於 2008-10-15 02:46 PM 發表
lmtpunix[27336]: verify_user(xxx!user.xxx) failed: Mailbox does not exist

/socket/lmtp] said: 550-Mailbox unknown.  Either there is no mailbox associated with this 550-name or you do not have authori ...


應該點 create
唔識睇 log
作者: hungjoyee    時間: 2008-10-15 15:51

原帖由 阿水 於 15-10-2008 15:07 發表


應該點 create
唔識睇 log


我想問你個postfix 係本身係人地以前bulid 落 定 你自己bulild 先 ?
用root acc  用 useradd command creat account 先

關於setting 方面 同教學 你可以去vbird 睇下先
果度會講 點set 同 各方面用法

搞server 要識睇log 唔係會唔會識trouble shooting
mail log 算易睇了

仲有我想問你有無用nslookup  本身個mail domain 有無問題 ?

[ 本帖最後由 hungjoyee 於 2008-10-15 15:53 編輯 ]
作者: 阿水    時間: 2008-10-15 16:44

原帖由 hungjoyee 於 2008-10-15 03:51 PM 發表


我想問你個postfix 係本身係人地以前bulid 落 定 你自己bulild 先 ?
用root acc  用 useradd command creat account 先

關於setting 方面 同教學 你可以去vbird 睇下先
果度會講 點set 同 各方面用法

租server
租server
搞 ...

rent server
作者: hungjoyee    時間: 2008-10-15 16:52

原帖由 阿水 於 15-10-2008 16:44 發表

rent server


你rent server
唔難搞問題係 你睇咗vbird 先
學咗basic 先啦
作者: Coach    時間: 2008-10-15 17:44

dovecot 個conf
有個mail box 位置, 先抄低 (如Maildir)

另外, 要所有新user都有這個抄低的path
加係/etc/skel入面
即 /etc/skel/Maildir
咁就會每一個新開用戶, 自動開埋Maildir這個folder
作者: hungjoyee    時間: 2008-10-15 18:43

原帖由 Coach 於 15-10-2008 17:44 發表
dovecot 個conf
有個mail box 位置, 先抄低 (如Maildir)

另外, 要所有新user都有這個抄低的path
加係/etc/skel入面
即 /etc/skel/Maildir
咁就會每一個新開用戶, 自動開埋Maildir這個folder


其實我都有問題的 因為我都唔知佢有無create account
作者: Coach    時間: 2008-10-15 21:07

原帖由 hungjoyee 於 2008-10-15 18:43 發表


其實我都有問題的 因為我都唔知佢有無create account


firstly 緊係要create左a/c先啦
阿水就算係rent, 點都有版面比佢create a/c
所以都唔知佢有乜問題
作者: 阿水    時間: 2008-10-16 16:28

原帖由 hungjoyee 於 2008-10-15 06:43 PM 發表


其實我都有問題的 因為我都唔知佢有無create account


server 公司提供了個control panel (自家的)
我是在那裡create email
作者: hungjoyee    時間: 2008-10-16 16:38

原帖由 阿水 於 16-10-2008 16:28 發表


server 公司提供了個control panel (自家的)
我是在那裡create email


今我想問個acc 可唔可以起text mode check 到先 ?
作者: 阿水    時間: 2008-10-16 17:29

原帖由 hungjoyee 於 2008-10-16 04:38 PM 發表


今我想問個acc 可唔可以起text mode check 到先 ?


有console
作者: hungjoyee    時間: 2008-10-16 22:27

原帖由 阿水 於 16-10-2008 17:29 發表


有console


可以的話  用ssh 入去 行text mode
or 用 console 睇下有無account create 到入去
作者: 阿水    時間: 2008-10-17 00:16

原帖由 hungjoyee 於 2008-10-16 10:27 PM 發表


可以的話  用ssh 入去 行text mode
or 用 console 睇下有無account create 到入去

how to do that

i.e. what command
作者: Gundamdriver    時間: 2008-10-17 00:25     標題: 回復 16# 的帖子

ssh username@hostIP

man ssh for more details.
作者: 阿水    時間: 2008-10-17 09:49     標題: 回復 17# 的帖子

我是指入到個text mode 入面
作者: hungjoyee    時間: 2008-10-17 11:07

原帖由 阿水 於 17-10-2008 09:49 發表
我是指入到個text mode 入面


如果本身用windows  請用putty telnet 入去 server check
作者: Coach    時間: 2008-10-17 11:51

最直接不過
作者: 阿水    時間: 2008-10-17 11:53

原帖由 hungjoyee 於 2008-10-17 11:07 AM 發表


如果本身用windows  請用putty telnet 入去 server check


入到textbox 之後要check 甚麼
作者: Coach    時間: 2008-10-17 12:02

原帖由 阿水 於 2008-10-17 11:53 發表


入到textbox 之後要check 甚麼


1) check 係乜野 SMTP (postfix/sendmail/qmail)
if 係postfix
cat /etc/postfix/main.cf |grep home_mailbox
之後睇下係唔係 home_mailbox = Maildir/

2) check 有冇user, 其中一個方法
cd /home
ls

睇下有冇這個user -- e.g. billy
如果有, 入埋去睇
cd /home/billy
ls

睇下有冇Maildir 這個folder
作者: 阿水    時間: 2008-10-17 12:08

原帖由 Coach 於 2008-10-17 12:02 PM 發表


1) check 係乜野 SMTP (postfix/sendmail/qmail)
if 係postfix
打 cat /etc/postfix/main.cf |grep home_mailbox
之後睇下係唔係 home_mailbox = Maildir/

2) check 有冇user, 其中一個方法
cd /home
ls
睇下有冇 ...


無defined 到
另外
由於是租 server, host 數個domain, 所以不是所有user 都有shell access
作者: Coach    時間: 2008-10-17 12:15

原帖由 阿水 於 2008-10-17 12:08 發表


無defined 到
另外
由於是租 server, host 數個domain, 所以不是所有user 都有shell access


virtual mailbox
咁你最好打電話問番rent server的公司
通常會比你有個web interface create mail a/c
作者: 阿水    時間: 2008-10-17 12:29

原帖由 Coach 於 2008-10-17 12:15 PM 發表


virtual mailbox
咁你最好打電話問番rent server的公司
通常會比你有個web interface create mail a/c

created到又收唔到

support 又要比錢

共私市懀
作者: Coach    時間: 2008-10-17 12:35

原帖由 阿水 於 2008-10-17 12:29 發表

created到又收唔到

support 又要比錢

共私市懀


no information = can't help
作者: 阿水    時間: 2008-10-17 12:52

原帖由 Coach 於 2008-10-17 12:35 PM 發表


no information = can't help


做下樣姐
作者: hungjoyee    時間: 2008-10-17 13:35

原帖由 Coach 於 17-10-2008 12:15 發表


virtual mailbox
咁你最好打電話問番rent server的公司
通常會比你有個web interface create mail a/c


virtual mailbox  我未聽過
正常來說 乜唔係mail server create 一個user 可以用maildir
作者: Coach    時間: 2008-10-17 13:41

原帖由 hungjoyee 於 2008-10-17 13:35 發表


virtual mailbox  我未聽過
正常來說 乜唔係mail server create 一個user 可以用maildir


no
好多ISP / hosting公司
只有一台電腦
但係要host 好多個domain + user

所以, 會用 linux, postfix, mysql, php, apache等 配成virtual mailbox
postfix經 mysql 的database 做認證, 存mail

Internet有好多教學
作者: Coach    時間: 2008-10-17 13:46

http://www.google.com.hk/search? ... a=&aq=f&oq=

大把文
你想點配點撘都得
作者: hungjoyee    時間: 2008-10-17 14:05

原帖由 Coach 於 17-10-2008 13:41 發表


no
好多ISP / hosting公司
只有一台電腦
但係要host 好多個domain + user

所以, 會用 linux, postfix, mysql, php, apache等 配成virtual mailbox
postfix經 mysql 的database 做認證, 存mail

Internet有好多教學


知啦 果然係一個省錢教學
作者: Coach    時間: 2008-10-17 14:35

原帖由 hungjoyee 於 2008-10-17 14:05 發表


知啦 果然係一個省錢教學


你指internet?
作者: hungjoyee    時間: 2008-10-17 15:32

原帖由 Coach 於 17-10-2008 14:35 發表


你指internet?


我話virtual mailbox
作者: Coach    時間: 2008-10-17 15:40

原帖由 hungjoyee 於 2008-10-17 15:32 發表


我話virtual mailbox


其實冇番一兩個domain
都玩唔到virtual mailbox - domain

不過照可以create virtual users

e個virtual setting, 仲有個好處, 係security 方面
因為你create account, 基本上已經比到用戶可以直接login入去
如果個linux admin 唔識/無     set login shell 做 /sbin/nologin
咁就可以好易hack入去

相反, 由於virtual mailbox 係經database, 就算hack到都冇野可以做到
作者: hungjoyee    時間: 2008-10-17 16:47

原帖由 Coach 於 17-10-2008 15:40 發表


其實冇番一兩個domain
都玩唔到virtual mailbox - domain

不過照可以create virtual users

e個virtual setting, 仲有個好處, 係security 方面
因為你create account, 基本上已經比到用戶可以直接login入去
如果 ...


create 個machine account ? 可以解決問題 ?

[ 本帖最後由 hungjoyee 於 2008-10-17 16:48 編輯 ]
作者: 阿水    時間: 2008-10-17 17:00

多謝各位的好意
作者: Coach    時間: 2008-10-17 17:36

原帖由 hungjoyee 於 2008-10-17 16:47 發表


create 個machine account ? 可以解決問題 ?


唔明問乜
作者: hungjoyee    時間: 2008-10-17 18:52

原帖由 Coach 於 17-10-2008 17:36 發表


唔明問乜


virtual mailbox 可唔可以用machine accout 搞掂佢 ?
作者: Coach    時間: 2008-10-17 20:12

原帖由 hungjoyee 於 2008-10-17 18:52 發表


virtual mailbox 可唔可以用machine accout 搞掂佢 ?


仲係唔明   sorry
作者: hungjoyee    時間: 2008-10-17 20:47

原帖由 Coach 於 17-10-2008 20:12 發表


仲係唔明   sorry


我開另一個post 再講





歡迎光臨 電腦領域 HKEPC Hardware (https://h2.hkepc.com/forum/) Powered by Discuz! 7.2