我在从 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
请帮忙!
在您的 pop3test 命令中,您使用的是 NTLM 身份验证;您的 Fetchmail 日志表明它正在执行 PLAIN。如果您的服务器仅设置为正确响应 NTLM,您可能需要确保将 NTLM 编译到您的 Fetchmail 二进制文件中并在 fetchmailrc 文件中启用它。
出于某种原因,这实际上是一个凭据问题。我有一个名为 Maintenance 的帐户,其中包含用户名/别名维护和电子邮件地址 [email protected]。我创建了一个新的用户帐户 calle maint,用户名/别名 maint 和电子邮件 [email protected]
出于某种原因,maint 在维护帐户不起作用的所有情况下都有效,我仍然没有找到确切的问题,但它已经启动并正在运行......
我在这里找到了解决此问题的永久方法:LINK
它允许您在 osticket 使用的 PHP 邮件客户端中禁用 TLS。