| Author |  | 
      
        | palmafab Newbie
 
  
 
 Joined: 19 November 2013
 Online Status: Offline
 Posts: 1
 | 
          Hi,
           | Posted: 19 November 2013 at 7:22am | IP Logged |   |  
           | 
 |  
 I have installed the webmail lite and the installation procedure follow correctly without errors. It shown me the problem on the folders permission but - following the install instructions - all gone well.
 
 Now that I'm using the webmail, I can send mail without problem and also I can receive mails .... but when I try to open a received, a sent, a deleted message I see for less then 1 second the title of the mail in the right panel without the body of the message and then I see (in the upper side of the monitor) a "unknown error" message .... and I cannot see the mail.
 
 What I'm wrong ? Where is the problem ? :-(
 
 Many thanks for the help !!
 Fab
 
 | 
       
        | Back to Top |     | 
       
       
        |  | 
        | Igor AfterLogic Support
 
  
 
 Joined: 24 June 2008
 Location: United States
 Online Status: Offline
 Posts: 6167
 | 
          To find out what exactly is causing this, you'll need to debug the application. Enable logging in AdminPanel, reproduce the problem and check what's in the logs. Checking webserver/PHP logs might help as well.
           | Posted: 19 November 2013 at 8:23pm | IP Logged |   |  
           | 
 |  
 --
 Regards,
 Igor, AfterLogic Support
 | 
       
        | Back to Top |     | 
       
       
        |  | 
        | davidcr85 Newbie
 
  
  
 Joined: 08 December 2013
 Location: Costa Rica
 Online Status: Offline
 Posts: 3
 | 
          Hello. I've the same error.  Permissions are full for all folder (for test purposes obviously)
           | Posted: 08 December 2013 at 9:17pm | IP Logged |   |  
           | 
 |  
 Log show it
 
 [04:59:14.03] IMAP[DATA]: < TAG6 BAD Selection of mail box is required before this command\r\n
 [04:59:14.03] IMAP[WARNING]: exception 'MailSo\Imap\Exceptions\NegativeResponseException' with message 'MailSo-Imap-Exceptions-NegativeResponseException (ImapClient.php ~ 1483)' in C:\inetpub\wwwroot\webmail\libraries\MailSo\Imap\ImapClient.php:1483
 Stack trace:
 #0 C:\inetpub\wwwroot\webmail\libraries\MailSo\Imap\ImapClient.php(1560): MailSo\Imap\ImapClient->validateResponse(Array)
 #1 C:\inetpub\wwwroot\webmail\libraries\MailSo\Imap\ImapClient.php(1052): MailSo\Imap\ImapClient->parseResponseWithValidation()
 #2 C:\inetpub\wwwroot\webmail\libraries\afterlogic\common\managers\mail\manager.php(2040): MailSo\Imap\ImapClient->MessageSimpleSearch('FLAGGED', true)
 #3 C:\inetpub\wwwroot\webmail\libraries\ProjectSeven\Actions.php(810): CApiMailManager->MessageList(Object(CAccount), 'INBOX', 0, 20, '', false, Array)
 #4 [internal function]: ProjectSeven\Actions->AjaxMessageList()
 #5 C:\inetpub\wwwroot\webmail\libraries\ProjectSeven\Service.php(231): call_user_func(Array)
 #6 C:\inetpub\wwwroot\webmail\libraries\ProjectSeven\Boot.php(5): ProjectSeven\Service->Handle()
 #7 C:\inetpub\wwwroot\webmail\index.php(71): include('C:\inetpub\wwwr...')
 #8 {main}
 [04:59:14.03] DB : disconnect from root@localhost
 
 
 
 Is this an bug of system?
 | 
       
        | Back to Top |     | 
       
       
        |  | 
        | Igor AfterLogic Support
 
  
 
 Joined: 24 June 2008
 Location: United States
 Online Status: Offline
 Posts: 6167
 | 
          Can you please confirm you're running the latest 7.1.1.1 release? You can find the version number as shown here.
           | Posted: 08 December 2013 at 9:22pm | IP Logged |   |  
           | 
 |  
 And if yes, please provide us with test account login details, you can submit those via HelpDesk. If that's not possible for some reason, please provide the log reflecting the entire session.
 
 --
 Regards,
 Igor, AfterLogic Support
 | 
       
        | Back to Top |     | 
       
       
        |  | 
        | davidcr85 Newbie
 
  
  
 Joined: 08 December 2013
 Location: Costa Rica
 Online Status: Offline
 Posts: 3
 | 
          Hi. right version is 7.1.1.1 confirmed. I'm opening a new ticket with details.
           | Posted: 08 December 2013 at 11:36pm | IP Logged |   |  
           | 
 |  | 
       
        | Back to Top |     | 
       
       
        |  | 
        | Igor AfterLogic Support
 
  
 
 Joined: 24 June 2008
 Location: United States
 Online Status: Offline
 Posts: 6167
 | 
          Thanks for the access details. Looks like there's an issue with the mail server you're using. When scanning an IMAP folder, WebMail uses IMAP command EXAMINE rather than SELECT to make sure the folder is opened in readonly mode with no flags affected, but this server doesn't like it for some reason and requires using SELECT.
           | Posted: 09 December 2013 at 1:16am | IP Logged |   |  
           | 
 |  
 The workaround is to modify libraries/afterlogic/common/managers/mail/manager.php file and replace all occurences of FolderExamine calls with FolderSelect, there should be like 5 of those. I've tested the approach on a local install, worked fine with the account you provided access to.
 
 We've never encountered this kind of behavior before, and in future versions we'll add a configuration option which would force using SELECT command.
 
 --
 Regards,
 Igor, AfterLogic Support
 | 
       
        | Back to Top |     | 
       
       
        |  | 
        | davidcr85 Newbie
 
  
  
 Joined: 08 December 2013
 Location: Costa Rica
 Online Status: Offline
 Posts: 3
 | 
          Hi, THANKS for the help was a great solution, I applied it today and works well.
           | Posted: 09 December 2013 at 11:44am | IP Logged |   |  
           | 
 |    
 1 - Additionally there an error in the date shown for all mail is dic. 31, 1969
 What may be going on here?
 
 2-  How I can configure the data folder in a different location than the default?
 i'm using server 2008 with IIS 7
 
 inc_settings_path.php  seems not exist in the latest version as it says in the help
 | 
       
        | Back to Top |     | 
       
       
        |  |