LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 848|回复: 0

【求助】邮件认证使用sendmail出错

[复制链接]
发表于 2006-7-21 15:27:25 | 显示全部楼层 |阅读模式
我用的是discuz的论坛,现在想使用会员通过邮件认证进行注册。根据官方的文档,这个功能是通过php函数和sendmail完成的。我使用的是AS4,默认安装的sendmail。当开启这个功能以后,发现不能进行正常的邮件认证。用文件测试一下,系统给我回复mail内容如下:



  1. From MAILER-DAEMON@localhost.localdomain  Fri Jul 21 14:33:42 2006
  2. Return-Path: <MAILER-DAEMON@localhost.localdomain>
  3. Received: from localhost.localdomain (bbsserver [127.0.0.1])
  4.         by localhost.localdomain (8.13.1/8.13.1) with ESMTP id k6L6Xgb9003177
  5.         for <nobody@localhost.localdomain>; Fri, 21 Jul 2006 14:33:42 +0800
  6. Received: from localhost (localhost)
  7.         by localhost.localdomain (8.13.1/8.13.1/Submit) id k6L6XfRV003176;
  8.         Fri, 21 Jul 2006 14:33:42 +0800
  9. Date: Fri, 21 Jul 2006 14:33:42 +0800
  10. From: Mail Delivery Subsystem <MAILER-DAEMON@localhost.localdomain>
  11. Message-Id: <200607210633.k6L6XfRV003176@localhost.localdomain>
  12. To: nobody@localhost.localdomain
  13. MIME-Version: 1.0
  14. Content-Type: multipart/report; report-type=delivery-status;
  15.         boundary="k6L6XfRV003176.1153463622/localhost.localdomain"
  16. Content-Transfer-Encoding: 8bit
  17. Subject: Returned mail: see transcript for details
  18. Auto-Submitted: auto-generated (failure)

  19. This is a MIME-encapsulated message

  20. --k6L6XfRV003176.1153463622/localhost.localdomain

  21. The original message was received at Fri, 21 Jul 2006 14:33:41 +0800
  22. from nobody@localhost

  23.    ----- The following addresses had permanent fatal errors -----
  24. Discuz! User <me@localhost>
  25.     (reason: 550 5.1.1 <me@localhost.localdomain>... User unknown)
  26.     (expanded from: Discuz! User <me@localhost>)

  27.    ----- Transcript of session follows -----
  28. ... while talking to [127.0.0.1]:
  29. >>> DATA
  30. <<< 550 5.1.1 <me@localhost.localdomain>... User unknown
  31. 550 5.1.1 Discuz! User <me@localhost>... User unknown

  32. --k6L6XfRV003176.1153463622/localhost.localdomain
  33. Content-Type: message/delivery-status

  34. Reporting-MTA: dns; localhost.localdomain
  35. Arrival-Date: Fri, 21 Jul 2006 14:33:41 +0800

  36. Final-Recipient: RFC822; Discuz! User <me@localhost>
  37. X-Actual-Recipient: RFC822; me@localhost.localdomain
  38. Action: failed
  39. Status: 5.1.1
  40. Remote-MTA: DNS; [127.0.0.1]
  41. Diagnostic-Code: SMTP; 550 5.1.1 <me@localhost.localdomain>... User unknown
  42. Last-Attempt-Date: Fri, 21 Jul 2006 14:33:42 +0800

  43. --k6L6XfRV003176.1153463622/localhost.localdomain
  44. Content-Type: message/rfc822
  45. Content-Transfer-Encoding: 8bit

  46. Return-Path: <nobody>
  47. Received: (from nobody@localhost)
  48.         by localhost.localdomain (8.13.1/8.13.1/Submit) id k6L6XfRU003176;
  49.         Fri, 21 Jul 2006 14:33:41 +0800
  50. Date: Fri, 21 Jul 2006 14:33:41 +0800
  51. Message-Id: <200607210633.k6L6XfRU003176@localhost.localdomain>
  52. To: Discuz! User <me@localhost.localdomain>
  53. Subject: 标准方式发送 Email(群发)
  54. From: zenbin@21cn.com

  55. 通过 PHP 函数及 UNIX sendmail 发送

  56. 群体发送邮件发送至 lsdir@163.com, lsblog2000@yahoo.com.cn

  57. 来自 zenbin@21cn.com

  58. --k6L6XfRV003176.1153463622/localhost.localdomain--
复制代码



请问各位大大,这个sendmail的问题可能出现在什么地方?
您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表