Search The ForumSearch   RegisterRegister  LoginLogin

AfterLogic WebMail Pro

 AfterLogic Forum : AfterLogic WebMail Pro
Subject Topic: POP3 SPA Authentication Post ReplyPost New Topic
Author
Message << Prev Topic | Next Topic >>
trybee
Newbie
Newbie


Joined: 04 December 2007
Online Status: Offline
Posts: 2
Posted: 10 July 2008 at 6:45pm | IP Logged Quote trybee

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 View trybee's Profile Search for other posts by trybee
 
Andrew
AfterLogic Support
AfterLogic Support


Joined: 28 April 2006
Location: United States
Online Status: Offline
Posts: 1189
Posted: 11 July 2008 at 5:00am | IP Logged Quote Andrew

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 View Andrew's Profile Search for other posts by Andrew
 

If you wish to post a reply to this topic you must first login
If you are not already registered you must first register

  Post ReplyPost New Topic
Printable version Printable version

Forum Jump

Powered by Web Wiz Forums version 7.9
Copyright ©2001-2004 Web Wiz Guide