Foxmail 无法收取Exchange 2003邮件
Exchange 2003服务器,使用 Foxmaill等邮件客户端软件老是提示输入密码无法登陆收取邮件。根本原因是登录名和别名不一致,来自微软网站的信息说别名有点“.”时,会有这个问题。自己测试结果:登录名和别名不一样就会出现这个问题
,登录名和别名一样带有“
.
”也不会出现此问题。
下面是来自微软网站的信息:
我公司建立了一个 Exchange Server 2003,并申请了公网的域名 acn.cn;通过 ISA Server 发布邮件服务器,现公司内部的用户已经可以实现与外网(如 163)收发邮件。现在问题是,但如果改用 foxmail 收公司邮件的时候却出现问题了。
我测试过,如果用户是
[email protected],可以正常使用;但如果用户是
[email protected](注意 tom 和 chen 之间有一个句点的符号隔开),就会老是提示输入密码的那个对话框而无法收取邮件。哪位知道的话帮忙回复一下,谢谢哦!
PS:已测试过,无论哪个收邮件的客户端软件都是一样的问题。
Answers
KeJiaLi
这个问题我已经帮楼主解决了,根本原因是登录名和别名不一致,并且别名有.时,是会有这个问题的:
请看思路:
1. 通过网络包我们发现:
客户端:
27
2.718750 {TCP:5, IPv4:1} 117.25.184.140 192.168.1.105 POP3 POP3:Response: +OK: Microsoft Exchange Server 2003 POP3 server version 6.5.7638.1 (Acnex01.xmaccoona.com) ready.
28
2.718750 {TCP:5, IPv4:1} 192.168.1.105 117.25.184.140 POP3 POP3:Command: USER jinwu.chen
30
2.718750 {TCP:5, IPv4:1} 117.25.184.140 192.168.1.105 POP3 POP3:Response: +OK
31
2.718750 {TCP:5, IPv4:1} 192.168.1.105 117.25.184.140 POP3 POP3:Command: PASS admin
33
2.718750 {TCP:5, IPv4:1} 117.25.184.140 192.168.1.105 POP3 POP3:Response: -ERR, Error: Logon failure: unknown user name or bad password.
Frame: Number = 33, Captured Frame Length = 110, MediaType = ETHERNET
- Ethernet: Etype = Internet IP (IPv4),DestinationAddress:[00-0C-29-EC-AE-F0],SourceAddress:[00-E0-4C-A0-FD-23]
- DestinationAddress: VMware, Inc. ECAEF0 [00-0C-29-EC-AE-F0]
IG: (0.......) Individual address
UL: (.0......) Universally Administered Address
Rsv: (..000000)
- SourceAddress: REALTEK SEMICONDUCTOR CORP. A0FD23 [00-E0-4C-A0-FD-23]
UL: .0...... Universally Administered Address
EthernetType: Internet IP (IPv4), 2048(0x800)
- Ipv4: Src = 117.25.184.140, Dest = 192.168.1.105, Next Protocol = TCP, Packet ID = 29488, Total IP Length = 96
- Versions: IPv4, Internet Protocol; Header Length = 20
Version: (0100....) IPv4, Internet Protocol
HeaderLength: (....0101) 20 bytes (0x5)
- DifferentiatedServicesField: DSCP: 0, ECN: 0
DSCP: (000000..) Differentiated services codepoint 0
ECT: (......0.) ECN-Capable Transport not set
CE: (.......0) ECN-CE not set
TotalLength: 96 (0x60)
Identification: 29488 (0x7330)
- FragmentFlags: 16384 (0x4000)
Reserved: (0...............)
DF: (.1..............) Do not fragment
MF: (..0.............) This is the last fragment
Offset: (...0000000000000) 0
TimeToLive: 128 (0x80)
NextProtocol: TCP, 6(0x6)
Checksum: 38832 (0x97B0)
SourceAddress: 117.25.184.140
DestinationAddress: 192.168.1.105
- Tcp: Flags=...AP..., SrcPort=POP 3(110), DstPort=1296, PayloadLen=56, Seq=1578321594 - 1578321650, Ack=1314336707, Win=64483 (scale factor 0x0) = 64483
SrcPort: POP 3(110)
DstPort: 1296
SequenceNumber: 1578321594 (0x5E1346BA)
AcknowledgementNumber: 1314336707 (0x4E572FC3)
- DataOffset: 80 (0x50)
DataOffset: (0101....) 20 bytes
Reserved: (....000.)
NS: (.......0) Nonce Sum not significant
- Flags: ...AP...
CWR: (0.......) CWR not significant
ECE: (.0......) ECN-Echo not significant
Urgent: (..0.....) Not Urgent Data
Ack: (...1....) Acknowledgement field significant
Push: (....1...) Push Function
Reset: (.....0..) No Reset
Syn: (......0.) Not Synchronize sequence numbers
Fin: (.......0) Not End of data
Window: 64483 (scale factor 0x0) = 64483
Checksum: 0x3A7A, Good
UrgentPointer: 0 (0x0)
- Pop3: Response: -ERR, Error: Logon failure: unknown user name or bad password.
Response: -ERR, Error
ResponseParameter: Logon failure: unknown user name or bad password.
服务器:
从服务器看出来同一个session的确是Exchange 服务器回给客户端Logon failure: unknown user name or bad password.
2. 后来询问楼主,发现客户端和Exchange服务器之间的确有一个防火墙,是ISA,并且做了地址转换。
3. 为了确认是Exchange真正发出的Logon failure: unknown user name or bad password.
我们在服务器端测试:
在Exchange 服务器上:
Telnet localhost 110
USER jinwu.chen
<enter>
PASS admin
<enter>
我们得到了同样的结果,如下:
+OK Microsoft Exchange Server 2003 POP3 server version 6.5.7638.1 (XXX.xmacc
oona.com) ready.
user jinwu.chen
+OK
pass admin
-ERR Logon failure: unknown user name or bad password.
4. 所以的确是Exchange服务器POP3协议作Authentication失败了。
5. 只有特定的账号有问题,使用:
ldifde -f -s -t 3268 -d "user distingush name" -p subtree
6. 发现:
登录名和别名不一致,并且别名有.
7. 本地测试,发现问题可以重现
8. 参考:
http://support.microsoft.com/kb/296387
9. 解决方案:
删掉这个用户建立一个新的,
Logon name和alias一模一样,都是带.的
客户端配置使用:
domainname\alias
问题解决。
楼主请将此问题标志为已解决。
谢谢!
--------------------------------------------------------------------------------
KeJiaLi
原文:
http://social.microsoft.com/Forums/fi-FI/exchangeserverzhchs/thread/6a46a77a-4f14-4f28-9456-1a9c349c903b
信息技术交流中心 学习-交流-分享 共同提高自我