歡迎您光臨本站 註冊首頁

554 5.7.1Relay access denied

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

554 5.7.1Relay access denied

outlook不能發信,可以收信
在內部網路時好用,出了公司,在別的地方,就不好用了
在用OUTLOOK EXPRESS發信時,會有一個提示 554 5.7.1Relay access denied
???
達人們,謝謝了

Nov 21 11:19:30 mail postfix/smtpd: NOQUEUE: reject: RCPT from unknown: 554 5.7.1 <XXX@tom.com>: Relay access denied; from=<XXX@lXXX.com.cn> to=<XXXX@tom.com> proto=SMTP helo=<PC200811041934>


broken_sasl_auth_clients = yes
smtpd_recipient_restrictions=permit_mynetworks,permit_sasl_authenticated,reject_unknown_sender_domain,reject_non_fqdn_sender,reject_non_fqdn_recipient,reject_unknown_recipient_domain,reject_unauth_destination
smtpd_sasl_auth_enable = yes
smtpd_sasl_local_domain = $myhostname
smtpd_sasl_security_options = noanonymous
smtpd_sasl_application_name = smtpd
smtpd_banner = Welcome to our $myhostname ESMTP,Warning: Version not Available!
virtual_mailbox_base = /var/mailbox
virtual_mailbox_maps = mysql:/etc/postfix/mysql_virtual_mailbox_maps.cf
virtual_mailbox_domains = mysql:/etc/postfix/mysql_virtual_domains_maps.cf
virtual_alias_domains =
virtual_alias_maps = mysql:/etc/postfix/mysql_virtual_alias_maps.cf
virtual_uid_maps = static:1001
virtual_gid_maps = static:1001
virtual_transport = maildrop:
maildrop_destination_recipient_limit = 1
maildrop_destination_concurrency_limit = 1

[ 本帖最後由 yang1229 於 2008-11-21 13:40 編輯 ]
《解決方案》

outlook express裡面要設置發信認證吧
《解決方案》

己經把那個勾給點上了,還是一樣
《解決方案》

發送所有外網地址都收不了嗎?有可能是對方阻止了你.
看看maillog是什麼內容.
《解決方案》

是呀。發往哪個都不行。
Nov 21 11:19:30 mail postfix/smtpd: NOQUEUE: reject: RCPT from unknown: 554 5.7.1 <XXX@tom.com>: Relay access denied; from=<XXX@lXXX.com.cn> to=<XXXX@tom.com> proto=SMTP helo=<PC200811041934>

----------------------------------------------------------
配置
broken_sasl_auth_clients = yes
smtpd_recipient_restrictions=permit_mynetworks,permit_sasl_authenticated,reject_unknown_sender_domain,reject_non_fqdn_sender,reject_non_fqdn_recipient,reject_unknown_recipient_domain,reject_unauth_destination
smtpd_sasl_auth_enable = yes
smtpd_sasl_local_domain = $myhostname
smtpd_sasl_security_options = noanonymous
smtpd_sasl_application_name = smtpd
smtpd_banner = Welcome to our $myhostname ESMTP,Warning: Version not Available!
virtual_mailbox_base = /var/mailbox
virtual_mailbox_maps = mysql:/etc/postfix/mysql_virtual_mailbox_maps.cf
virtual_mailbox_domains = mysql:/etc/postfix/mysql_virtual_domains_maps.cf
virtual_alias_domains =
virtual_alias_maps = mysql:/etc/postfix/mysql_virtual_alias_maps.cf
virtual_uid_maps = static:1001
virtual_gid_maps = static:1001
virtual_transport = maildrop:
maildrop_destination_recipient_limit = 1
maildrop_destination_concurrency_limit = 1
《解決方案》

看起來是矛盾的

如果smtp auth通過了,是可以發送郵件的

如果smtp auth未能通過,postfix會提前提示錯誤,不應該到達1Relay access denied
《解決方案》

postconf -n
__________________________________________________---
broken_sasl_auth_clients = yes
command_directory = /usr/local/postfix/sbin
config_directory = /etc/postfix
daemon_directory = /usr/local/postfix/libexec
debug_peer_level = 2
html_directory = /var/www/postfix_html
inet_interfaces = all
mail_owner = postfix
mailq_path = /usr/bin/mailq
manpage_directory = /usrl/local/postfix/man
message_size_limit = 20971520
mydestination =
mydomain = lumeiopto.com.cn
myhostname = mail.lumeiopto.com.cn
mynetworks = 192.168.0.0/24, 127.0.0.0/8
myorigin = $mydomain
newaliases_path = /usr/bin/newaliases
queue_directory = /var/spool/postfix
readme_directory = no
sample_directory = /etc/postfix
sendmail_path = /usr/sbin/sendmail
setgid_group = postdrop
smtpd_banner = Welcome to our $myhostname ESMTP,Warning: Version not Available!
smtpd_recipient_restrictions = permit_mynetworks,permit_sasl_authenticated,reject_invalid_hostname,reject_non_fqdn_hostname,reject_unknown_sender_domain,reject_non_fqdn_sender,reject_non_fqdn_recipient,reject_unknown_recipient_domain,reject_unauth_pipelining,reject_unauth_destination
smtpd_sasl_auth_enable = yes
smtpd_sasl_local_domain = $myhostname
smtpd_sasl_security_options = noanonymous
unknown_local_recipient_reject_code = 550
virtual_alias_domains =
virtual_alias_maps = mysql:/etc/postfix/mysql_virtual_alias_maps.cf
virtual_gid_maps = static:1001
virtual_mailbox_base = /var/mailbox
virtual_mailbox_domains = mysql:/etc/postfix/mysql_virtual_domains_maps.cf
virtual_mailbox_limit = 20971520
virtual_mailbox_maps = mysql:/etc/postfix/mysql_virtual_mailbox_maps.cf
virtual_transport = maildrop:
virtual_uid_maps = static:1001
《解決方案》

回復 #1 yang1229 的帖子

增加mynetworks = 參數,設定可以使用的網路
《解決方案》

mynetworks = 192.168.0.0/24, 127.0.0.0/8
我設了呀。。。這是內部的地址。。。
如果用拔號在家裡怎麼辦。。或是出差那麼就沒有固定的地址。。
《解決方案》

頂一下 !!關注這個問題!

[ 本帖最後由 songpure520 於 2008-11-22 17:20 編輯 ]

[火星人 ] 554 5.7.1Relay access denied已經有1567次圍觀

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