我在从 exhcange 2007 弹出 Linux 机器时遇到了问题。
这一切都是在设置 osticket 时开始的。配置完所有设置后,我在尝试测试帐户设置时收到无效的用户名/密码。
我在 ubuntu 上安装了 pop3test,发现使用它来获得干净登录测试的唯一方法是使用以下命令。
pop3test -a username -i mailservername 输出以下内容:
S: +OK The Microsoft Exchange POP3 service is ready.
C: CAPA
S: +OK
S: TOP
S: UIDL
S: SASL NTLM GSSAPI PLAIN
S: USER
S: STLS
S: .
C: AUTH NTLM
S: +
C: TlRMTVNTUAABAAAABwIAAAAAAAAgAAAAAAAAACAAAAA=
S: + TlRMTVNTUAACAAAAHgAeADgAAAAFAoECnKze+Uk9JdsAAAAAAAAAAOoA6gBWAAAABgBxFwAAAA9XAEgASQBUAEUATwBBAEsAUwBSAEUAUwBPAFIAVAACAB4AVwBIAEkAVABFAE8AQQBLAFMAUgBFAFMATwBSAFQAAQAaAFcATwAtAEUAWABIAC0AUwBWAFIALQAwADEABAAmAHcAaABpAHQAZQBvAGEAawBzAHIAZQBzAG8AcgB0AC4AYwBvAG0AAwBCAHcAbwAtAGUAeABoAC0AcwB2AHIALQAwADEALgB3AGgAaQB0AGUAbwBhAGsAcwByAGUAcwBvAHIAdAAuAGMAbwBtAAUAJgB3AGgAaQB0AGUAbwBhAGsAcwByAGUAcwBvAHIAdAAuAGMAbwBtAAcACABTHRrS2BnKAQAAAAA=
Please enter your password:
C: TlRMTVNTUAADAAAAAAAAAEAAAAAYABgAQAAAAB4AHgBYAAAAFgAWAHYAAAAAAAAAjAAAAAAAAACMAAAABQIAACT4jYQ+x4K+9FukBf25KfQVtL0MAygiPFcASABJAFQARQBPAEEASwBTAFIARQBTAE8AUgBUAG0AYQBpAG4AdABlAG4AYQBuAGMAZQA=
S: +OK User successfully logged on.
Authenticated.
Security strength factor: 0
^CC: QUIT
Connection closed.
如果我不包含“-i”,命令将失败:
S: +OK The Microsoft Exchange POP3 service is ready.
C: CAPA
S: +OK
S: TOP
S: UIDL
S: SASL NTLM GSSAPI PLAIN
S: USER
S: STLS
S: .
C: AUTH NTLM TlRMTVNTUAABAAAABwIAAAAAAAAgAAAAAAAAACAAAAA=
S: -ERR Protocol error. Connection is closed. 10
Authentication failed. generic failure
Security strength factor: 0
Connection closed.
enter code here
fetchmailrc 设置是:
set logfile ~/logs/fetchmail.log
set invisible
set no bouncemail
poll "mail"
protocol pop3
auth password
username "maintenance"
password "maintpass"
sslproto "ssl23"
fetchall
nokeep
mda "/usr/bin/procmail -m ~/.procmail.conf"
它给出的错误是:
fetchmail: 6.3.9-rc2 querying mail (protocol POP3) at Mon 10 Aug 2009 12:26:15 PM EDT: poll started
fetchmail: Trying to connect to 192.168.1.24/110...connected.
fetchmail: POP3< +OK The Microsoft Exchange POP3 service is ready.
fetchmail: POP3> USER maintenance
fetchmail: POP3< +OK
fetchmail: POP3> PASS *
fetchmail: POP3< -ERR Logon failure: unknown user name or bad password.
fetchmail: Logon failure: unknown user name or bad password.
fetchmail: Authorization failure on [email protected]
fetchmail: POP3> QUIT
fetchmail: POP3< +OK Microsoft Exchange Server 2007 POP3 server signing off.
fetchmail: 6.3.9-rc2 querying mail (protocol POP3) at Mon 10 Aug 2009 12:26:15 PM EDT: poll completed
fetchmail: Query status=3 (AUTHFAIL)
fetchmail: normal termination, status 3
请帮忙!
答案1
在您的 pop3test 命令中,您正在使用 NTLM 身份验证;您的 Fetchmail 日志表明它正在执行 PLAIN。如果您的服务器仅设置为正确响应 NTLM,您可能需要确保 NTLM 已编译到您的 Fetchmail 二进制文件中并在 fetchmailrc 文件中启用它。
答案2
答案3
我在这里找到了此问题的永久解决方法:关联
它允许您在 osticket 使用的 PHP 邮件客户端中禁用 TLS。