Search The ForumSearch   RegisterRegister  LoginLogin

AfterLogic WebMail Lite 7

 AfterLogic Forum : AfterLogic WebMail Lite 7
Subject Topic: Not able to login Post ReplyPost New Topic
Author
Message << Prev Topic | Next Topic >>
subhra44
Newbie
Newbie


Joined: 19 September 2013
Location: India
Online Status: Offline
Posts: 9
Posted: 06 November 2013 at 9:10am | IP Logged Quote subhra44

Successfully installed webmail. But whenever I try to login it is showing the message.

Data transfer has failed, probably due to server error. Please contact system administrator.

An in console, I am getting

Sorry!

You do not have permission to access this location.


Could not figure out the problem.

It is hosted in yahoo server. And trying to connect to yahoo mail server.
Back to Top View subhra44's Profile Search for other posts by subhra44
 
subhra44
Newbie
Newbie


Joined: 19 September 2013
Location: India
Online Status: Offline
Posts: 9
Posted: 06 November 2013 at 9:15am | IP Logged Quote subhra44

Using following settings
Incoming mail: imap.mail.yahoo.com
Port: 993
Use SSL: Yes

Outgoing mail: smtp.mail.yahoo.com
Port: 25
Use SSL: Yes
Back to Top View subhra44's Profile Search for other posts by subhra44
 
Igor
AfterLogic Support
AfterLogic Support


Joined: 24 June 2008
Location: United States
Online Status: Offline
Posts: 6104
Posted: 07 November 2013 at 12:41am | IP Logged Quote Igor

Does your host provide access to error logs of PHP or webserver? Seems like you need to check those logs to find out what's causing the problem.

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


Joined: 19 September 2013
Location: India
Online Status: Offline
Posts: 9
Posted: 11 November 2013 at 8:21am | IP Logged Quote subhra44

Hi Igor,

I installed the app in local system and copied the files to the server. It is working fine in local server. Getting the following error.

[16:15:58.95] Location: index.php

[16:16:29.52] /mail1/adminpanel/index.php
[16:16:29.52]
[16:16:29.52] call CWebMailModule->PopulateData->ServicesLogging()

[16:16:40.30] [POST(6)] /mail1/index.php?/Ajax/
[16:16:40.30] POST > [Action, Email, IncLogin, IncPassword, SignMe, Token]
[16:16:40.30]
[16:16:40.30] AJAX: Action: Login
[16:16:40.30] DB : start connect to *****@mysql
[16:16:40.31] DB : connected to *****@mysql
[16:16:40.32] DB[1] > SELECT `id_acct`, `id_user`, `id_domain`, `id_tenant`, `deleted`, `def_acct`, `mailing_list`, `quota`, `quota_usage_bytes`, `email`, `friendly_nm`, `mail_protocol`, `mail_inc_host`, `mail_inc_port`, `mail_inc_login`, `mail_inc_pass`, `mail_inc_ssl`, `mail_out_host`, `mail_out_port`, `mail_out_login`, `mail_out_pass`, `mail_out_auth`, `mail_out_ssl`, `hide_in_gab`, `signature`, `signature_type`, `signature_opt`, `custom_fields` FROM awm_accounts WHERE `def_acct` = 1 AND `email` = '******@yahoo.com'
[16:16:40.32] DB[2] > SELECT `id_user`, `msgs_per_page`, `contacts_per_page`, `auto_checkmail_interval`, `last_login`, `logins_count`, `def_skin`, `def_lang`, `def_editor`, `save_mail`, `layout`, `incoming_charset`, `def_timezone`, `def_time_fmt`, `def_date_fmt`, `client_timezone`, `question_1`, `question_2`, `answer_1`, `answer_2`, `capa`, `custom_fields` FROM awm_settings WHERE `id_user` = 1
[16:16:40.35] IMAP[NOTE]: Start connection to "ssl://imap.mail.yahoo.com:993"
[16:16:46.39] IMAP[NOTICE]: exception 'MailSo\Net\Exceptions\SocketCanNotConnectToHostException' with message 'Can't connect to host "ssl://imap.mail.yahoo.com:993"' in /mail1/libraries/MailSo/Net/NetClient.php:202
Stack trace:
#0 /mail1/libraries/MailSo/Imap/ImapClient.php(134): MailSo\Net\NetClient->Connect('imap.mail.yahoo...', 993, 1)
#1 /mail1/libraries/afterlogic/common/managers/mail/manager.php(77): MailSo\Imap\ImapClient->Connect('imap.mail.yahoo...', 993, 1)
#2 /mail1/libraries/afterlogic/common/managers/mail/manager.php(99): CApiMailManager->getImapClient(Object(CAccount))
#3 /mail1/libraries/afterlogic/common/managers/integrator/manager.php(511): CApiMailManager->ValidateAccountConnection(Object(CAccount))
#4 /mail1/libraries/ProjectSeven/Actions.php(1503): CApiIntegratorManager->LoginToAccount('*****@yahoo....', '********', '', '')
#5 [internal function]: ProjectSeven\Actions->AjaxLogin()
#6 /mail1/libraries/ProjectSeven/Service.php(95): call_user_func(Array)
#7 /mail1/libraries/ProjectSeven/Boot.php(5): ProjectSeven\Service->Handle()
#8 /mail1/index.php(54): include('/mail1/librarie...')
#9 {main}
[16:16:46.41] DB : disconnect from *****@mysql
[16:16:46.41] INFO[MEMORY]: Memory peak usage: 8.75MB

[16:16:51.47] /mail1/adminpanel/index.php?mode=logging
[16:16:51.47]
[16:16:51.47] call CWebMailModule->PopulateData->ServicesLogging()

[16:16:59.44] /mail1/adminpanel/index.php?pop&type=log&action=view
[16:16:59.44]
[16:16:59.44] call CWebMailModule->StandardPopAction->Services()
Back to Top View subhra44's Profile Search for other posts by subhra44
 
Igor
AfterLogic Support
AfterLogic Support


Joined: 24 June 2008
Location: United States
Online Status: Offline
Posts: 6104
Posted: 11 November 2013 at 10:24pm | IP Logged Quote Igor

Check if you have OpenSSL extension available in your PHP setup on that server. If it's there but things still don't work, it's probably a connectivity issue. Check with your host support if they might be blocking outgoing network connection, or maybe you need to specify some other host/port for that case you have there.

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


Joined: 19 September 2013
Location: India
Online Status: Offline
Posts: 9
Posted: 11 November 2013 at 11:06pm | IP Logged Quote subhra44

Thanks for your reply Igor. OpenSSL is enabled. Version is correct. Right?

OpenSSL support              enabled
OpenSSL Library Version      OpenSSL 1.0.0-fips 29 Mar 2010
OpenSSL Header Version              OpenSSL 1.0.0-fips 29 Mar 2010
Back to Top View subhra44's Profile Search for other posts by subhra44
 
Igor
AfterLogic Support
AfterLogic Support


Joined: 24 June 2008
Location: United States
Online Status: Offline
Posts: 6104
Posted: 11 November 2013 at 11:23pm | IP Logged Quote Igor

Yes, OpenSSL looks good, so it's probably the connectivity. We have a small sample which works independently of webmail and uses only simple PHP functions. Extract the script, specify your IMAP hostname in it, put the script into your web directory and run from the browser. If you get an error message, then it's definitely the host problem of connecting to that server.

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


Joined: 19 September 2013
Location: India
Online Status: Offline
Posts: 9
Posted: 12 November 2013 at 12:06am | IP Logged Quote subhra44

Tested using your code. Getting the following error message.

connect to ssl://imap.mail.yahoo.com:993 -
Warning: fsockopen() [function.fsockopen]: unable to connect to ssl://imap.mail.yahoo.com:993 (Connection refused) in /test/ssl_connect_test.php on line 18
Connection refused (code: 111)
Back to Top View subhra44's Profile Search for other posts by subhra44
 
Igor
AfterLogic Support
AfterLogic Support


Joined: 24 June 2008
Location: United States
Online Status: Offline
Posts: 6104
Posted: 12 November 2013 at 12:18am | IP Logged Quote Igor

"Connection refused" means the connection through the specific port is blocked by a firewall. So basically this confirms it's a connectivity issue, you need to check that with your host or switch to a different host.

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


Joined: 19 September 2013
Location: India
Online Status: Offline
Posts: 9
Posted: 12 November 2013 at 1:19am | IP Logged Quote subhra44

Thanks. Will check with the service provider.
Back to Top View subhra44's Profile Search for other posts by subhra44
 

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