- 论坛徽章:
- 0
|
原帖由 marion 于 2007-9-27 17:58 发表 ![]()
这个问题应该是apache目录访问权限的问题,请确保你的apache主配置文件中开放了对/var/www目录的访问权限。你可以通过更改DocumentRoot指令后,及来实现;
謝謝.
對. apache 的設定我弄傻了... 現在可以了...
但又有一事想請教. 我在 extman 內新建了一個domain, 在內也加入了user
用extmail 登入, 再寄信給自己時, 就發現不能收信.
查了 maillog 如下:
- Sep 28 12:34:54 mail extmail[1957]: user=<[email]danny@mydomain.org[/email]>, client=192.168.80.182, module=login, status=loginok
- Sep 28 12:37:04 mail extmail[1965]: user=<[email]danny@mydomain.org[/email]>, client=192.168.80.182, module=login, status=loginok
- Sep 28 12:38:27 mail postfix/pickup[1681]: D00A5FA12: uid=2525 from=<[email]danny@mydomain.org[/email]>
- Sep 28 12:38:27 mail postfix/cleanup[1994]: D00A5FA12: message-id=<[email]20070928043827.D00A5FA12@mydomain.org[/email]>
- Sep 28 12:38:28 mail postfix/qmgr[1682]: D00A5FA12: from=<[email]danny@mydomain.org[/email]>, size=504, nrcpt=1 (queue active)
- Sep 28 12:38:28 mail postfix/trivial-rewrite[1996]: warning: do not list domain mydomain.org in BOTH mydestination and virtual_mailbox_domains
- Sep 28 12:38:28 mail postfix/local[1999]: warning: dict_nis_init: NIS domain name not set - NIS lookups disabled
- Sep 28 12:38:30 mail postfix/local[1999]: D00A5FA12: to=<[email]danny@mydomain.org[/email]>, relay=local, delay=2.5, delays=0.48/0.47/0/1.6, dsn=5.1.1, status=bounced (unknown user: "danny")
- Sep 28 12:38:30 mail postfix/cleanup[1994]: 246CBFA17: message-id=<[email]20070928043830.246CBFA17@mydomain.org[/email]>
- Sep 28 12:38:30 mail postfix/qmgr[1682]: 246CBFA17: from=<>, size=2240, nrcpt=1 (queue active)
- Sep 28 12:38:30 mail postfix/trivial-rewrite[1996]: warning: do not list domain mydomain.org in BOTH mydestination and virtual_mailbox_domains
- Sep 28 12:38:30 mail postfix/bounce[2000]: D00A5FA12: sender non-delivery notification: 246CBFA17
- Sep 28 12:38:30 mail postfix/qmgr[1682]: D00A5FA12: removed
- Sep 28 12:38:30 mail postfix/local[1999]: 246CBFA17: to=<[email]danny@mydomain.org[/email]>, relay=local, delay=0.02, delays=0.01/0/0/0.01, dsn=5.1.1, status=bounced (unknown user: "danny")
- Sep 28 12:38:30 mail postfix/qmgr[1682]: 246CBFA17: removed
- Sep 28 12:42:09 mail postfix/smtpd[2013]: warning: dict_nis_init: NIS domain name not set - NIS lookups disabled
- Sep 28 12:42:09 mail postfix/smtpd[2013]: connect from localhost[127.0.0.1]
- Sep 28 12:43:06 mail postfix/trivial-rewrite[2015]: warning: do not list domain mydomain.org in BOTH mydestination and virtual_mailbox_domains
- Sep 28 12:43:14 mail postfix/smtpd[2013]: NOQUEUE: reject: RCPT from localhost[127.0.0.1]: 550 5.1.1 <[email]danny@mydomain.org[/email]>: Recipient address rejected: User unknown in local recipient table; from=<[email]danny@mydomain.org[/email]> to=<[email]danny@mydomain.org[/email]> proto=ESMTP helo=<mydomain.org>
- Sep 28 12:46:54 mail postfix/smtpd[2013]: disconnect from localhost[127.0.0.1]
复制代码
再用 telnet localhost 25 查看
- root@mail:/var/spool/mail# telnet localhost 25
- Trying 127.0.0.1...
- Connected to localhost.
- Escape character is '^]'.
- 220 Welcome to our mydomain.org ESMTP,Warning: Version not Available!
- ehlo mydomain.org
- 250-mydomain.org
- 250-PIPELINING
- 250-SIZE 14336000
- 250-VRFY
- 250-ETRN
- 250-AUTH LOGIN PLAIN
- 250-AUTH=LOGIN PLAIN
- 250-ENHANCEDSTATUSCODES
- 250-8BITMIME
- 250 DSN
- mail from:danny@mydomain.org
- 250 2.1.0 Ok
- rcpt to:danny@mydomain.org
- 550 5.1.1 <[email]danny@mydomain.org[/email]>: Recipient address rejected: User unknown in local recipient table
复制代码
請問這是什麼原因做成的呢. 請指教. 謝謝.
[ 本帖最后由 惠繪洋 于 2007-9-28 12:48 编辑 ] |
|