免费注册 查看新帖 |

Chinaunix

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

[Mail] 求助~关于postfix~ [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2009-08-30 23:40 |只看该作者 |倒序浏览
小弟遇到个麻烦~请大家帮忙~telnet localhost 25
Trying 127.0.0.1...
Connected to localhost.localdomain (127.0.0.1).
Escape character is '^]'.
220 Welcome to our dxt-webcache-5 ESMTP,Warning: Version not Available!
ehlo mail
250-dxt-webcache-5
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:<root@cdn.net>
到这里系统就没有任何反映了~只能关闭对话框重新打开~请教各位是怎么回事~

论坛徽章:
0
2 [报告]
发表于 2009-08-30 23:51 |只看该作者
原帖由 shiv 于 2009-8-30 23:40 发表
小弟遇到个麻烦~请大家帮忙~telnet localhost 25
Trying 127.0.0.1...
Connected to localhost.localdomain (127.0.0.1).
Escape character is '^]'.
220 Welcome to our dxt-webcache-5 ESMTP,Warning: Ve ...

贴上日志

论坛徽章:
0
3 [报告]
发表于 2009-08-30 23:59 |只看该作者

tail -30 maillog的~

tail -30 /var/log/maillog
Aug 30 23:55:12 localhost postfix/master[20013]: warning: process /usr/local/postfix/libexec/trivial-rewrite pid 20048 exit status 1
Aug 30 23:55:12 localhost postfix/master[20013]: warning: process /usr/local/postfix/libexec/trivial-rewrite pid 20049 exit status 1
Aug 30 23:55:13 localhost postfix/trivial-rewrite[20050]: warning: connect to mysql server localhost: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (111)
Aug 30 23:55:13 localhost postfix/trivial-rewrite[20050]: fatal: mysql:/etc/postfix/mysql_virtual_domains_maps.cf(0,lock|fold_fix): table lookup problem
Aug 30 23:55:13 localhost postfix/trivial-rewrite[20051]: warning: connect to mysql server localhost: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (111)
Aug 30 23:55:13 localhost postfix/trivial-rewrite[20051]: fatal: mysql:/etc/postfix/mysql_virtual_domains_maps.cf(0,lock|fold_fix): table lookup problem
Aug 30 23:55:14 localhost postfix/qmgr[20015]: warning: problem talking to service rewrite: Success
Aug 30 23:55:14 localhost postfix/master[20013]: warning: process /usr/local/postfix/libexec/trivial-rewrite pid 20050 exit status 1
Aug 30 23:55:14 localhost postfix/master[20013]: warning: /usr/local/postfix/libexec/trivial-rewrite: bad command startup -- throttling
Aug 30 23:55:14 localhost postfix/cleanup[20016]: warning: problem talking to service rewrite: Connection reset by peer
Aug 30 23:55:14 localhost postfix/master[20013]: warning: process /usr/local/postfix/libexec/trivial-rewrite pid 20051 exit status 1
Aug 30 15:55:14 localhost postfix/smtpd[20044]: warning: problem talking to service rewrite: Success
Aug 30 23:56:07 localhost pop3d: Connection, ip=[127.0.0.1]
Aug 30 23:56:14 localhost postfix/trivial-rewrite[20087]: warning: connect to mysql server localhost: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (111)
Aug 30 23:56:14 localhost postfix/trivial-rewrite[20087]: fatal: mysql:/etc/postfix/mysql_virtual_domains_maps.cf(0,lock|fold_fix): table lookup problem
Aug 30 23:56:14 localhost postfix/trivial-rewrite[20088]: warning: connect to mysql server localhost: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (111)
Aug 30 23:56:14 localhost postfix/trivial-rewrite[20088]: fatal: mysql:/etc/postfix/mysql_virtual_domains_maps.cf(0,lock|fold_fix): table lookup problem
Aug 30 23:56:14 localhost postfix/cleanup[20016]: 6F918CB9CB9: message-id=<[email=20090830155413.6F918CB9CB9@dxt-webcache-5]20090830155413.6F918CB9CB9@dxt-webcache-5[/email]>
Aug 30 23:56:14 localhost postfix/cleanup[20016]: warning: connect to mysql server localhost: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (111)
Aug 30 23:56:14 localhost postfix/cleanup[20016]: warning: 6F918CB9CB9: virtual_alias_maps map lookup problem for policyd@cctvcdn.net
Aug 30 23:56:15 localhost postfix/qmgr[20015]: warning: problem talking to service rewrite: Success
Aug 30 23:56:15 localhost postfix/master[20013]: warning: process /usr/local/postfix/libexec/trivial-rewrite pid 20087 exit status 1
Aug 30 23:56:15 localhost postfix/master[20013]: warning: /usr/local/postfix/libexec/trivial-rewrite: bad command startup -- throttling
Aug 30 23:56:15 localhost postfix/master[20013]: warning: process /usr/local/postfix/libexec/trivial-rewrite pid 20088 exit status 1
Aug 30 15:56:15 localhost postfix/smtpd[20044]: warning: problem talking to service rewrite: Success
Aug 30 23:56:15 localhost postfix/pickup[20014]: warning: 1AFC2CB9CB9: message has been queued for 2 days
Aug 30 23:56:15 localhost postfix/pickup[20014]: 1AFC2CB9CB9: uid=0 from=<root>
Aug 30 23:56:17 localhost authdaemond: failed to connect to mysql server (server=localhost, userid=extmail): Access denied for user [email=]'extmail'@'localhost'[/email] (using password: YES)
Aug 30 23:56:17 localhost pop3d: LOGIN FAILED, user=root, ip=[127.0.0.1]
Aug 30 23:56:17 localhost pop3d: authentication error: Input/output error

论坛徽章:
0
4 [报告]
发表于 2009-08-31 00:01 |只看该作者

回复 #2 scyzxp 的帖子

小弟初学~问的很多问题很幼稚~辛苦

论坛徽章:
8
综合交流区版块每周发帖之星
日期:2015-12-02 15:03:53数据库技术版块每日发帖之星
日期:2015-10-02 06:20:00IT运维版块每日发帖之星
日期:2015-10-02 06:20:00IT运维版块每日发帖之星
日期:2015-09-14 06:20:00金牛座
日期:2014-10-10 11:23:34CU十二周年纪念徽章
日期:2013-10-24 15:41:34酉鸡
日期:2013-10-19 10:17:1315-16赛季CBA联赛之北京
日期:2017-03-06 15:12:44
5 [报告]
发表于 2009-08-31 08:18 |只看该作者
Aug 30 23:55:13 localhost postfix/trivial-rewrite[20050]: warning: connect to mysql server localhost: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (111)


Aug 30 23:56:17 localhost authdaemond: failed to connect to mysql server (server=localhost, userid=extmail): Access denied for user [email=]'extmail'@'localhost'[/email] (using password: YES)

先解决上面的两个问题

论坛徽章:
0
6 [报告]
发表于 2009-09-01 14:23 |只看该作者

回复 #5 ruochen 的帖子

现在那些问题没有了~又出来个新的~同样是telnet localhost 25就没反映了
Sep  1 06:18:16 localhost postfix/smtpd[31084]: fatal: no SASL authentication mechanisms
Sep  1 14:18:16 localhost postfix/smtpd[31086]: warning: xsasl_cyrus_server_get_mechanism_list: no applicable SASL mechanisms
Sep  1 06:18:16 localhost postfix/smtpd[31086]: fatal: no SASL authentication mechanisms
Sep  1 14:18:17 localhost postfix/master[30798]: warning: process /usr/local/postfix/libexec/smtpd pid 31084 exit status 1
Sep  1 14:18:17 localhost postfix/master[30798]: warning: /usr/local/postfix/libexec/smtpd: bad command startup -- throttling
Sep  1 14:18:17 localhost postfix/master[30798]: warning: process /usr/local/postfix/libexec/smtpd pid 31086 exit status 1

论坛徽章:
0
7 [报告]
发表于 2009-09-01 14:26 |只看该作者
原帖由 ottolane 于 2009-9-1 14:23 发表
现在那些问题没有了~又出来个新的~同样是telnet localhost 25就没反映了
Sep  1 06:18:16 localhost postfix/smtpd[31084]: fatal: no SASL authentication mechanisms
Sep  1 14:18:16 localhost postfix/sm ...


postconf -a

我要结果

论坛徽章:
8
综合交流区版块每周发帖之星
日期:2015-12-02 15:03:53数据库技术版块每日发帖之星
日期:2015-10-02 06:20:00IT运维版块每日发帖之星
日期:2015-10-02 06:20:00IT运维版块每日发帖之星
日期:2015-09-14 06:20:00金牛座
日期:2014-10-10 11:23:34CU十二周年纪念徽章
日期:2013-10-24 15:41:34酉鸡
日期:2013-10-19 10:17:1315-16赛季CBA联赛之北京
日期:2017-03-06 15:12:44
8 [报告]
发表于 2009-09-01 14:36 |只看该作者
下面的两个警报提醒你注意

Sep  1 14:18:16 localhost postfix/smtpd[31086]: warning: xsasl_cyrus_server_get_mechanism_list: no applicable SASL mechanisms


Sep  1 14:18:17 localhost postfix/master[30798]: warning: /usr/local/postfix/libexec/smtpd: bad command startup -- throttling

bad command startup 应该有配置参数错误

论坛徽章:
9
巳蛇
日期:2013-12-05 15:03:33戌狗
日期:2013-12-10 20:52:35白羊座
日期:2014-12-30 14:11:58处女座
日期:2015-01-15 14:33:442015年亚洲杯纪念徽章
日期:2015-01-28 13:37:36羊年新春福章
日期:2015-01-30 15:03:352015年亚洲杯之约旦
日期:2015-02-09 17:07:552015年亚洲杯之韩国
日期:2015-03-26 15:04:132015年亚洲杯之卡塔尔
日期:2015-04-04 16:35:54
9 [报告]
发表于 2009-09-01 15:35 |只看该作者
很多问题哦.......mysql......

论坛徽章:
0
10 [报告]
发表于 2009-09-01 16:31 |只看该作者

回复 #7 scyzxp 的帖子

这个就是结果,对比marion的资料应该是没问题吧~postconf -a
cyrus
dovecot
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP