Search The ForumSearch   RegisterRegister  LoginLogin

AfterLogic WebMail Lite 7

 AfterLogic Forum : AfterLogic WebMail Lite 7
Subject Topic: Internal Server Error on some accounts Post ReplyPost New Topic
Author
Message << Prev Topic | Next Topic >>
kangarolf
Newbie
Newbie


Joined: 04 June 2010
Online Status: Offline
Posts: 13
Posted: 11 March 2014 at 3:56am | IP Logged Quote kangarolf

Hi all,

.NET WebMail Lite 5.1.3

Everything has been running fine with WebMail but recently a number of accounts get an internal server error message when trying to login. I havent been able to link these accounts in anyway, they are not especially large or unique in any way I can spot.

The logged error is pasted below;

[11/03/2014 10:52:42] ERROR!!!
[Message]
Object reference not set to an instance of an object.
[TargetSite]
Void Init(MailBee.Mime.MailMessage, Boolean, WebMail.Folder)
[Stack Trace]
   at WebMail.WebMailMessage.Init(MailMessage msg, Boolean isUidStr, Folder fld)
   at WebMail.ImapStorage.LoadMessageHeaders(String messageIndexSet, Boolean indexAsUid, Folder fld)
   at WebMail.ImapStorage.LoadMessageHeaders(Int32 pageNumber, Folder fld)
   at WebMail.MailProcessor.GetMessageHeaders(Int32 pageNumber, Folder fld)
   at WebMail.BaseWebMailActions.GetMessages(Int64 id_folder, String full_name_folder, Int32 page, Int32 sort_field, Int32 sort_order, String look_for, Int32 search_fields, Int32& folderMessageCount, Int32& folderUnreadMessageCount)
   at WebMail.XmlPacketManager.GetMessages(XmlElement webmailElement, Int64 id_folder, String full_name_folder, Int32 page, Int32 sort_field, Int32 sort_order, String look_for, Int32 search_fields)
   at WebMail.XmlPacketManager.CreateServerXmlDocumentResponse(XmlPacket clientPacket)
[Method]: Init
[Line, Column]: [0, 0]
------------------------------------------------------------
[11/03/2014 10:52:42][] - <<<<<<<<<<<<<<<<< OUT <<<<<<<<<<<<<<<
[11/03/2014 10:52:42][] - <?xml version="1.0" encoding="utf-8"?><webmail><error><![CDATA[Internal Server Error. Please, contact your system administrator in order to report the problem.]]></error></webmail>
[11/03/2014 10:52:42][] - <<<<<<<<<<<<<<<<< OUT <<<<<<<<<<<<<<<

Anyone have any ideas what might be happening.? Is it perhaps some mis match between the folders that the DB thinks should be on the IMAP server..?

Thanks
Rolf
Back to Top View kangarolf's Profile Search for other posts by kangarolf
 
Igor
AfterLogic Support
AfterLogic Support


Joined: 24 June 2008
Location: United States
Online Status: Offline
Posts: 6104
Posted: 11 March 2014 at 3:59am | IP Logged Quote Igor

Checking the other log enabled in AdminPanel might help, if there's an IMAP-related error indeed.

--
Regards,
Igor, AfterLogic Support
Back to Top View Igor's Profile Search for other posts by Igor
 
kangarolf
Newbie
Newbie


Joined: 04 June 2010
Online Status: Offline
Posts: 13
Posted: 11 March 2014 at 4:06am | IP Logged Quote kangarolf

Hi there,

Thanks for the reply.

There is no admin panel this is being used on a dedicated multi site server as a webmail interface for hMailServer. Unless I am misunderstanding.

Rolf
Back to Top View kangarolf's Profile Search for other posts by kangarolf
 
kangarolf
Newbie
Newbie


Joined: 04 June 2010
Online Status: Offline
Posts: 13
Posted: 11 March 2014 at 4:10am | IP Logged Quote kangarolf

PS I should also say that the accounts in question can be opened fine with an alternative client, tested with iphone, android and thunderbird.
Back to Top View kangarolf's Profile Search for other posts by kangarolf
 
Igor
AfterLogic Support
AfterLogic Support


Joined: 24 June 2008
Location: United States
Online Status: Offline
Posts: 6104
Posted: 11 March 2014 at 4:21am | IP Logged Quote Igor

I was referring to adminpanel of webmail lite, which should be there:

http://www.afterlogic.com/wiki/Login_Screen_(WebMail_Lite_5_.NET)

It contains several tabs, you should find "Debug & Logging" section under "WebMail" tab:

http://www.afterlogic.com/wiki/Debug_%26_Logging_(WebMail_Lite_5_.NET)

--
Regards,
Igor, AfterLogic Support
Back to Top View Igor's Profile Search for other posts by Igor
 
atopali
Newbie
Newbie
Avatar

Joined: 01 May 2014
Location: Canada
Online Status: Offline
Posts: 2
Posted: 01 May 2014 at 6:35am | IP Logged Quote atopali

I have the same problem.

The error logged is

[06:27:09.77] [INFO] Assembly version: 6.0.2.220.
[06:27:09.77] [INFO] Will resolve host "mail.xxxxx.ca".
[06:27:09.78] [INFO] Host "mail.xxxxx.ca" resolved to IP address(es) xxx.xxx.xxx.xxx
[06:27:09.78] [INFO] Will connect to host "mail.xxx.ca" on port 465.
[06:27:09.78] [INFO] Socket connected to IP address xxx.xxx.xxx.xxx on port 465.
[06:27:09.78] [INFO] Error: Socket connection has been refused by remote host. InnerException message follows: The handshake failed due to an unexpected packet format.
[06:27:09.78] [INFO] Error: IOException occurred. InnerException message follows: The handshake failed due to an unexpected packet format.

I enable d port 465


Common Settings

Site name:     

Default Mail Server Settings

Incoming mail:          Port: 110
Outgoing mail:          Port: 465
      Requires SMTP authentication
      Allow direct mode (What's this?)
      Direct mode is default
Attachment size limit:      KB     Enable attachment size limit
Mailbox size limit:      KB     Enable mailbox size limit
      Take quota value from IMAP server
      Allow new users to change email settings
      Allow users to add new email accounts (Pro only)
Back to Top View atopali's Profile Search for other posts by atopali
 
Igor
AfterLogic Support
AfterLogic Support


Joined: 24 June 2008
Location: United States
Online Status: Offline
Posts: 6104
Posted: 01 May 2014 at 9:43am | IP Logged Quote Igor

When you specify port 465 for outgoing mail, WebMail assumes that's SSL-enabled port, so it attempts to connect to SMTP server over SSL, but according to log that doesn't work for the server you're dealing with. You probably need to set a different port, standard options are 25 and 587. You're using non-SSL port for POP3, and using one with SMTP might work.

--
Regards,
Igor, AfterLogic Support
Back to Top View Igor's Profile Search for other posts by Igor
 
atopali
Newbie
Newbie
Avatar

Joined: 01 May 2014
Location: Canada
Online Status: Offline
Posts: 2
Posted: 01 May 2014 at 2:30pm | IP Logged Quote atopali

Thank you Igor,

That was the problem.
I used port 587 and the email sends fine
Back to Top View atopali's Profile Search for other posts by atopali
 

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