Author |
|
trybee Newbie
Joined: 04 December 2007
Online Status: Offline Posts: 2
|
Posted: 10 July 2008 at 6:45pm | IP Logged
|
|
|
Running Windows 2003 with POP/SMTP and MailBee Webmail Lite. POP3 is configured for SPA.
Trying webmail, I get: Wrong email/login and/or password. Authentication failed.
The logs:
[INFO] Get the list of advertized SASL authentication methods via AUTH command.
[SEND] AUTH\r\n
[RECV] +OK\r\nNTLM\r\n.\r\n
[INFO] Will login as "XXXXXXX".
[INFO] Will try regular USER/PASS authentication.
[SEND] USER XXXXXXX\r\n
[RECV] -ERR SPA Required, use AUTH or APOP\r\n
[INFO] Error: Wrong account name and/or password. The server responded: -ERR SPA Required, use AUTH or APOP.
[SEND] QUIT\r\n
What do I need to do to change the authentication mode in WebMail so that it uses SPA?
Thank you.
|
Back to Top |
|
|
Andrew AfterLogic Support
Joined: 28 April 2006 Location: United States
Online Status: Offline Posts: 1189
|
Posted: 11 July 2008 at 5:00am | IP Logged
|
|
|
By default, WebMail Lite ASP.NET uses non-secure authentication methods because many mail servers experience problems with SPA. Moreover, if POP3 traffic is filtered by a firewall/antivirus software, this software may mess some data up and SPA wouldn't work (many of our customers faced such issue).
However, if your mail server requires SPA, you can a bit customize WebMail Lite ASP.NET source code.
File App_Code/Pop3Storage.cs (line ~69):
Code:
_pop3Obj.Login(_account.MailIncomingLogin, _account.MailIncomingPassword, AuthenticationMethods.Auto, AuthenticationOptions.PreferSimpleMethods, null); |
|
|
replace with:
Code:
_pop3Obj.Login(_account.MailIncomingLogin, _account.MailIncomingPassword, AuthenticationMethods.Auto, AuthenticationOptions.None, null); |
|
|
Best regards,
Andrew
|
Back to Top |
|
|