歡迎您光臨本站 註冊首頁

Postfix無法收發郵件!!!

←手機掃碼閱讀     火星人 @ 2014-03-04 , reply:0

Postfix無法收發郵件!!!

新建的Postfix,沒有DNS也沒有域!使用IP訪問,真心請教哪裡出錯了???
main.cf文件配置如下:
# 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
# clear
# 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: warning: process /usr/libexec/postfix/smtpd pid 8378 exit status 1
Jun 13 16:44:57 serverback postfix/master: warning: /usr/libexec/postfix/smtpd: bad command startup -- throttling
Jun 13 16:45:57 serverback postfix/smtpd: warning: dict_nis_init: NIS domain name not set - NIS lookups disabled
Jun 13 16:45:57 serverback postfix/smtpd: 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: warning: process /usr/libexec/postfix/smtpd pid 8381 exit status 1
Jun 13 16:45:58 serverback postfix/master: warning: /usr/libexec/postfix/smtpd: bad command startup -- throttling
Jun 13 16:46:58 serverback postfix/smtpd: warning: dict_nis_init: NIS domain name not set - NIS lookups disabled
Jun 13 16:46:58 serverback postfix/smtpd: 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: warning: process /usr/libexec/postfix/smtpd pid 8420 exit status 1
Jun 13 16:46:59 serverback postfix/master: warning: /usr/libexec/postfix/smtpd: bad command startup -- throttling
Jun 13 16:47:59 serverback postfix/smtpd: warning: dict_nis_init: NIS domain name not set - NIS lookups disabled
Jun 13 16:47:59 serverback postfix/smtpd: 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: warning: process /usr/libexec/postfix/smtpd pid 8425 exit status 1
Jun 13 16:48:00 serverback postfix/master: warning: /usr/libexec/postfix/smtpd: bad command startup -- throttling
Jun 13 16:49:00 serverback postfix/smtpd: warning: dict_nis_init: NIS domain name not set - NIS lookups disabled
Jun 13 16:49:00 serverback postfix/smtpd: 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: warning: process /usr/libexec/postfix/smtpd pid 8430 exit status 1
Jun 13 16:49:01 serverback postfix/master: warning: /usr/libexec/postfix/smtpd: bad command startup -- throttling
Jun 13 16:50:01 serverback postfix/smtpd: warning: dict_nis_init: NIS domain name not set - NIS lookups disabled
Jun 13 16:50:01 serverback postfix/smtpd: 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: warning: process /usr/libexec/postfix/smtpd pid 8433 exit status 1
Jun 13 16:50:02 serverback postfix/master: warning: /usr/libexec/postfix/smtpd: bad command startup -- throttling
Jun 13 16:51:02 serverback postfix/smtpd: warning: dict_nis_init: NIS domain name not set - NIS lookups disabled
Jun 13 16:51:02 serverback postfix/smtpd: 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: warning: process /usr/libexec/postfix/smtpd pid 8436 exit status 1
Jun 13 16:51:03 serverback postfix/master: warning: /usr/libexec/postfix/smtpd: bad command startup -- throttling
Jun 13 16:52:03 serverback postfix/smtpd: warning: dict_nis_init: NIS domain name not set - NIS lookups disabled
Jun 13 16:52:03 serverback postfix/smtpd: 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: warning: process /usr/libexec/postfix/smtpd pid 8449 exit status 1
Jun 13 16:52:04 serverback postfix/master: warning: /usr/libexec/postfix/smtpd: bad command startup -- throttling
Jun 13 16:53:04 serverback postfix/smtpd: warning: dict_nis_init: NIS domain name not set - NIS lookups disabled
Jun 13 16:53:04 serverback postfix/smtpd: 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: warning: process /usr/libexec/postfix/smtpd pid 8453 exit status 1
Jun 13 16:53:05 serverback postfix/master: warning: /usr/libexec/postfix/smtpd: bad command startup -- throttling
Jun 13 16:54:05 serverback postfix/smtpd: warning: dict_nis_init: NIS domain name not set - NIS lookups disabled
Jun 13 16:54:05 serverback postfix/smtpd: warning: dict_nis_init: NIS domain name not set - NIS lookups disabled
Jun 13 16:54:05 serverback postfix/smtpd: connect from serverback.ky.com
Jun 13 16:54:05 serverback postfix/smtpd: lost connection after HELO from serverback.ky.com
Jun 13 16:54:05 serverback postfix/smtpd: disconnect from serverback.ky.com
Jun 13 16:54:05 serverback postfix/smtpd: connect from unknown
Jun 13 16:54:05 serverback postfix/smtpd: AB6267E0261: client=unknown, sasl_method=LOGIN, sasl_username=ky1@"
Jun 13 16:54:05 serverback postfix/cleanup: AB6267E0261: message-id=<201206131650513901580@kymail.com>
Jun 13 16:54:05 serverback postfix/qmgr: AB6267E0261: from=<ky1@kymail.com>, size=1696, nrcpt=1 (queue active)
Jun 13 16:54:05 serverback postfix/smtpd: disconnect from unknown
Jun 13 16:54:07 serverback postfix/smtp: AB6267E0261: to=<254102810@qq.com>, relay=mx3.qq.com:25, delay=1.9, delays=0.03/0.01/0.57/1.3, dsn=5.0.0, status=bounced (host mx3.qq.com said: 550 Mail content denied. http://service.mail.qq.com/cgi-bin/help?subtype=1&&id=20022&&no=1000726 (in reply to end of DATA command))
Jun 13 16:54:07 serverback postfix/cleanup: 90EAB7E026B: message-id=<20120613085407.90EAB7E026B@serverback.ky.com>
Jun 13 16:54:07 serverback postfix/bounce: AB6267E0261: sender non-delivery notification: 90EAB7E026B
Jun 13 16:54:07 serverback postfix/qmgr: 90EAB7E026B: from=<>, size=3689, nrcpt=1 (queue active)
Jun 13 16:54:07 serverback postfix/qmgr: AB6267E0261: removed
Jun 13 16:54:08 serverback postfix/smtp: 90EAB7E026B: to=<ky1@kymail.com>, relay=mx.kymail.com:25, delay=1.1, delays=0.01/0/1.1/0, dsn=4.4.2, status=deferred (lost connection with mx.kymail.com while receiving the initial server greeting)
Jun 13 16:54:16 serverback postfix/postfix-script: stopping the Postfix mail system

[火星人 ] Postfix無法收發郵件!!!已經有685次圍觀

http://coctec.com/docs/service/show-post-12763.html