Author |
|
windpuff Newbie
Joined: 25 October 2016 Location: Hong Kong
Online Status: Offline Posts: 3
|
Posted: 26 October 2016 at 2:12am | IP Logged
|
|
|
Just install the WebMail Lite successfully. I am using the Xmail as a mail server and working normally. When I use WebMail Lite to login. It appear "error while connecting mail server". Anyone know this issue? My system log show as below:
[03:24:03.71][4cee15eb] [POST(7)][ip:182.239.70.87] /webmail/?/Ajax/
[03:24:03.71][4cee15eb] POST > [Action, Email, IncLogin, IncPassword, SignMe, AccountID, Token]
[03:24:03.71][4cee15eb]
[03:24:03.71][4cee15eb] AJAX: Action: SystemLogin
[03:24:03.77][4cee15eb] DB(PDO/mysql) : start connect to root@localhost
[03:24:03.77][4cee15eb] DB : PDO(mysql:dbname=Webmail;host=localhost;charset=utf8)
[03:24:03.78][4cee15eb] DB : connected to root@localhost
[03:24:03.78][4cee15eb] DB[1] > SELECT `id_acct`, `id_user`, `id_domain`, `id_tenant`, `deleted`, `def_acct`, `mailing_list`, `quota`, `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`, `allow_mail`, `is_password_specified` FROM awm_accounts WHERE `def_acct` = 1 AND `email` = 'test@sunmon.net'
[03:24:03.79][4cee15eb] DB[2] > SELECT `id_domain`, `id_tenant`, `disabled`, `name`, `url`, `override_settings`, `is_internal`, `is_default_for_tenant`, `site_name`, `lang`, `def_user_timezone`, `def_user_timeformat`, `def_user_dateformat`, `allow_registration`, `allow_pass_reset`, `allow_webmail`, `mail_protocol`, `mail_inc_host`, `mail_inc_port`, `mail_inc_ssl`, `mail_out_host`, `mail_out_port`, `mail_out_auth`, `mail_out_login`, `mail_out_pass`, `mail_out_ssl`, `mail_out_method`, `check_interval`, `skin`, `msgs_per_page`, `allow_change_interface_settings`, `allow_change_account_settings`, `allow_users_add_acounts`, `allow_new_users_register`, `allow_open_pgp`, `layout`, `xlist`, `use_threads`, `allow_contacts`, `contacts_per_page`, `global_addr_book`, `allow_calendar`, `cal_show_weekends`, `cal_workday_starts`, `cal_workday_ends`, `cal_show_workday`, `cal_week_starts_on`, `cal_default_tab`, `allow_files`, `allow_helpdesk`, `default_tab` FROM awm_domains WHERE `name` = 'sunmon.net'
[03:24:03.84][4cee15eb] DB[3] > SELECT COUNT(id_acct) as acct_count FROM awm_accounts
WHERE def_acct = 1 AND `email` = 'test@sunmon.net' AND `mail_inc_login` = 'test@sunmon.net' LIMIT 1
[03:24:03.85][4cee15eb] IMAP[NOTE]: Start connection to "tcp://sunmon.net:110"
[03:24:04.06][4cee15eb] IMAP[DATA]: < +OK <1477452244.3044009104@sunmon.net> [XMail 1.27 POP3 Server] service ready; Wed, 26 Oct 2016 11:24:04 +0800\r\n
[03:24:04.07][4cee15eb] IMAP[WARNING]: exception 'MailSo\Imap\Exceptions\ResponseNotFoundException' with message 'MailSo-Imap-Exceptions-ResponseNotFoundException (ImapClient.php ~ 1737)' in /share/MD0_DATA/Web/webmail/libraries/MailSo/Imap/ImapClient.php:1737
Stack trace:
#0 /share/MD0_DATA/Web/webmail/libraries/MailSo/Imap/ImapClient.php(1830): MailSo\Imap\ImapClient->validateResponse(false)
#1 /share/MD0_DATA/Web/webmail/libraries/MailSo/Imap/ImapClient.php(151): MailSo\Imap\ImapClient->parseResponseWithValidation('*', true)
#2 /share/MD0_DATA/Web/webmail/libraries/afterlogic/common/managers/users/manager.php(466): MailSo\Imap\ImapClient->Connect('sunmon.net', 110, 0)
#3 /share/MD0_DATA/Web/webmail/libraries/afterlogic/common/managers/webmail/manager.php(141): CApiUsersManager->createAccount(Object(CAccount), true)
#4 /share/MD0_DATA/Web/webmail/libraries/afterlogic/common/managers/integrator/manager.php(812): CApiWebmailManager->createAccount('test@sunmon.net', 'testqwer', 'English', Array)
#5 /share/MD0_DATA/Web/webmail/libraries/ProjectCore/Actions.php(2884): CApiIntegratorManager->loginToAccount('test@sunmon.net', 'XXXXX', '', 'English')
#6 [internal function]: ProjectCore\Actions->AjaxSystemLogin()
#7 /share/MD0_DATA/Web/webmail/libraries/ProjectCore/Service.php(341): call_user_func(Array)
#8 /share/MD0_DATA/Web/webmail/libraries/ProjectCore/Boot.php(12): ProjectCore\Service->Handle()
#9 /share/MD0_DATA/Web/webmail/index.php(104): include('/share/MD0_DATA...')
#10 {main}
[03:24:04.08][4cee15eb] Exception[1011]: Can't connect to mail server
~ /libraries/afterlogic/common/managers/users/manager.php (521)
----------------------------------------------------------------------
#0 /share/MD0_DATA/Web/webmail/libraries/afterlogic/common/managers/webmail/manager.php(141): CApiUsersManager->createAccount(Object(CAccount), true)
#1 /share/MD0_DATA/Web/webmail/libraries/afterlogic/common/managers/integrator/manager.php(812): CApiWebmailManager->createAccount('test@sunmon.net', 'XXXXX', 'English', Array)
#2 /share/MD0_DATA/Web/webmail/libraries/ProjectCore/Actions.php(2884): CApiIntegratorManager->loginToAccount('test@sunmon.net', 'XXXXX', '', 'English')
#3 [internal function]: ProjectCore\Actions->AjaxSystemLogin()
#4 /share/MD0_DATA/Web/webmail/libraries/ProjectCore/Service.php(341): call_user_func(Array)
#5 /share/MD0_DATA/Web/webmail/libraries/ProjectCore/Boot.php(12): ProjectCore\Service->Handle()
#6 /share/MD0_DATA/Web/webmail/index.php(104): include('/share/MD0_DATA...')
#7 {main}
[03:24:04.08][4cee15eb] IMAP[NOTE]: Disconnected from "tcp://sunmon.net:110" (success)
[03:24:04.08][4cee15eb] Exception[1011]: Can't connect to mail server
~ /libraries/afterlogic/common/managers/users/manager.php (521)
----------------------------------------------------------------------
#0 /share/MD0_DATA/Web/webmail/libraries/afterlogic/common/managers/webmail/manager.php(141): CApiUsersManager->createAccount(Object(CAccount), true)
#1 /share/MD0_DATA/Web/webmail/libraries/afterlogic/common/managers/integrator/manager.php(812): CApiWebmailManager->createAccount('test@sunmon.net', 'XXXXX', 'English', Array)
#2 /share/MD0_DATA/Web/webmail/libraries/ProjectCore/Actions.php(2884): CApiIntegratorManager->loginToAccount('test@sunmon.net', 'XXXXX', '', 'English')
#3 [internal function]: ProjectCore\Actions->AjaxSystemLogin()
#4 /share/MD0_DATA/Web/webmail/libraries/ProjectCore/Service.php(341): call_user_func(Array)
#5 /share/MD0_DATA/Web/webmail/libraries/ProjectCore/Boot.php(12): ProjectCore\Service->Handle()
#6 /share/MD0_DATA/Web/webmail/index.php(104): include('/share/MD0_DATA...')
#7 {main}
[03:24:04.08][4cee15eb] Event: test@sunmon.net > login-failed
[03:24:04.09][4cee15eb] exception 'CApiManagerException' with message 'Can't connect to mail server' in /share/MD0_DATA/Web/webmail/libraries/afterlogic/common/managers/users/manager.php:521
Stack trace:
#0 /share/MD0_DATA/Web/webmail/libraries/afterlogic/common/managers/webmail/manager.php(141): CApiUsersManager->createAccount(Object(CAccount), true)
#1 /share/MD0_DATA/Web/webmail/libraries/afterlogic/common/managers/integrator/manager.php(812): CApiWebmailManager->createAccount('test@sunmon.net', 'XXXXX', 'English', Array)
#2 /share/MD0_DATA/Web/webmail/libraries/ProjectCore/Actions.php(2884): CApiIntegratorManager->loginToAccount('test@sunmon.net', 'XXXXX', '', 'English')
#3 [internal function]: ProjectCore\Actions->AjaxSystemLogin()
#4 /share/MD0_DATA/Web/webmail/libraries/ProjectCore/Service.php(341): call_user_func(Array)
#5 /share/MD0_DATA/Web/webmail/libraries/ProjectCore/Boot.php(12): ProjectCore\Service->Handle()
#6 /share/MD0_DATA/Web/webmail/index.php(104): include('/share/MD0_DATA...')
#7 {main}
Next exception 'ProjectCore\Exceptions\ClientException' with message 'ClientException' in /share/MD0_DATA/Web/webmail/libraries/ProjectCore/Actions.php:2923
Stack trace:
#0 [internal function]: ProjectCore\Actions->AjaxSystemLogin()
#1 /share/MD0_DATA/Web/webmail/libraries/ProjectCore/Service.php(341): call_user_func(Array)
#2 /share/MD0_DATA/Web/webmail/libraries/ProjectCore/Boot.php(12): ProjectCore\Service->Handle()
#3 /share/MD0_DATA/Web/webmail/index.php(104): include('/share/MD0_DATA...')
#4 {main}
[03:24:04.09][4cee15eb] INFO[MEMORY]: Memory peak usage: 1.5MB
[03:24:04.09][4cee15eb] INFO[TIME]: Time delta: 0.486145019531
[03:24:04.09][4cee15eb] DB : disconnect from root@localhost
[03:24:18.35][107f00f8] [GET][ip:182.239.70.87] /webmail/adminpanel/index.php?pop&type=log&action=view
[03:24:18.35][107f00f8] POST > []
[03:24:18.35][107f00f8]
[03:24:18.35][107f00f8] call CCommonModule->StandardPopAction->System()
[03:24:18.35][107f00f8] call CWebMailModule->StandardPopAction->System()
|
Back to Top |
|
|
Igor AfterLogic Support
Joined: 24 June 2008 Location: United States
Online Status: Offline Posts: 6104
|
Posted: 26 October 2016 at 2:17am | IP Logged
|
|
|
Seems you're trying to connect to port 110 which is POP3 port, you would need to use IMAP port 143; however, as far as I know, XMail doesn't provide IMAP support.
--
Regards,
Igor, AfterLogic Support
|
Back to Top |
|
|
windpuff Newbie
Joined: 25 October 2016 Location: Hong Kong
Online Status: Offline Posts: 3
|
Posted: 26 October 2016 at 2:28am | IP Logged
|
|
|
Thank you for your quick reply. Yes, Xmail doesn't support IMAP. So, is that mean WebMail Lite not support pop3 login? other any suggest?
|
Back to Top |
|
|
Igor AfterLogic Support
Joined: 24 June 2008 Location: United States
Online Status: Offline Posts: 6104
|
Posted: 26 October 2016 at 2:34am | IP Logged
|
|
|
That's right, WebMail doesn't work via POP3. And since XMail itself was last updated in 2010, we'd suggest switching to a different mail server, an actively maintained one. Popular free options are iRedMail for Linux / FreeBSD and hMailServer for Windows.
--
Regards,
Igor, AfterLogic Support
|
Back to Top |
|
|
windpuff Newbie
Joined: 25 October 2016 Location: Hong Kong
Online Status: Offline Posts: 3
|
Posted: 26 October 2016 at 3:09am | IP Logged
|
|
|
Well noted with thanks!
|
Back to Top |
|
|
|
|