Author |
|
antgeek Newbie
Joined: 16 April 2014 Location: Singapore
Online Status: Offline Posts: 1
|
Posted: 16 April 2014 at 2:13am | IP Logged
|
|
|
I refer to some previous post related to "can not login" but really sorry have to ask again how can I turn Advanced login on?
My domain settings are also different as per screen here https://dl.dropboxusercontent.com/u/105017109/screenshot_2429.jpg
After installation from cPanel Softaculus, apparently my _account table is blank and separated from cPanel's webmail account.
The previous posts are:
http://www.afterlogic.com/forum/forum_posts.asp?TID=4196
http://www.afterlogic.com/forum/forum_posts.asp?TID=3871
Thanks in advanced
|
Back to Top |
|
|
Igor AfterLogic Support
Joined: 24 June 2008 Location: United States
Online Status: Offline Posts: 6104
|
Posted: 16 April 2014 at 2:46am | IP Logged
|
|
|
Current version of AfterLogic WebMail doesn't offer Advanced Login feature, and the pages you were referring to are very outdated. If you describe what exactly is the problem, we might be able to assist. In case if you're unable to log in but you're sure the account credentials are correct, you need to debug the application - enable logging in AdminPanel, reproduce the problem and study the logs.
--
Regards,
Igor, AfterLogic Support
|
Back to Top |
|
|
strae Newbie
Joined: 17 April 2014 Location: Italy
Online Status: Offline Posts: 2
|
Posted: 17 April 2014 at 7:37am | IP Logged
|
|
|
Hello, I have the same problem.
My debian+postfix configuration is working, i can send and receive emails, the only problem is the webmail login!
My postfix configuration is:
**/etc/postfix/main.cf**
# See /usr/share/postfix/main.cf.dist for a commented, more complete version
# Debian specific: Specifying a file name will cause the first
# line of that file to be used as the name. The Debian default
# is /etc/mailname.
#myorigin = /etc/mailname
smtpd_banner = $myhostname ESMTP $mail_name (Debian/GNU)
biff = no
# appending .domain is the MUA's job.
append_dot_mydomain = no
# Uncomment the next line to generate "delayed mail" warnings
#delay_warning_time = 4h
readme_directory = no
# TLS parameters
smtpd_tls_cert_file=/etc/ssl/certs/ssl-cert-snakeoil.pem
smtpd_tls_key_file=/etc/ssl/private/ssl-cert-snakeoil.key
smtpd_use_tls=yes
smtpd_tls_session_cache_database = btree:${data_directory}/smtpd_scache
smtp_tls_session_cache_database = btree:${data_directory}/smtp_scache
# See /usr/share/doc/postfix/TLS_README.gz in the postfix-doc package for
# information on enabling SSL in the smtp client.
myhostname = server1.example.com
alias_maps = hash:/etc/aliases
alias_database = hash:/etc/aliases
myorigin = example.com
mydestination = example.com, localhost, localhost.localdomain, localhost
relayhost =
mynetworks = 127.0.0.0/8 [::ffff:127.0.0.0]/104 [::1]/128
mailbox_command = procmail -a "$EXTENSION"
mailbox_size_limit = 0
recipient_delimiter = +
inet_interfaces = all
relay_domains = example.com
virtual_alias_maps = hash:/etc/postfix/virtual
**/etc/postfix/virtual**
test@example.com test
examplemail@example.com examplemail
**/etc/aliases**
mailer-daemon: postmaster
postmaster: root
nobody: root
hostmaster: root
usenet: root
news: root
webmaster: root
www: root
ftp: root
abuse: root
noc: root
security: root
root: user
dp:dp
test:test
clamav: root
**Webmail error log:**
[14:19:30.30] Location: index.php
[14:19:30.52] /webmail/adminpanel/index.php
[14:19:30.52]
[14:19:30.52] call CCommonModule->PopulateData->SystemLogging()
[14:19:30.52] call CWebMailModule->PopulateData->SystemLogging()
[14:19:33.61] [POST(6)] /webmail/index.php?/Ajax/
[14:19:33.61] POST > [Action, Email, IncLogin, IncPassword, SignMe, Token]
[14:19:33.61]
[14:19:33.61] AJAX: Action: Login
[14:19:33.61] DB(PDO/mysql) : start connect to webmail@localhost
[14:19:33.61] DB : connected to webmail@localhost
[14:19:33.61] 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` FROM awm_accounts WHERE `def_acct` = 1 AND `email` = 'test@example.com'
[14:19:33.62] DB[2] > SELECT `id_domain`, `id_tenant`, `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`, `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` FROM awm_domains WHERE `name` = 'example.com'
[14:19:33.62] Exception[1504]: Unknown error
~ /libraries/afterlogic/common/managers/webmail/manager.php (136)
----------------------------------------------------------------------
#0 /var/www/example.com/htdocs/webmail/libraries/afterlogic/common/managers/integrator/manager.php(711): CApiWebmailManager->CreateAccountProcess('test@example.com', 'test', '', Array)
#1 /var/www/example.com/htdocs/webmail/libraries/ProjectSeven/Actions.php(2245): CApiIntegratorManager->LoginToAccount('test@example.com', 'test', '', '')
#2 [internal function]: ProjectSeven\Actions->AjaxLogin()
#3 /var/www/example.com/htdocs/webmail/libraries/ProjectSeven/Service.php(242): call_user_func(Array)
#4 /var/www/example.com/htdocs/webmail/libraries/ProjectSeven/Boot.php(5): ProjectSeven\Service->Handle()
#5 /var/www/example.com/htdocs/webmail/index.php(71): include('/var/www/example....')
#6 {main}
[14:19:33.62] exception 'ProjectSeven\Exceptions\ClientException' with message 'ClientException' in /var/www/example.com/htdocs/webmail/libraries/ProjectSeven/Actions.php:2283
Stack trace:
#0 [internal function]: ProjectSeven\Actions->AjaxLogin()
#1 /var/www/example.com/htdocs/webmail/libraries/ProjectSeven/Service.php(242): call_user_func(Array)
#2 /var/www/example.com/htdocs/webmail/libraries/ProjectSeven/Boot.php(5): ProjectSeven\Service->Handle()
#3 /var/www/example.com/htdocs/webmail/index.php(71): include('/var/www/example....')
#4 {main}
[14:19:33.62] DB : disconnect from webmail@localhost
[14:19:36.87] /webmail/adminpanel/index.php?pop&type=log&action=view
[14:19:36.87]
[14:19:36.87] call CCommonModule->StandardPopAction->System()
[14:19:36.87] call CWebMailModule->StandardPopAction->System()
So, looks like the error is that Webmail fails to automatically create the users in the database table: all the tables mentioned in the log are empty..
Any idea on how to solve?
I've seen later the debian APT package, so I've installed webmail lite 7 from the zip archive downloaded.
|
Back to Top |
|
|
Igor AfterLogic Support
Joined: 24 June 2008 Location: United States
Online Status: Offline Posts: 6104
|
Posted: 17 April 2014 at 7:42am | IP Logged
|
|
|
That kind of error usually occurs if "Only already registered users can access WebMail." is checked in default domain settings. In most cases, that option must be disabled, otherwise new accounts cannot be created.
As for WebMail Lite DEB package, there are known issues with it and we're currently in process of creating new version of a DEB package for WebMail Lite.
--
Regards,
Igor, AfterLogic Support
|
Back to Top |
|
|
strae Newbie
Joined: 17 April 2014 Location: Italy
Online Status: Offline Posts: 2
|
Posted: 18 April 2014 at 1:52am | IP Logged
|
|
|
Hi Igor, thanks for your reply.
I've unchecked the option you mentioned and now it "works", i get another error but is imap related so I have to check my imap configuration.
Thanks!
|
Back to Top |
|
|
|
|