免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 3771 | 回复: 7
打印 上一主题 下一主题

[Mail] 装postfix, telnet localhost 110不成功 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2005-09-13 13:12 |只看该作者 |倒序浏览
在linux rh9装postfix,我是按照http://blog.china-pub.com/more.asp?name=anstan&id=6529 文档做的。
我安装完imap后,在测试pop3 和imap时出错,
显示为:
#telnet localhost 110
user test@test.com
+ok password required
pass test
-err login failed
quit
+ok bette next time.
我用建立的用户登陆,登陆不上。
请高手指点。谢谢 !

论坛徽章:
0
2 [报告]
发表于 2005-09-13 14:49 |只看该作者

装postfix, telnet localhost 110不成功

把你的日志发上来看看!

论坛徽章:
0
3 [报告]
发表于 2005-09-13 14:49 |只看该作者

装postfix, telnet localhost 110不成功

首先检查110端口是否开放着?
再看一下是否在postfixadmin中建立了你用的那个测试账户,如果建立了,密码也没有错,那么就应该可以了。

论坛徽章:
0
4 [报告]
发表于 2005-09-13 17:40 |只看该作者

装postfix, telnet localhost 110不成功

我的其中一个日志是这样的。
Sep 12 08:47:09 mailtest pop3d: Connection, ip=[::ffff:172.31.8.193]
Sep 12 08:47:09 mailtest pop3d: Disconnected, ip=[::ffff:172.31.8.193]
Sep 12 08:47:16 mailtest pop3d: Connection, ip=[::ffff:172.31.8.193]
Sep 12 08:47:16 mailtest pop3d: Disconnected, ip=[::ffff:172.31.8.193]
Sep 12 08:48:08 mailtest pop3d: Connection, ip=[::ffff:172.31.8.193]
Sep 12 08:48:08 mailtest pop3d: Disconnected, ip=[::ffff:172.31.8.193]
Sep 12 08:48:16 mailtest pop3d: Connection, ip=[::ffff:172.31.8.193]
Sep 12 08:48:16 mailtest pop3d: Disconnected, ip=[::ffff:172.31.8.193]
Sep 12 08:48:18 mailtest pop3d: Connection, ip=[::ffff:172.31.8.193]
Sep 12 08:48:18 mailtest pop3d: Disconnected, ip=[::ffff:172.31.8.193]
Sep 12 08:48:19 mailtest pop3d: Connection, ip=[::ffff:172.31.8.193]
Sep 12 08:48:19 mailtest pop3d: Disconnected, ip=[::ffff:172.31.8.193]
Sep 12 08:48:24 mailtest pop3d: Connection, ip=[::ffff:172.31.8.193]
Sep 12 08:48:24 mailtest pop3d: LOGIN FAILED, user=test, ip=[::ffff:172.31.8.193]
Sep 12 08:48:29 mailtest pop3d: Disconnected, ip=[::ffff:172.31.8.193]
Sep 12 08:49:59 mailtest postfix/smtpd[13375]: warning: dict_nis_init: NIS domain name not set - NIS lookups disabled
Sep 12 08:49:59 mailtest postfix/smtpd[13375]: connect from mailtest[127.0.0.1]
Sep 12 08:49:59 mailtest postfix/smtpd[13375]: NOQUEUE: reject: RCPT from mailtest[127.0.0.1]: 550 <postfixadmin@p5w.net>;: Recipient address rejected: User unknown in virtual mailbox table; from=<postfixadmin@p5w.net>; to=<postfixadmin@p5w.net>; proto=ESMTP helo=<localhost>;
Sep 12 08:49:59 mailtest postfix/smtpd[13375]: warning: mailtest[127.0.0.1] sent non-SMTP command: To: postfixadmin@p5w.net
Sep 12 08:49:59 mailtest postfix/smtpd[13375]: disconnect from mailtest[127.0.0.1]
Sep 12 09:34:33 mailtest pop3d: Connection, ip=[::ffff:127.0.0.1]
Sep 12 09:34:59 mailtest pop3d: LOGIN FAILED, user=test@p5w.net, ip=[::ffff:127.0.0.1]
Sep 12 09:35:21 mailtest pop3d: LOGOUT, ip=[::ffff:127.0.0.1]
Sep 12 09:35:21 mailtest pop3d: Disconnected, ip=[::ffff:127.0.0.1]
Sep 12 09:39:40 mailtest postfix/pickup[13444]: ACC6C14E4A: uid=0 from=<root>;
Sep 12 09:39:40 mailtest postfix/cleanup[13638]: ACC6C14E4A: message-id=<20050912013940.ACC6C14E4A@mailtest.p5w.net>;
Sep 12 09:39:40 mailtest postfix/smtpd[13639]: warning: dict_nis_init: NIS domain name not set - NIS lookups disabled
Sep 12 09:39:40 mailtest postfix/qmgr[24207]: ACC6C14E4A: from=<root@p5w.net>;, size=511, nrcpt=1 (queue active)
Sep 12 09:39:40 mailtest postfix/smtpd[13639]: connect from mailtest[127.0.0.1]
Sep 12 09:39:40 mailtest pipe[13645]: fatal: pipe_comand: execvp /usr/local/bin/maildrop: No such file or directory
Sep 12 09:39:40 mailtest postfix/smtpd[13639]: C78D214E48: client=mailtest[127.0.0.1]
Sep 12 09:39:40 mailtest postfix/cleanup[13638]: C78D214E48: message-id=<20050912013940.C78D214E48@mailtest.p5w.net>;
Sep 12 09:39:40 mailtest postfix/qmgr[24207]: C78D214E48: from=<postmaster@change-this-to-your.domain.tld>;, size=501, nrcpt=1 (queue active)
Sep 12 09:39:40 mailtest postfix/smtpd[13639]: disconnect from mailtest[127.0.0.1]
Sep 12 09:39:40 mailtest pipe[13648]: fatal: pipe_comand: execvp /usr/local/bin/maildrop: No such file or directory
Sep 12 09:39:41 mailtest postfix/pipe[13643]: ACC6C14E4A: to=<root@p5w.net>;, orig_to=<root>;, relay=maildrop, delay=1, status=bounced (Command died with status 1: "/usr/local/bin/maildrop"
Sep 12 09:39:41 mailtest postfix/cleanup[13638]: C279714E4C: message-id=<20050912013941.C279714E4C@mailtest.p5w.net>;
Sep 12 09:39:41 mailtest postfix/qmgr[24207]: C279714E4C: from=<>;, size=2236, nrcpt=1 (queue active)
Sep 12 09:39:41 mailtest postfix/qmgr[24207]: ACC6C14E4A: removed
Sep 12 09:39:41 mailtest pipe[13650]: fatal: pipe_comand: execvp /usr/local/bin/maildrop: No such file or directory
Sep 12 09:39:41 mailtest postfix/pipe[13647]: C78D214E48: to=<test@1.com>;, relay=maildrop, delay=1, status=bounced (Command died with status 1: "/usr/local/bin/maildrop"
Sep 12 09:39:41 mailtest postfix/cleanup[13638]: CFCB414E4B: message-id=<20050912013941.CFCB414E4B@mailtest.p5w.net>;
Sep 12 09:39:41 mailtest postfix/qmgr[24207]: CFCB414E4B: from=<>;, size=2284, nrcpt=1 (queue active)
Sep 12 09:39:41 mailtest postfix/qmgr[24207]: C78D214E48: removed
Sep 12 09:39:42 mailtest postfix/pipe[13643]: C279714E4C: to=<root@p5w.net>;, relay=maildrop, delay=1, status=bounced (Command died with status 1: "/usr/local/bin/maildrop"
Sep 12 09:39:42 mailtest postfix/qmgr[24207]: C279714E4C: removed
Sep 12 09:39:48 mailtest postfix/smtp[13651]: CFCB414E4B: to=<postmaster@change-this-to-your.domain.tld>;, relay=none, delay=7, status=bounced (Host or domain name not found. Name service error for name=change-this-to-your.domain.tld type=A: Host not found)
Sep 12 09:39:48 mailtest postfix/qmgr[24207]: CFCB414E4B: removed
Sep 12 09:42:31 mailtest postfix/pickup[13444]: E75C114E4B: uid=0 from=<root>;
Sep 12 09:42:31 mailtest postfix/cleanup[13689]: E75C114E4B: message-id=<20050912014231.E75C114E4B@mailtest.p5w.net>;
Sep 12 09:42:31 mailtest postfix/qmgr[24207]: E75C114E4B: from=<root@p5w.net>;, size=508, nrcpt=1 (queue active)
Sep 12 09:42:31 mailtest postfix/smtpd[13692]: warning: dict_nis_init: NIS domain name not set - NIS lookups disabled
Sep 12 09:42:32 mailtest pipe[13695]: fatal: pipe_comand: execvp /usr/local/bin/maildrop: No such file or directory
Sep 12 09:42:32 mailtest postfix/smtpd[13692]: connect from mailtest[127.0.0.1]
Sep 12 09:42:32 mailtest postfix/smtpd[13692]: 0971114E4A: client=mailtest[127.0.0.1]
Sep 12 09:42:32 mailtest postfix/cleanup[13689]: 0971114E4A: message-id=<20050912014232.0971114E4A@mailtest.p5w.net>;
Sep 12 09:42:32 mailtest postfix/qmgr[24207]: 0971114E4A: from=<postmaster@change-this-to-your.domain.tld>;, size=495, nrcpt=1 (queue active)
Sep 12 09:42:32 mailtest postfix/smtpd[13692]: disconnect from mailtest[127.0.0.1]
Sep 12 09:42:32 mailtest pipe[13698]: fatal: pipe_comand: execvp /usr/local/bin/maildrop: No such file or directory
Sep 12 09:42:33 mailtest postfix/pipe[13694]: E75C114E4B: to=<root@p5w.net>;, orig_to=<root>;, relay=maildrop, delay=2, status=bounced (Command died with status 1: "/usr/local/bin/maildrop"
Sep 12 09:42:33 mailtest postfix/cleanup[13689]: 0668114E4D: message-id=<20050912014233.0668114E4D@mailtest.p5w.net>;
Sep 12 09:42:33 mailtest postfix/qmgr[24207]: 0668114E4D: from=<>;, size=2233, nrcpt=1 (queue active)
Sep 12 09:42:33 mailtest postfix/qmgr[24207]: E75C114E4B: removed
Sep 12 09:42:33 mailtest pipe[13700]: fatal: pipe_comand: execvp /usr/local/bin/maildrop: No such file or directory
Sep 12 09:42:33 mailtest postfix/pipe[13697]: 0971114E4A: to=<1@1.com>;, relay=maildrop, delay=1, status=bounced (Command died with status 1: "/usr/local/bin/maildrop"
Sep 12 09:42:33 mailtest postfix/cleanup[13689]: 1160D14E4C: message-id=<20050912014233.1160D14E4C@mailtest.p5w.net>;
Sep 12 09:42:33 mailtest postfix/qmgr[24207]: 1160D14E4C: from=<>;, size=2272, nrcpt=1 (queue active)
Sep 12 09:42:33 mailtest postfix/qmgr[24207]: 0971114E4A: removed
Sep 12 09:42:33 mailtest postfix/smtp[13701]: 1160D14E4C: to=<postmaster@change-this-to-your.domain.tld>;, relay=none, delay=0, status=bounced (Host or domain name not found. Name service error for name=change-this-to-your.domain.tld type=A: Host not found)
Sep 12 09:42:33 mailtest postfix/qmgr[24207]: 1160D14E4C: removed
Sep 12 09:42:34 mailtest postfix/pipe[13694]: 0668114E4D: to=<root@p5w.net>;, relay=maildrop, delay=1, status=bounced (Command died with status 1: "/usr/local/bin/maildrop"
Sep 12 09:42:34 mailtest postfix/qmgr[24207]: 0668114E4D: removed
Sep 12 11:26:37 mailtest postfix/postfix-script: fatal: the Postfix mail system is already running
Sep 12 11:27:13 mailtest postfix/postfix-script: stopping the Postfix mail system
Sep 12 11:27:13 mailtest postfix/master[24205]: terminating on signal 15

可能是maildrop路径不对,后来我又拷贝了一个到需要的路径上,还是不行。我在postfixadmin创建的用户和密码没有错啊。
能创建用户,倒是创建用户目录有点问题,本来正常的是mailbox/domain/user,我的却是/mailbox/domain+user。
那位高手知道,指点一下啊。郁闷啊!谢谢啊!

论坛徽章:
0
5 [报告]
发表于 2005-09-14 14:38 |只看该作者

装postfix, telnet localhost 110不成功

我的新日志
Sep 14 14:21:53 mailtest pop3d: LOGIN FAILED, user=test@p5w.net, ip=[::ffff:127.0.0.1]
Sep 14 14:22:19 mailtest pop3d: LOGIN FAILED, user=postfixadmin@p5w.net, ip=[::ffff:127.0.0.1]
Sep 14 14:22:25 mailtest pop3d: LOGOUT, ip=[::ffff:127.0.0.1]
Sep 14 14:22:25 mailtest pop3d: Disconnected, ip=[::ffff:127.0.0.1]

那位高手知道给我说说啊!

论坛徽章:
0
6 [报告]
发表于 2005-09-14 15:59 |只看该作者

装postfix, telnet localhost 110不成功

你确信你的邮箱账户都已经建立成功嘛?

我觉得你的maildrop有点问题

论坛徽章:
0
7 [报告]
发表于 2005-09-14 17:33 |只看该作者

装postfix, telnet localhost 110不成功

maildrop 测试没有问题啊。我实在找不到什么错误了。
可能是前面的编译有问题吧,我重新安装系统了!
我在坚持! 希望这是最后的了!

论坛徽章:
0
8 [报告]
发表于 2005-09-14 22:02 |只看该作者

装postfix, telnet localhost 110不成功

兄弟我给我说了你就来一个bsd的一下就OK了
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP