切换到宽版
  • 17842阅读
  • 5回复

[分享]exchange2010 无法接收外部邮件 [复制链接]

上一主题 下一主题
 
只看楼主 倒序阅读 0楼  发表于: 2012-03-06

刚部署了Exchange2010邮件服务器,测试时发现内部邮件收发没问题,外部邮件发给内部收不到。
QQ邮箱发送状态:投递成功
但是内部邮箱始终没有收到邮件。
防火墙端口都完全开放了,MX记录也是对的
上网查了资料,尝试着也没能解决,寻求高手帮助。


         欢迎使用 Exchange 命令行管理程序!
cmdlet 的完整列表: Get-Command
仅 Exchange cmdlet: Get-ExCommand
与特定字符串匹配的 cmdlet: Help *<string>*
获取常规帮助: Help
获取有关 cmdlet 的帮助: Help <cmdlet name> or <cmdlet name> -?
显示快速参考指南: QuickRef
Exchange 团队博客: Get-ExBlog
显示命令的完整输出: <command> | Format-List
第 #87 天的提示:
通过键入以下内容快速获得邮箱数据库副本的运行状况和状态信息:
Get-DatabaseAvailabilityGroup DAG1 | %{ $_.Servers | %{ Get-MailboxDatabaseCopyStatus -Server $_ } }
详细信息: 正在连接到 mail.abc.com
详细信息: 已连接到 mail.abc.com。
[PS] C:\Windows\system32>Get-SendConnector
Identity                                AddressSpaces                           Enabled
--------                                -------------                           -------
sender                                  {SMTP:*;1}                              True
[PS] C:\Windows\system32>Get-SendConnector |fl
AddressSpaces                : {SMTP:*;1}
AuthenticationCredential     :
Comment                      :
ConnectedDomains             : {}
ConnectionInactivityTimeOut  : 00:10:00
DNSRoutingEnabled            : True
DomainSecureEnabled          : False
Enabled                      : True
ErrorPolicies                : Default
ForceHELO                    : False
Fqdn                         :
HomeMTA                      : Microsoft MTA
HomeMtaServerId              : MAIL
Identity                     : sender
IgnoreSTARTTLS               : False
IsScopedConnector            : False
IsSmtpConnector              : True
LinkedReceiveConnector       :
MaxMessageSize               : 10 MB (10,485,760 bytes)
Name                         : sender
Port                         : 25
ProtocolLoggingLevel         : None
RequireOorg                  : False
RequireTLS                   : False
SmartHostAuthMechanism       : None
SmartHosts                   : {}
SmartHostsString             :
SmtpMaxMessagesPerConnection : 20
SourceIPAddress              : 0.0.0.0
SourceRoutingGroup           : Exchange Routing Group (DWBGZMFD01QNBJR)
SourceTransportServers       : {MAIL}
TlsAuthLevel                 :
TlsDomain                    :
UseExternalDNSServersEnabled : False

[PS] C:\Windows\system32>Get-SendConnector |fl
AddressSpaces                : {SMTP:*;1}
AuthenticationCredential     :
Comment                      :
ConnectedDomains             : {}
ConnectionInactivityTimeOut  : 00:10:00
DNSRoutingEnabled            : True
DomainSecureEnabled          : False
Enabled                      : True
ErrorPolicies                : Default
ForceHELO                    : False
Fqdn                         :
HomeMTA                      : Microsoft MTA
HomeMtaServerId              : MAIL
Identity                     : sender
IgnoreSTARTTLS               : False
IsScopedConnector            : False
IsSmtpConnector              : True
LinkedReceiveConnector       :
MaxMessageSize               : 10 MB (10,485,760 bytes)
Name                         : sender
Port                         : 25
ProtocolLoggingLevel         : None
RequireOorg                  : False
RequireTLS                   : False
SmartHostAuthMechanism       : None
SmartHosts                   : {}
SmartHostsString             :
SmtpMaxMessagesPerConnection : 20
SourceIPAddress              : 0.0.0.0
SourceRoutingGroup           : Exchange Routing Group (DWBGZMFD01QNBJR)
SourceTransportServers       : {MAIL}
TlsAuthLevel                 :
TlsDomain                    :
UseExternalDNSServersEnabled : False

[PS] C:\Windows\system32>Get-ReceiveConnector |fl
RunspaceId                              : a52a8d46-78b7-462c-a6c2-17396bab2abc
AuthMechanism                           : Tls, Integrated, BasicAuth, BasicAuthRequireTLS, ExchangeServer
Banner                                  :
BinaryMimeEnabled                       : True
Bindings                                : {:::25, 0.0.0.0:25}
ChunkingEnabled                         : True
DefaultDomain                           :
DeliveryStatusNotificationEnabled       : True
EightBitMimeEnabled                     : True
BareLinefeedRejectionEnabled            : False
DomainSecureEnabled                     : True
EnhancedStatusCodesEnabled              : True
LongAddressesEnabled                    : False
OrarEnabled                             : False
SuppressXAnonymousTls                   : False
AdvertiseClientSettings                 : False
Fqdn                                    : mail.abc.com
Comment                                 :
Enabled                                 : True
ConnectionTimeout                       : 00:10:00
ConnectionInactivityTimeout             : 00:05:00
MessageRateLimit                        : unlimited
MessageRateSource                       : IPAddress
MaxInboundConnection                    : 5000
MaxInboundConnectionPerSource           : unlimited
MaxInboundConnectionPercentagePerSource : 100
MaxHeaderSize                           : 64 KB (65,536 bytes)
MaxHopCount                             : 60
MaxLocalHopCount                        : 12
MaxLogonFailures                        : 3
MaxMessageSize                          : 10 MB (10,485,760 bytes)
MaxProtocolErrors                       : 5
MaxRecipientsPerMessage                 : 5000
PermissionGroups                        : AnonymousUsers, ExchangeUsers, ExchangeServers, ExchangeLegacyServers
PipeliningEnabled                       : True
ProtocolLoggingLevel                    : None
RemoteIPRanges                          : {::-ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff, 0.0.0.0-255.255.255.255}
RequireEHLODomain                       : False
RequireTLS                              : False
EnableAuthGSSAPI                        : False
ExtendedProtectionPolicy                : None
LiveCredentialEnabled                   : False
TlsDomainCapabilities                   : {}
Server                                  : MAIL
SizeEnabled                             : EnabledWithoutValue
TarpitInterval                          : 00:00:05
MaxAcknowledgementDelay                 : 00:00:30
AdminDisplayName                        :
ExchangeVersion                         : 0.1 (8.0.535.0)
Name                                    : Default MAIL
DistinguishedName                       : CN=Default MAIL,CN=SMTP Receive Connectors,CN=Protocols,CN=MAIL,CN=Servers,CN
                                          =Exchange Administrative Group (FYDIBOHF23SPDLT),CN=Administrative Groups,CN=
                                          First Organization,CN=Microsoft Exchange,CN=Services,CN=Configuration,DC=junf
                                          agroup,DC=com
Identity                                : MAIL\Default MAIL
Guid                                    : a43a49ff-ff9f-474e-8ea9-a1b315e8e107
ObjectCategory                          : abc.com/Configuration/Schema/ms-Exch-Smtp-Receive-Connector
ObjectClass                             : {top, msExchSmtpReceiveConnector}
WhenChanged                             : 2012/3/6 14:07:06
WhenCreated                             : 2012/3/2 17:45:19
WhenChangedUTC                          : 2012/3/6 6:07:06
WhenCreatedUTC                          : 2012/3/2 9:45:19
OrganizationId                          :
OriginatingServer                       : AD.abc.com
IsValid                                 : True
RunspaceId                              : a52a8d46-78b7-462c-a6c2-17396bab2abc
AuthMechanism                           : Tls, Integrated, BasicAuth, BasicAuthRequireTLS, ExchangeServer
Banner                                  :
BinaryMimeEnabled                       : True
Bindings                                : {:::587, 0.0.0.0:587}
ChunkingEnabled                         : True
DefaultDomain                           :
DeliveryStatusNotificationEnabled       : True
EightBitMimeEnabled                     : True
BareLinefeedRejectionEnabled            : False
DomainSecureEnabled                     : True
EnhancedStatusCodesEnabled              : True
LongAddressesEnabled                    : False
OrarEnabled                             : False
SuppressXAnonymousTls                   : False
AdvertiseClientSettings                 : False
Fqdn                                    : mail.abc.com
Comment                                 :
Enabled                                 : True
ConnectionTimeout                       : 00:10:00
ConnectionInactivityTimeout             : 00:05:00
MessageRateLimit                        : 5
MessageRateSource                       : User
MaxInboundConnection                    : 5000
MaxInboundConnectionPerSource           : 20
MaxInboundConnectionPercentagePerSource : 2
MaxHeaderSize                           : 64 KB (65,536 bytes)
MaxHopCount                             : 60
MaxLocalHopCount                        : 12
MaxLogonFailures                        : 3
MaxMessageSize                          : 10 MB (10,485,760 bytes)
MaxProtocolErrors                       : 5
MaxRecipientsPerMessage                 : 200
PermissionGroups                        : AnonymousUsers, ExchangeUsers, ExchangeServers, ExchangeLegacyServers
PipeliningEnabled                       : True
ProtocolLoggingLevel                    : None
RemoteIPRanges                          : {::-ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff, 0.0.0.0-255.255.255.255}
RequireEHLODomain                       : False
RequireTLS                              : False
EnableAuthGSSAPI                        : True
ExtendedProtectionPolicy                : None
LiveCredentialEnabled                   : False
TlsDomainCapabilities                   : {}
Server                                  : MAIL
SizeEnabled                             : Enabled
TarpitInterval                          : 00:00:05
MaxAcknowledgementDelay                 : 00:00:30
AdminDisplayName                        :
ExchangeVersion                         : 0.1 (8.0.535.0)
Name                                    : Client MAIL
DistinguishedName                       : CN=Client MAIL,CN=SMTP Receive Connectors,CN=Protocols,CN=MAIL,CN=Servers,CN=
                                          Exchange Administrative Group (FYDIBOHF23SPDLT),CN=Administrative Groups,CN=F
                                          irst Organization,CN=Microsoft Exchange,CN=Services,CN=Configuration,DC=junfa
                                          group,DC=com
Identity                                : MAIL\Client MAIL
Guid                                    : 96070d69-27bc-46b5-bc02-19ffe1c6242c
ObjectCategory                          : abc.com/Configuration/Schema/ms-Exch-Smtp-Receive-Connector
ObjectClass                             : {top, msExchSmtpReceiveConnector}
WhenChanged                             : 2012/3/6 15:32:47
WhenCreated                             : 2012/3/2 17:45:20
WhenChangedUTC                          : 2012/3/6 7:32:47
WhenCreatedUTC                          : 2012/3/2 9:45:20
OrganizationId                          :
OriginatingServer                       : AD.abc.com
IsValid                                 : True
分享到
只看该作者 1楼  发表于: 2012-03-06
补充,CheckOR.com测试结果如下
220 mail.abc.com Microsoft ESMTP MAIL Service, Version: 7.5.7600.16385 ready at Tue, 6 Mar 2012 17:44:07 +0800
HELO ortest.checkor.com
250 mail.abc.com Hello [8.23.224.110]
RSET
250 2.0.0 Resetting
MAIL FROM: test@checkor.com
250 2.1.0 test@checkor.com....Sender OK
RCPT TO: test1@checkor.com
Test Failed, 250 2.1.5 test1@checkor.com


--------------------------------------------------------------------------------
RSET
250 2.0.0 Resetting
MAIL FROM:
501 5.5.4 Invalid Address
RCPT TO: test1@checkor.com
503 5.5.2 Need Mail From: first


--------------------------------------------------------------------------------
RSET
250 2.0.0 Resetting
MAIL FROM: spam@mail.abc.com
250 2.1.0 spam@mail.abc.com....Sender OK
RCPT TO: test1@checkor.com
Test Failed, 250 2.1.5 test1@checkor.com


--------------------------------------------------------------------------------
RSET
250 2.0.0 Resetting
MAIL FROM: spam@mail.abc.com
250 2.1.0 spam@mail.abc.com....Sender OK
RCPT TO: test1@checkor.com
Test Failed, 250 2.1.5 test1@checkor.com


--------------------------------------------------------------------------------
RSET
250 2.0.0 Resetting
MAIL FROM: spam@mail.abc.com
250 2.1.0 spam@mail.abc.com....Sender OK
RCPT TO: test1@mail.abc.com
Test Failed, 250 2.1.5 test1@mail.abc.com


--------------------------------------------------------------------------------
RSET
250 2.0.0 Resetting
MAIL FROM: spam@mail.abc.com
250 2.1.0 spam@mail.abc.com....Sender OK
RCPT TO: "test1@test.com"@mail.abc.com
Test Failed, 250 2.1.5 "test1@test.com"@mail.abc.com


--------------------------------------------------------------------------------
RSET
250 2.0.0 Resetting
MAIL FROM: spam@mail.abc.com
250 2.1.0 spam@mail.abc.com....Sender OK
RCPT TO: @mail.abc.com:spamtest@checkor.com
Test Failed, 250 2.1.5 spamtest@checkor.com


--------------------------------------------------------------------------------

If any of the test failed or appeared in red, you may want to check your server configuration.

CheckOR.com Open Relay Check Tool is provided by No-IP.com a leading Dynamic DNS provider. If you host your own mail server and need a solution to get around your ISP's port blocking or just dont want to deal with the hassle of doing it yourself, then check out No-IP.com email services.

只看该作者 2楼  发表于: 2012-03-07
期待高手帮忙解决,在线等待,自己顶一下

只看该作者 3楼  发表于: 2012-03-07
回 2楼(zhaomh) 的帖子
zhaomh:期待高手帮忙解决,在线等待,自己顶一下 (2012-03-07 11:07) 

尝试从外网telnet你们外部域名的25端口看看通不通?

在接收连接器上启用SMTP log,然后重现问题后把log中的相关内容贴出来看看。

参考:http://clintboessen.blogspot.com/2009/06/exchange-2007-smtp-protocol-logging.html
只看该作者 4楼  发表于: 2012-03-09
问题已经解决,主要出在smtp虚拟服务上,卸载后,启动Exchange transfer就ok了

只看该作者 5楼  发表于: 2012-03-09
快速回复
限60 字节
 
上一个 下一个