歡迎您光臨本站 註冊首頁

postfix:在國內發給自己正常,在國外發給自己就報錯

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

postfix:在國內發給自己正常,在國外發給自己就報錯

postfix一個非常奇怪的問題:

基於postfix的郵件系統,在國內收、發、轉發和發給自己都沒有問題;
但是在國外可以收郵件、發送給其他人,不過發給自己就報錯。

maillog中也沒有抓到相關的報錯信息,在國外的outlook上測試,返回的錯誤信息為:
"send test email message: Unable to send test message, please verify the Email address field.「

經檢查發現E-mail Address欄位正常

真是非常奇怪。
請高手指點!!

postfix『s main.cf:
queue_directory   = /u1/postfix/queue
command_directory = /usr/sbin
daemon_directory  = /usr/libexec/postfix
data_directory    = /u1/postfix/data
mail_owner = postfix
setgid_group = postdrop
myhostname = mail.example.com.cn
mydomain   = example.com.cn
myorigin   = $mydomain
inet_interfaces      = all
mydestination        = $myhostname, localhost.localdomain, localhost
mynetworks           = x.x.x.x/32, x.x.x.x/32, 127.0.0.0/8
local_recipient_maps =
unknown_local_recipient_reject_code = 550
recipient_delimiter = +
alias_maps     = hash:/etc/aliases
alias_database = hash:/etc/aliases
home_mailbox = Maildir/
mail_spool_directory = /u1/postfix/spool
smtpd_banner = $myhostname ESMTP $mail_name
in_flow_delay                         = 0s
local_destination_concurrency_limit   = 50
default_destination_concurrency_limit = 50
bounce_queue_lifetime  = 3600s
maximal_queue_lifetime = 3600s
default_process_limit  = 300
############################################################################
##debug_peer_level = 2
##debugger_command =
##       PATH=/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin
##       xxgdb $daemon_directory/$process_name $process_id & sleep 5
sendmail_path      = /usr/sbin/sendmail.postfix
newaliases_path    = /usr/bin/newaliases.postfix
mailq_path         = /usr/bin/mailq.postfix
html_directory     = no
manpage_directory  = /usr/share/man
sample_directory   = /usr/share/doc/postfix-2.3.3/samples
readme_directory   = /u1/postfix/doc
###########################################################################
#### virtual mailbox
virtual_mailbox_domains  =  example.com.cn
virtual_mailbox_base     =  /u1/postfix/vmail
virtual_minimum_uid      =  80
virtual_uid_maps         =  static:89
virtual_gid_maps         =  static:89
virtual_mailbox_maps     =  mysql:/etc/postfix/sql/virtual_mailboxes.cf
virtual_alias_maps       =  mysql:/etc/postfix/sql/virtual_aliases.cf
############################################################################
#### sasl auth
smtpd_sasl_auth_enable   =  yes
smtpd_sasl_type          =  dovecot
smtpd_sasl_path          =  private/auth
broken_sasl_auth_clients =  yes
smtpd_sasl_local_domain  =
smtpd_recipient_restrictions    =
     permit_mynetworks,
     check_sender_access hash:/etc/postfix/check_sender,
     reject_non_fqdn_sender,
     reject_unknown_sender_domain,
     reject_non_fqdn_recipient,
     reject_unknown_recipient_domain,
     reject_sender_login_mismatch,
     reject_authenticated_sender_login_mismatch,
     reject_unauthenticated_sender_login_mismatch,
     permit_sasl_authenticated,
     reject_unauth_destination,
     permit
smtpd_sender_login_maps =
    mysql:/etc/postfix/sql/auth_virtual_sender_maps.cf,
    mysql:/etc/postfix/sql/auth_virtual_alias_maps.cf
smtpd_reject_unlisted_sender = yes
############################################################################
《解決方案》

請檢查DNS解釋或者說是不是IP地址給加入一些黑名單!
《解決方案》

確認不是IP或DNS被列入了黑名單

原因尚不清楚

[火星人 ] postfix:在國內發給自己正常,在國外發給自己就報錯已經有436次圍觀

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