免费注册 查看新帖 |

Chinaunix

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

[Mail] Postfix无法收发邮件!!! [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2012-06-13 17:11 |只看该作者 |倒序浏览
新建的Postfix,没有DNS也没有域!使用IP访问,真心请教哪里出错了???
main.cf文件配置如下:
[root@serverback ky1]# postconf -n
broken_sasl_auth_clients = yes
command_directory = /usr/sbin
config_directory = /etc/postfix
daemon_directory = /usr/libexec/postfix
debug_peer_level = 2
html_directory = no
inet_interfaces = all
mail_owner = postfix
mailq_path = /usr/bin/mailq
manpage_directory = /usr/share/man
mydestination = $myhostname, localhost.$mydomain, localhost
mydomain = kymail.com
myhostname = serverback.ky.com
mynetworks = 172.17.18.0/24, 127.0.0.0/8
myorigin = $mydomain
newaliases_path = /usr/bin/newaliases
queue_directory = /var/spool/postfix
readme_directory = /usr/share/doc/postfix-2.3.3/README_FILES
relay_domains = $mydestination
sample_directory = /usr/share/doc/postfix-2.3.3/samples
sendmail_path = /usr/sbin/sendmail
setgid_group = postdrop
smtpd_client_restrictions = permit_sasl_authenticated
smtpd_sasl_auth_enable = yes
smtpd_sasl_local_domain = "
smtpd_sasl_security_options = noanonymous
unknown_local_recipient_reject_code = 550
[root@serverback ky1]# clear
[root@serverback ky1]# postconf -n
broken_sasl_auth_clients = yes
command_directory = /usr/sbin
config_directory = /etc/postfix
daemon_directory = /usr/libexec/postfix
debug_peer_level = 2
html_directory = no
inet_interfaces = all
mail_owner = postfix
mailq_path = /usr/bin/mailq
manpage_directory = /usr/share/man
mydestination = $myhostname, localhost.$mydomain, localhost
mydomain = kymail.com
myhostname = serverback.ky.com
mynetworks = 172.17.18.0/24, 127.0.0.0/8
myorigin = $mydomain
newaliases_path = /usr/bin/newaliases
queue_directory = /var/spool/postfix
readme_directory = /usr/share/doc/postfix-2.3.3/README_FILES
relay_domains = $mydestination
sample_directory = /usr/share/doc/postfix-2.3.3/samples
sendmail_path = /usr/sbin/sendmail
setgid_group = postdrop
smtpd_client_restrictions = permit_sasl_authenticated
smtpd_sasl_auth_enable = yes
smtpd_sasl_local_domain = "
smtpd_sasl_security_options = noanonymous
unknown_local_recipient_reject_code = 550


这是日志文件记录的错误,看不太懂!还请高人指教


Jun 13 16:44:57 serverback postfix/master[8280]: warning: process /usr/libexec/postfix/smtpd pid 8378 exit status 1
Jun 13 16:44:57 serverback postfix/master[8280]: warning: /usr/libexec/postfix/smtpd: bad command startup -- throttling
Jun 13 16:45:57 serverback postfix/smtpd[8381]: warning: dict_nis_init: NIS domain name not set - NIS lookups disabled
Jun 13 16:45:57 serverback postfix/smtpd[8381]: fatal: parameter "smtpd_recipient_restrictions": specify at least one working instance of: check_relay_domains, reject_unauth_destination, reject, defer or defer_if_permit
Jun 13 16:45:58 serverback postfix/master[8280]: warning: process /usr/libexec/postfix/smtpd pid 8381 exit status 1
Jun 13 16:45:58 serverback postfix/master[8280]: warning: /usr/libexec/postfix/smtpd: bad command startup -- throttling
Jun 13 16:46:58 serverback postfix/smtpd[8420]: warning: dict_nis_init: NIS domain name not set - NIS lookups disabled
Jun 13 16:46:58 serverback postfix/smtpd[8420]: fatal: parameter "smtpd_recipient_restrictions": specify at least one working instance of: check_relay_domains, reject_unauth_destination, reject, defer or defer_if_permit
Jun 13 16:46:59 serverback postfix/master[8280]: warning: process /usr/libexec/postfix/smtpd pid 8420 exit status 1
Jun 13 16:46:59 serverback postfix/master[8280]: warning: /usr/libexec/postfix/smtpd: bad command startup -- throttling
Jun 13 16:47:59 serverback postfix/smtpd[8425]: warning: dict_nis_init: NIS domain name not set - NIS lookups disabled
Jun 13 16:47:59 serverback postfix/smtpd[8425]: fatal: parameter "smtpd_recipient_restrictions": specify at least one working instance of: check_relay_domains, reject_unauth_destination, reject, defer or defer_if_permit
Jun 13 16:48:00 serverback postfix/master[8280]: warning: process /usr/libexec/postfix/smtpd pid 8425 exit status 1
Jun 13 16:48:00 serverback postfix/master[8280]: warning: /usr/libexec/postfix/smtpd: bad command startup -- throttling
Jun 13 16:49:00 serverback postfix/smtpd[8430]: warning: dict_nis_init: NIS domain name not set - NIS lookups disabled
Jun 13 16:49:00 serverback postfix/smtpd[8430]: fatal: parameter "smtpd_recipient_restrictions": specify at least one working instance of: check_relay_domains, reject_unauth_destination, reject, defer or defer_if_permit
Jun 13 16:49:01 serverback postfix/master[8280]: warning: process /usr/libexec/postfix/smtpd pid 8430 exit status 1
Jun 13 16:49:01 serverback postfix/master[8280]: warning: /usr/libexec/postfix/smtpd: bad command startup -- throttling
Jun 13 16:50:01 serverback postfix/smtpd[8433]: warning: dict_nis_init: NIS domain name not set - NIS lookups disabled
Jun 13 16:50:01 serverback postfix/smtpd[8433]: fatal: parameter "smtpd_recipient_restrictions": specify at least one working instance of: check_relay_domains, reject_unauth_destination, reject, defer or defer_if_permit
Jun 13 16:50:02 serverback postfix/master[8280]: warning: process /usr/libexec/postfix/smtpd pid 8433 exit status 1
Jun 13 16:50:02 serverback postfix/master[8280]: warning: /usr/libexec/postfix/smtpd: bad command startup -- throttling
Jun 13 16:51:02 serverback postfix/smtpd[8436]: warning: dict_nis_init: NIS domain name not set - NIS lookups disabled
Jun 13 16:51:02 serverback postfix/smtpd[8436]: fatal: parameter "smtpd_recipient_restrictions": specify at least one working instance of: check_relay_domains, reject_unauth_destination, reject, defer or defer_if_permit
Jun 13 16:51:03 serverback postfix/master[8280]: warning: process /usr/libexec/postfix/smtpd pid 8436 exit status 1
Jun 13 16:51:03 serverback postfix/master[8280]: warning: /usr/libexec/postfix/smtpd: bad command startup -- throttling
Jun 13 16:52:03 serverback postfix/smtpd[8449]: warning: dict_nis_init: NIS domain name not set - NIS lookups disabled
Jun 13 16:52:03 serverback postfix/smtpd[8449]: fatal: parameter "smtpd_recipient_restrictions": specify at least one working instance of: check_relay_domains, reject_unauth_destination, reject, defer or defer_if_permit
Jun 13 16:52:04 serverback postfix/master[8280]: warning: process /usr/libexec/postfix/smtpd pid 8449 exit status 1
Jun 13 16:52:04 serverback postfix/master[8280]: warning: /usr/libexec/postfix/smtpd: bad command startup -- throttling
Jun 13 16:53:04 serverback postfix/smtpd[8453]: warning: dict_nis_init: NIS domain name not set - NIS lookups disabled
Jun 13 16:53:04 serverback postfix/smtpd[8453]: fatal: parameter "smtpd_recipient_restrictions": specify at least one working instance of: check_relay_domains, reject_unauth_destination, reject, defer or defer_if_permit
Jun 13 16:53:05 serverback postfix/master[8280]: warning: process /usr/libexec/postfix/smtpd pid 8453 exit status 1
Jun 13 16:53:05 serverback postfix/master[8280]: warning: /usr/libexec/postfix/smtpd: bad command startup -- throttling
Jun 13 16:54:05 serverback postfix/smtpd[8457]: warning: dict_nis_init: NIS domain name not set - NIS lookups disabled
Jun 13 16:54:05 serverback postfix/smtpd[8459]: warning: dict_nis_init: NIS domain name not set - NIS lookups disabled
Jun 13 16:54:05 serverback postfix/smtpd[8457]: connect from serverback.ky.com[127.0.0.1]
Jun 13 16:54:05 serverback postfix/smtpd[8457]: lost connection after HELO from serverback.ky.com[127.0.0.1]
Jun 13 16:54:05 serverback postfix/smtpd[8457]: disconnect from serverback.ky.com[127.0.0.1]
Jun 13 16:54:05 serverback postfix/smtpd[8459]: connect from unknown[172.17.18.13]
Jun 13 16:54:05 serverback postfix/smtpd[8459]: AB6267E0261: client=unknown[172.17.18.13], sasl_method=LOGIN, sasl_username=ky1@"
Jun 13 16:54:05 serverback postfix/cleanup[8461]: AB6267E0261: message-id=<201206131650513901580@kymail.com>
Jun 13 16:54:05 serverback postfix/qmgr[8283]: AB6267E0261: from=<ky1@kymail.com>, size=1696, nrcpt=1 (queue active)
Jun 13 16:54:05 serverback postfix/smtpd[8459]: disconnect from unknown[172.17.18.13]
Jun 13 16:54:07 serverback postfix/smtp[8462]: AB6267E0261: to=<254102810@qq.com>, relay=mx3.qq.com[119.147.193.93]:25, delay=1.9, delays=0.03/0.01/0.57/1.3, dsn=5.0.0, status=bounced (host mx3.qq.com[119.147.193.93] said: 550 Mail content denied. http://service.mail.qq.com/cgi-b ... amp;&no=1000726 (in reply to end of DATA command))
Jun 13 16:54:07 serverback postfix/cleanup[8461]: 90EAB7E026B: message-id=<20120613085407.90EAB7E026B@serverback.ky.com>
Jun 13 16:54:07 serverback postfix/bounce[8463]: AB6267E0261: sender non-delivery notification: 90EAB7E026B
Jun 13 16:54:07 serverback postfix/qmgr[8283]: 90EAB7E026B: from=<>, size=3689, nrcpt=1 (queue active)
Jun 13 16:54:07 serverback postfix/qmgr[8283]: AB6267E0261: removed
Jun 13 16:54:08 serverback postfix/smtp[8462]: 90EAB7E026B: to=<ky1@kymail.com>, relay=mx.kymail.com[66.63.192.10]:25, delay=1.1, delays=0.01/0/1.1/0, dsn=4.4.2, status=deferred (lost connection with mx.kymail.com[66.63.192.10] while receiving the initial server greeting)
Jun 13 16:54:16 serverback postfix/postfix-script: stopping the Postfix mail system
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP