csc2ya Newbie
Joined: 20 June 2013
Online Status: Offline Posts: 1
|
Posted: 20 June 2013 at 4:32am | IP Logged
|
|
|
I recently had issues with spam being sent via my server, and so decided to change my password in an attempt to stop it.
For information on my configuration, I am running hmailserver on a server 2008 R2 dedicated server.
After changing my password via hmailserver administrator, I get the error 'cannot connect to mailserver' when attempting to log in.
On enabling debug logging, and attempting again, the following log is generated (password has been obscured):
Quote:
[11:39:35.80] Location: index.php
[11:39:35.93] /mail/admin/index.php
[11:39:35.93]
[11:39:35.93] call CWebMailModule->PopulateData->ServicesLogging()
[11:39:45.30] /mail/
[11:39:45.30]
[11:39:45.30] DB : connected to webmail@localhost
[11:39:45.31] DB[1] > SELECT `id_domain`, `id_realm`, `disabled`, `name`, `url`, `override_settings`, `is_internal`, `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`, `layout`, `xlist`, `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` FROM awm_domains WHERE `url` = 'winserv.csc2ya.co.uk'
[11:39:45.32] 00
[11:39:45.32] $iAwmAutoLoginId =
[11:39:45.33] $iAwmAutoLoginSubId =
[11:39:45.33] $sAwmAutoLoginData =
[11:39:45.33] DB[2] > SELECT `id_domain`, `id_realm`, `disabled`, `name`, `url`, `override_settings`, `is_internal`, `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`, `layout`, `xlist`, `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` FROM awm_domains WHERE `url` = 'winserv.csc2ya.co.uk'
[11:39:45.34] DB : disconnect from webmail@localhost
[11:39:51.83] [POST(1)] /mail/processing.php
[11:39:51.83] POST > [xml]
[11:39:51.83]
[11:39:51.83] POST[xml] = <?xml version="1.0" encoding="utf-8"?><webmail><param name="action" value="login" /><param name="request" value="" /><param name="token" value="55ac96c289c08cd4a1a3f818c9cb0b80"/><param name="email"><![CDATA[admin@csc2ya.co.uk]]></param><param name="mail_inc_pass"><![CDATA[*]]></param><param name="sign_me" value="0"/><param name="advanced" value="0"/><param name="domain_name"><![CDATA[]]></param><param name="language"><![CDATA[]]></param></webmail>
[11:39:51.85] DB : connected to webmail@localhost
[11:39:51.85] DB[1] > SELECT `id_domain`, `id_realm`, `disabled`, `name`, `url`, `override_settings`, `is_internal`, `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`, `layout`, `xlist`, `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` FROM awm_domains WHERE `url` = 'winserv.csc2ya.co.uk'
[11:39:51.87] CAppServer->DoLogin
[11:39:51.87] DB[2] > SELECT `id_acct`, `id_user`, `id_domain`, `id_realm`, `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`, `def_order`, `getmail_at_login`, `mail_mode`, `mails_on_server_days`, `signature`, `signature_type`, `signature_opt`, `delimiter`, `mailbox_size`, `namespace`, `custom_fields` FROM awm_accounts WHERE `def_acct` = 1 AND `email` = 'admin@csc2ya.co.uk'
[11:39:51.89] DB[3] > 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_timeoffset`, `question_1`, `question_2`, `answer_1`, `answer_2`, `capa`, `custom_fields` FROM awm_settings WHERE `id_user` = 1
[11:39:51.89] start connect to 127.0.0.1:143
[11:39:51.91] connected
[11:39:51.91] NET <
[11:39:51.91] NET[Error] < fgets = false
[11:39:51.92] Exception[1507]: Connect to mail server failed
~ /libraries/afterlogic/common/managers/webmail/manager.php (150)
----------------------------------------------------------------------
#0 C:\inetpub\wwwroot\mail\libraries\afterlogic\common\managers\webmail\manager.php(60): CApiWebmailManager->loginToAccountFull('admin@csc2ya.co...', '*', '')
#1 C:\inetpub\wwwroot\mail\application\server.php(719): CApiWebmailManager->LoginToAccount('admin@csc2ya.co...', '*', '')
#2 [internal function]: CAppServer->DoLogin()
#3 C:\inetpub\wwwroot\mail\application\server.php(4220): call_user_func(Array)
#4 C:\inetpub\wwwroot\mail\processing.php(50): CAppServer->UseMethod('login', '')
#5 {main}
[11:39:51.92] Login Error: Can't connect to mail server
[11:39:51.92] XML Result >
<?xml version="1.0" encoding="utf-8"?><webmail><error><![CDATA[Can't connect to mail server]]></error></webmail>
[11:39:51.93] DB : disconnect from webmail@localhost
[11:39:55.65] /mail/admin/index.php?pop&type=log&action=view
[11:39:55.65]
[11:39:55.65] call CWebMailModule->StandardPopAction->Services |
|
|
It appears that even changing the password back to what it was before will not allow me to log in. I have tried stopping and restarting the hmailserver process on my server, but still cannot log in.
I am running version 6.6.0 of the php version of webmail lite.
Edit: Found how to fix it. I removed the halt line from delete-account.php, then added my own account, and loaded the page to remove the account. On login, it then created a new account, and I can now log in again.
|