| Author |  | 
      
        | esetman Senior Member
 
  
 
 Joined: 25 August 2014
 Location: Czech Republic
 Online Status: Offline
 Posts: 158
 | 
          Hi,
           | Posted: 12 August 2019 at 7:43am | IP Logged |   |  
           | 
 |  I migrated from version 7 to version 8.
 Everything works, migrated users work.
 If I create a new user in the OS, he / she will not login anymore. Incorect username or password
 Some idea?
 | 
       
        | Back to Top |     | 
       
       
        |  | 
        | Alex AfterLogic Support
 
  
  
 Joined: 19 November 2003
 Online Status: Offline
 Posts: 2207
 | 
          You can enable debug logging in admin panel and check log files on login attempt for more clues.
           | Posted: 13 August 2019 at 4:33am | IP Logged |   |  
           | 
 |  
 Regards,
 Alex
 | 
       
        | Back to Top |     | 
       
       
        |  | 
        | esetman Senior Member
 
  
 
 Joined: 25 August 2014
 Location: Czech Republic
 Online Status: Offline
 Posts: 158
 | 
          I turn on debug log:
           | Posted: 13 August 2019 at 10:49pm | IP Logged |   |  
           | 
 |  user log: only:
 [05:47:49][192.168.42.101][0][Core] > login-failed: testuserx
 
 master log:
 [05:47:47.37][ecc40b81] [POST(4)][ip:192.168.42.101] /webmail/?/Api/
 [05:47:47.37][ecc40b81] POST > [Module, Method, Parameters, TenantName]
 [05:47:47.37][ecc40b81]
 [05:47:47.37][ecc40b81] Execute subscription: Core::onBeforeRunEntry
 [05:47:47.37][ecc40b81] Execute subscription: OfficeDocumentViewer::onBeforeFileViewEntry
 [05:47:47.37][ecc40b81] API: LogsViewerWebclient::GetLogFilesData
 [05:47:47.37][ecc40b81] @Time: 0.1073
 [05:47:47.37][ecc40b81] @TimeApiInit: 0.0978
 
 [05:47:49.57][50ecab98] [POST(4)][ip:192.168.42.101] /webmail/?/Api/
 [05:47:49.57][50ecab98] POST > [Module, Method, Parameters, TenantName]
 [05:47:49.57][50ecab98]
 [05:47:49.57][50ecab98] Execute subscription: Core::onBeforeRunEntry
 [05:47:49.57][50ecab98] Execute subscription: OfficeDocumentViewer::onBeforeFileViewEntry
 [05:47:49.57][50ecab98] API: StandardLoginFormWebclient::Login
 [05:47:49.57][50ecab98] Execute subscription: AdminAuth::onLogin
 [05:47:49.58][50ecab98] Execute subscription: Mail::onLogin
 [05:47:49.59][50ecab98] Event: 0 > login-failed: testuserx
 [05:47:49.59][50ecab98] ApiException
 [05:47:49.59][50ecab98] @Time: 0.1209
 [05:47:49.59][50ecab98] @TimeApiInit: 0.0962
 
 [05:47:52.51][2264b1cf] [POST(4)][ip:192.168.42.101] /webmail/?/Api/
 [05:47:52.51][2264b1cf] POST > [Module, Method, Parameters, TenantName]
 [05:47:52.51][2264b1cf]
 [05:47:52.51][2264b1cf] Execute subscription: Core::onBeforeRunEntry
 [05:47:52.58][2264b1cf] Execute subscription: OfficeDocumentViewer::onBeforeFileViewEntry
 [05:47:52.58][2264b1cf] API: LogsViewerWebclient::GetLogFilesData
 [05:47:52.59][2264b1cf] @Time: 0.177
 [05:47:52.59][2264b1cf] @TimeApiInit: 0.0946
 
 [05:47:57.73][06b838c5] [POST(4)][ip:192.168.42.101] /webmail/?/Api/
 [05:47:57.73][06b838c5] POST > [Module, Method, Parameters, TenantName]
 [05:47:57.73][06b838c5]
 [05:47:57.73][06b838c5] Execute subscription: Core::onBeforeRunEntry
 [05:47:57.73][06b838c5] Execute subscription: OfficeDocumentViewer::onBeforeFileViewEntry
 [05:47:57.73][06b838c5] API: LogsViewerWebclient::GetLogFilesData
 [05:47:57.73][06b838c5] @Time: 0.099
 [05:47:57.73][06b838c5] @TimeApiInit: 0.0905
 
 [05:47:59.04][0427068f] [POST(4)][ip:192.168.42.101] /webmail/?/Api/
 [05:47:59.04][0427068f] POST > [Module, Method, Parameters, TenantName]
 [05:47:59.04][0427068f]
 [05:47:59.04][0427068f] Execute subscription: Core::onBeforeRunEntry
 [05:47:59.04][0427068f] Execute subscription: OfficeDocumentViewer::onBeforeFileViewEntry
 [05:47:59.04][0427068f] API: LogsViewerWebclient::GetLog
 | 
       
        | Back to Top |     | 
       
       
        |  | 
        | esetman Senior Member
 
  
 
 Joined: 25 August 2014
 Location: Czech Republic
 Online Status: Offline
 Posts: 158
 | 
          testing user is testuserx
           | Posted: 13 August 2019 at 11:07pm | IP Logged |   |  
           | 
 |  log /var/log/secure is empty
 
 i must add username in format: testuserx@mydomain.cz
 however, users are signing in without @mydomain before migrating
 
 i have not turned on: Use full email address as login
 
 where do I set new users to sign in without @mydomain?
 | 
       
        | Back to Top |     | 
       
       
        |  | 
        | esetman Senior Member
 
  
 
 Joined: 25 August 2014
 Location: Czech Republic
 Online Status: Offline
 Posts: 158
 | 
          i try delete testuserx@klenovka.cz from admin panel: error : Error while deleting user
           | Posted: 13 August 2019 at 11:23pm | IP Logged |   |  
           | 
 |  
 in log: [06:20:31.84][a1f509c2] [POST(4)][ip:192.168.42.101] /webmail/?/Api/
 [06:20:31.84][a1f509c2] POST > [Module, Method, Parameters, TenantName]
 [06:20:31.84][a1f509c2]
 [06:20:31.84][a1f509c2] Execute subscription: Core::onBeforeRunEntry
 [06:20:31.84][a1f509c2] Execute subscription: OfficeDocumentViewer::onBeforeFileViewEntry
 [06:20:31.84][a1f509c2] API: Core::DeleteUsers
 [06:20:31.84][a1f509c2] Execute subscription: OAuthIntegratorWebclient::onBeforeDeleteUser
 [06:20:31.85][a1f509c2] Execute subscription: Contacts::onBeforeDeleteUser
 [06:20:31.85][a1f509c2] Execute subscription: PersonalContacts::onBeforeDeleteUser
 [06:20:31.86][a1f509c2] Execute subscription: Mail::onBeforeDeleteUser
 [06:20:31.90][a1f509c2] IMAP[NOTE]: Start connection to "ssl://127.0.0.1:993"
 [06:20:31.92][a1f509c2] IMAP[DATA]: < * OK [CAPABILITY IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ID ENABLE IDLE AUTH=PLAIN AUTH=LOGIN] Dovecot ready.\r\n
 [06:20:31.92][a1f509c2] IMAP[SECURE]: > TAG1 LOGIN "testuserx" "********"\r\n
 [06:20:35.26][a1f509c2] IMAP[DATA]: < TAG1 NO [AUTHENTICATIONFAILED] Authentication failed.\r\n
 [06:20:35.26][a1f509c2] IMAP[WARNING]: MailSo\Imap\Exceptions\NegativeResponseException: TAG1 NO (AUTHENTICATIONFAILED) Authentication failed. in /var/www/webmail/vendor/afterlogic/mailso/lib/MailSo/Imap/ImapClient.php:1763
 Stack trace:
 #0 /var/www/webmail/vendor/afterlogic/mailso/lib/MailSo/Imap/ImapClient.php(1841): MailSo\Imap\ImapClient->validateResponse(Array)
 #1 /var/www/webmail/vendor/afterlogic/mailso/lib/MailSo/Imap/ImapClient.php(1712): MailSo\Imap\ImapClient->parseResponseWithValidation(NULL, false)
 #2 /var/www/webmail/vendor/afterlogic/mailso/lib/MailSo/Imap/ImapClient.php(272): MailSo\Imap\ImapClient->SendRequestWithCheck('LOGIN', Array)
 #3 /var/www/webmail/modules/Mail/Managers/Main/Manager.php(126): MailSo\Imap\ImapClient->Login('testuserx', 'metex38', '')
 #4 /var/www/webmail/modules/Mail/Managers/Main/Manager.php(1876): Aurora\Modules\Mail\Managers\Main\Manager->_getImapClient(Object(Aurora\Modules\Mail\Classes\Account))
 #5 /var/www/webmail/modules/Mail/Module.php(1217): Aurora\Modules\Mail\Managers\Main\Manager->getQuota(Object(Aurora\Modules\Mail\Classes\Account))
 #6 [internal function]: Aurora\Modules\Mail\Module->DeleteAccount(189)
 #7 /var/www/webmail/system/Module/AbstractModule.php(790): call_user_func_array(Array, Array)
 #8 /var/www/webmail/system/Module/Decorator.php(51): Aurora\System\Module\AbstractModule->CallMethod('DeleteAccount', Array)
 #9 /var/www/webmail/modules/Mail/Module.php(5716): Aurora\System\Module\Decorator->__call('DeleteAccount', Array)
 #10 /var/www/webmail/system/EventEmitter.php(169): Aurora\Modules\Mail\Module->onBeforeDeleteUser(Array, Array, NULL)
 #11 /var/www/webmail/system/Module/Manager.php(753): Aurora\System\EventEmitter->emit('Core', 'DeleteUser::bef...', Array, Array, Object(Closure))
 #12 /var/www/webmail/system/Module/AbstractModule.php(421): Aurora\System\Module\Manager->broadcastEvent('Core', 'DeleteUser::bef...', Array, Array)
 #13 /var/www/webmail/system/Module/AbstractModule.php(770): Aurora\System\Module\AbstractModule->broadcastEvent('DeleteUser::bef...', Array, Array)
 #14 /var/www/webmail/system/Module/Decorator.php(51): Aurora\System\Module\AbstractModule->CallMethod('DeleteUser', Array)
 #15 /var/www/webmail/modules/Core/Module.php(3371): Aurora\System\Module\Decorator->__call('DeleteUser', Array)
 #16 [internal function]: Aurora\Modules\Core\Module->DeleteUsers(Array)
 #17 /var/www/webmail/system/Module/AbstractModule.php(790): call_user_func_array(Array, Array)
 #18 /var/www/webmail/modules/Core/Module.php(635): Aurora\System\Module\AbstractModule->CallMethod('DeleteUsers', Array, true)
 #19 [internal function]: Aurora\Modules\Core\Module->EntryApi()
 #20 /var/www/webmail/system/Router.php(108): call_user_func_array(Array, Array)
 #21 /var/www/webmail/system/Module/Manager.php(611): Aurora\System\Router->route('api')
 #22 /var/www/webmail/system/Application.php(119): Aurora\System\Module\Manager->RunEntry('api')
 #23 /var/www/webmail/system/Application.php(90): Aurora\System\Application->Route('api')
 #24 /var/www/webmail/index.php(21): Aurora\System\Application::Start()
 #25 {main}
 [06:20:35.26][a1f509c2] IMAP[NOTICE]: MailSo\Imap\Exceptions\LoginBadCredentialsException: TAG1 NO (AUTHENTICATIONFAILED) Authentication failed. in /var/www/webmail/vendor/afterlogic/mailso/lib/MailSo/Imap/ImapClient.php:290
 Stack trace:
 #0 /var/www/webmail/modules/Mail/Managers/Main/Manager.php(126): MailSo\Imap\ImapClient->Login('testuserx', 'metex38', '')
 #1 /var/www/webmail/modules/Mail/Managers/Main/Manager.php(1876): Aurora\Modules\Mail\Managers\Main\Manager->_getImapClient(Object(Aurora\Modules\Mail\Classes\Account))
 #2 /var/www/webmail/modules/Mail/Module.php(1217): Aurora\Modules\Mail\Managers\Main\Manager->getQuota(Object(Aurora\Modules\Mail\Classes\Account))
 #3 [internal function]: Aurora\Modules\Mail\Module->DeleteAccount(189)
 #4 /var/www/webmail/system/Module/AbstractModule.php(790): call_user_func_array(Array, Array)
 #5 /var/www/webmail/system/Module/Decorator.php(51): Aurora\System\Module\AbstractModule->CallMethod('DeleteAccount', Array)
 #6 /var/www/webmail/modules/Mail/Module.php(5716): Aurora\System\Module\Decorator->__call('DeleteAccount', Array)
 #7 /var/www/webmail/system/EventEmitter.php(169): Aurora\Modules\Mail\Module->onBeforeDeleteUser(Array, Array, NULL)
 #8 /var/www/webmail/system/Module/Manager.php(753): Aurora\System\EventEmitter->emit('Core', 'DeleteUser::bef...', Array, Array, Object(Closure))
 #9 /var/www/webmail/system/Module/AbstractModule.php(421): Aurora\System\Module\Manager->broadcastEvent('Core', 'DeleteUser::bef...', Array, Array)
 #10 /var/www/webmail/system/Module/AbstractModule.php(770): Aurora\System\Module\AbstractModule->broadcastEvent('DeleteUser::bef...', Array, Array)
 #11 /var/www/webmail/system/Module/Decorator.php(51): Aurora\System\Module\AbstractModule->CallMethod('DeleteUser', Array)
 #12 /var/www/webmail/modules/Core/Module.php(3371): Aurora\System\Module\Decorator->__call('DeleteUser', Array)
 #13 [internal function]: Aurora\Modules\Core\Module->DeleteUsers(Array)
 #14 /var/www/webmail/system/Module/AbstractModule.php(790): call_user_func_array(Array, Array)
 #15 /var/www/webmail/modules/Core/Module.php(635): Aurora\System\Module\AbstractModule->CallMethod('DeleteUsers', Array, true)
 #16 [internal function]: Aurora\Modules\Core\Module->EntryApi()
 #17 /var/www/webmail/system/Router.php(108): call_user_func_array(Array, Array)
 #18 /var/www/webmail/system/Module/Manager.php(611): Aurora\System\Router->route('api')
 #19 /var/www/webmail/system/Application.php(119): Aurora\System\Module\Manager->RunEntry('api')
 #20 /var/www/webmail/system/Application.php(90): Aurora\System\Application->Route('api')
 #21 /var/www/webmail/index.php(21): Aurora\System\Application::Start()
 #22 {main}
 [06:20:35.26][a1f509c2] TAG1 NO (AUTHENTICATIONFAILED) Authentication failed.
 [06:20:35.27][a1f509c2] @Time: 3.5306
 [06:20:35.27][a1f509c2] @TimeApiInit: 0.0992
 [06:20:35.27][a1f509c2] INFO[MEMORY]: Memory peak usage: 8MB
 [06:20:35.27][a1f509c2] INFO[TIME]: Time delta: 1565763635.2707
 [06:20:35.27][a1f509c2] IMAP[NOTE]: Disconnected from "ssl://127.0.0.1:993" (success)
 
 
 I find bug on webmail. If i delete user in OS: userdel testuserx
 cannot delete users from webmail database.
 I must to re-create users in OS.
 After Then can I delete users from the adminpanel database.
 | 
       
        | Back to Top |     | 
       
       
        |  | 
        | Alex AfterLogic Support
 
  
  
 Joined: 19 November 2003
 Online Status: Offline
 Posts: 2207
 | 
          How did you create the user? Via admin panel or it was created automatically on login? The user must be in 'account@domain' format, just 'account' won't work.
           | Posted: 15 August 2019 at 1:29am | IP Logged |   |  
           | 
 |  
 Bug with deleting non-existent users will be fixed. However, it's still not recommended to remove the user on the mail server before deleting in webmail. The user in webmail is created on top of the mail user, and the order of removal must be opposite.
 
 Regards,
 Alex
 | 
       
        | Back to Top |     | 
       
       
        |  | 
        | esetman Senior Member
 
  
 
 Joined: 25 August 2014
 Location: Czech Republic
 Online Status: Offline
 Posts: 158
 | 
          Hi Alex,
           | Posted: 15 August 2019 at 4:56am | IP Logged |   |  
           | 
 |  version 7 worked by signing in without @mydomain. E.g. usertestxx
 
 I upgraded to version 8. Users who have been migrated from version 7 are logging on as before. usertestxx
 
 If I create a usertestxyy user in OS, it will not log in to webmail version 8 as usertestxyy. You must log in as usertestxyy @ mydomain
 
 I need to be united. How do I make new users log in to webmail without @ mydoamin?
 Version 7 made it possible
 | 
       
        | Back to Top |     | 
       
       
        |  | 
        | esetman Senior Member
 
  
 
 Joined: 25 August 2014
 Location: Czech Republic
 Online Status: Offline
 Posts: 158
 | 
          it would be enough to pre-fill somewhere in the configuration file @ mydomain.cz
           | Posted: 15 August 2019 at 7:14am | IP Logged |   |  
           | 
 |  so users don't have to fill it out. Make it work for migrated users and new users
 | 
       
        | Back to Top |     | 
       
       
        |  | 
        | Alex AfterLogic Support
 
  
  
 Joined: 19 November 2003
 Online Status: Offline
 Posts: 2207
 | 
          How did you create the user? Via admin panel or it was created automatically on login? The user must be in 'account@domain' format, just 'account' won't work.
           | Posted: 16 August 2019 at 12:59am | IP Logged |   |  
           | 
 |  
 Regards,
 Alex
 | 
       
        | Back to Top |     | 
       
       
        |  | 
        | esetman Senior Member
 
  
 
 Joined: 25 August 2014
 Location: Czech Republic
 Online Status: Offline
 Posts: 158
 | 
          I create a new user into the OS system: useradd usertest
           | Posted: 16 August 2019 at 3:36am | IP Logged |   |  
           | 
 |  
 The user creates the webmail automatically after the first login.
 But only with @mydomain
 
 How come it's not possible. When migrated users work without @mydomain?
 | 
       
        | Back to Top |     | 
       
       
        |  | 
        | esetman Senior Member
 
  
 
 Joined: 25 August 2014
 Location: Czech Republic
 Online Status: Offline
 Posts: 158
 | 
          
           | Posted: 16 August 2019 at 4:02am | IP Logged |   |  
           | 
 |    
 here is the screen, eg among other 30 users. These are migrated users from version 7. them login works without @mydomain
 | 
       
        | Back to Top |     | 
       
       
        |  | 
        | esetman Senior Member
 
  
 
 Joined: 25 August 2014
 Location: Czech Republic
 Online Status: Offline
 Posts: 158
 | 
          if this is not possible now, can you do a new version so that users can sign in without @mydomain? If there is only one domain on the server, it would be logical.
           | Posted: 16 August 2019 at 4:11am | IP Logged |   |  
           | 
 |  | 
       
        | Back to Top |     | 
       
       
        |  | 
        | Igor AfterLogic Support
 
  
 
 Joined: 24 June 2008
 Location: United States
 Online Status: Offline
 Posts: 6168
 | 
          In mail server properties, you can uncheck "Use full email address as login" box and that will ensure just the username is sent to IMAP for authentication rather than full email address. Does that work for you?
           | Posted: 19 August 2019 at 1:31am | IP Logged |   |  
           | 
 |  
 --
 Regards,
 Igor, Afterlogic Support
 | 
       
        | Back to Top |     | 
       
       
        |  | 
        | esetman Senior Member
 
  
 
 Joined: 25 August 2014
 Location: Czech Republic
 Online Status: Offline
 Posts: 158
 | 
          Hi Igor,
           | Posted: 19 August 2019 at 3:11am | IP Logged |   |  
           | 
 |  I have unchecked the box (not checked).
 Should it be checked or not?
 | 
       
        | Back to Top |     | 
       
       
        |  | 
        | Igor AfterLogic Support
 
  
 
 Joined: 24 June 2008
 Location: United States
 Online Status: Offline
 Posts: 6168
 | 
          If you need just the username to be sent to the server, then the box has to be unchecked.
           | Posted: 19 August 2019 at 3:35am | IP Logged |   |  
           | 
 |  
 --
 Regards,
 Igor, Afterlogic Support
 | 
       
        | Back to Top |     | 
       
       
        |  | 
        | esetman Senior Member
 
  
 
 Joined: 25 August 2014
 Location: Czech Republic
 Online Status: Offline
 Posts: 158
 | 
          Hi igor,
           | Posted: 19 August 2019 at 4:38am | IP Logged |   |  
           | 
 |  I can't verify it now, but I think it's 99% unchecked.
 To which configuration file is the check box writed to check it in the configuration file?
 | 
       
        | Back to Top |     | 
       
       
        |  | 
        | Igor AfterLogic Support
 
  
 
 Joined: 24 June 2008
 Location: United States
 Online Status: Offline
 Posts: 6168
 | 
          Not a file, it's stored in the database for each mail server separately.
           | Posted: 19 August 2019 at 4:55am | IP Logged |   |  
           | 
 |  
 --
 Regards,
 Igor, Afterlogic Support
 | 
       
        | Back to Top |     | 
       
       
        |  | 
        | esetman Senior Member
 
  
 
 Joined: 25 August 2014
 Location: Czech Republic
 Online Status: Offline
 Posts: 158
 | 
          Hi Igor,
           | Posted: 19 August 2019 at 5:10am | IP Logged |   |  
           | 
 |  I check settings. Box is unchecked.
 Is it him? What with this?
 
 
   | 
       
        | Back to Top |     | 
       
       
        |  | 
        | Igor AfterLogic Support
 
  
 
 Joined: 24 June 2008
 Location: United States
 Online Status: Offline
 Posts: 6168
 | 
          Yes, that's the correct setting. Can you confirm that, according to the logs, it's actually just the username sent to IMAP server for authentication? In the logs you've posted earlier, that's the case, so it doesn't seem to be WebMail issue:
           | Posted: 19 August 2019 at 5:14am | IP Logged |   |  
           | 
 |  
 
 
| Code: 
 
    
    | 
      
       | [06:20:31.92][a1f509c2] IMAP[SECURE]: > TAG1 LOGIN "testuserx" "********"\r\n [06:20:35.26][a1f509c2] IMAP[DATA]: < TAG1 NO [AUTHENTICATIONFAILED] Authentication failed.\r\n
 |  |  |  
 --
 Regards,
 Igor, Afterlogic Support
 | 
       
        | Back to Top |     | 
       
       
        |  | 
        | esetman Senior Member
 
  
 
 Joined: 25 August 2014
 Location: Czech Republic
 Online Status: Offline
 Posts: 158
 | 
          If I enter login without @mydomain.cz, nothing will be displayed in the log.
           | Posted: 19 August 2019 at 5:42am | IP Logged |   |  
           | 
 |  /var/log/maillog and /var/log/secure is empty record.
 
 If I enter login with @mydomain.cz Purposely enter wrong password:
 
 /var/log/maillog
 mail dovecot: imap-login: Disconnected (auth failed, 1 attempts in 4 secs): user=<motorka>, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, TLS, session=<ZJnPlneQ5Nl/AAAB>
 
 /var/log/secure
 mail auth: pam_unix(dovecot:auth): authentication failure; logname= uid=0 euid=0 tty=dovecot ruser=motorka rhost=127.0.0.1  user=motorka
 
 It seems that if I enter login without @mydomain.cz, webmail will not attempt to login at all
 | 
       
        | Back to Top |     | 
       
       
        |  | 
        | Igor AfterLogic Support
 
  
 
 Joined: 24 June 2008
 Location: United States
 Online Status: Offline
 Posts: 6168
 | 
          By default, entering full email address is required. The setting I mentioned would only affect sending full email address to mailserver or just the username.
           | Posted: 19 August 2019 at 7:07am | IP Logged |   |  
           | 
 |  
 But there's an alternative login form you could use, so your users will only need to input their usernames and passwords:
 
 Configuring mail login form
 
 --
 Regards,
 Igor, Afterlogic Support
 | 
       
        | Back to Top |     | 
       
       
        |  | 
        | esetman Senior Member
 
  
 
 Joined: 25 August 2014
 Location: Czech Republic
 Online Status: Offline
 Posts: 158
 | 
          in data/settings/modules/MailLoginFormWebclient.config.json
           | Posted: 19 August 2019 at 10:29am | IP Logged |   |  
           | 
 |  
 this:
 "Disabled": [
 true,
 "bool"
 
 change on:
 "Disabled": [
 false,
 "bool"
 
 url: webmail.mydomain.cz
 for new user login not work. Log is empty.
 
 url: webmail.mydomain.cz/#mail
 after login name is pre-defined @mydomain.cz login not work. Log is empty.
 now not workink user login, which previously worked without @mydomain.cz
 
 url: webmail.mydomain.cz/#login
 old user existing after migrate, login OK. New user not work login. Log is empty.
 
 
 
 in data/settings/modules/CoreWebclient.config.json
 
 this:
 "DefaultAnonymScreenHash": [
 "login",
 "string"
 ],
 
 change on:
 "DefaultAnonymScreenHash": [
 "mail",
 "string"
 ],
 
 
 url: webmail.mydomain.cz
 after login name is pre-defined @mydomain.cz login not work. Log is empty.
 now not workink user login, which previously worked without @mydomain.cz
 
 url: webmail.mydomain.cz/#mail
 after login name is pre-defined @mydomain.cz login not work. Log is empty.
 now not workink user login, which previously worked without @mydomain.cz
 
 url: webmail.mydomain.cz/#login
 old user existing after migrate, login OK. New user not work login. Log is empty.
 
 
 What am I doing wrong?
 | 
       
        | Back to Top |     | 
       
       
        |  | 
        | Igor AfterLogic Support
 
  
 
 Joined: 24 June 2008
 Location: United States
 Online Status: Offline
 Posts: 6168
 | 
          When saying that log is empty, do you actually speak of WebMail log? If that one is empty, that might mean lack of write permission over the data directory; the log will pretty much never be empty, assuming you've set verbosity level to Debug.
           | Posted: 20 August 2019 at 1:19am | IP Logged |   |  
           | 
 |  
 --
 Regards,
 Igor, Afterlogic Support
 | 
       
        | Back to Top |     | 
       
       
        |  | 
        | esetman Senior Member
 
  
 
 Joined: 25 August 2014
 Location: Czech Republic
 Online Status: Offline
 Posts: 158
 | 
          Hi Igor,
           | Posted: 20 August 2019 at 1:49am | IP Logged |   |  
           | 
 |  I was talking about the server log.
 /var/log/maillog (postfix)
 /var/log/secure  (authoriziation login)
 There was no message in these logs.
 
 Debug log from webmail have turn off. Turn it on
 | 
       
        | Back to Top |     | 
       
       
        |  | 
        | esetman Senior Member
 
  
 
 Joined: 25 August 2014
 Location: Czech Republic
 Online Status: Offline
 Posts: 158
 | 
          I set:
           | Posted: 20 August 2019 at 1:55am | IP Logged |   |  
           | 
 |  data/settings/modules/MailLoginFormWebclient.config.json
 "Disabled": [
 false,
 "bool"
 
 data/settings/modules/CoreWebclient.config.json
 "DefaultAnonymScreenHash": [
 "mail",
 "string"
 ],
 
 Debug log is enabled:
 user activity log:
 [08:54:41][192.168.42.101][0][MailLoginFormWebclient] > login-failed: testuser
 
 
 master log:
 [08:54:34.61][26c622ca] [GET][ip:192.168.42.101] /webmail/
 [08:54:34.61][26c622ca] POST > []
 [08:54:34.61][26c622ca]
 [08:54:34.61][26c622ca] Execute subscription: Core::onBeforeRunEntry
 [08:54:34.61][26c622ca] Execute subscription: OfficeDocumentViewer::onBeforeFileViewEntry
 [08:54:34.62][26c622ca] Execute subscription: GoogleAuthWebclient::onGetSettings
 [08:54:34.62][26c622ca] Execute subscription: PersonalContacts::onGetStorage
 [08:54:34.62][26c622ca] Execute subscription: FacebookAuthWebclient::onGetSettings
 
 [08:54:35.43][b0ed938f] [POST(4)][ip:192.168.42.101] /webmail/?/Api/
 [08:54:35.43][b0ed938f] POST > [Module, Method, Parameters, TenantName]
 [08:54:35.43][b0ed938f]
 [08:54:35.43][b0ed938f] Execute subscription: Core::onBeforeRunEntry
 [08:54:35.44][b0ed938f] Execute subscription: OfficeDocumentViewer::onBeforeFileViewEntry
 [08:54:35.44][b0ed938f] API: MailLoginFormWebclient::GetMailDomains
 
 [08:54:35.44][cd5a5712] [POST(4)][ip:192.168.42.101] /webmail/?/Api/
 [08:54:35.44][cd5a5712] POST > [Module, Method, Parameters, TenantName]
 [08:54:35.44][cd5a5712]
 [08:54:35.44][cd5a5712] Execute subscription: Core::onBeforeRunEntry
 [08:54:35.44][cd5a5712] Execute subscription: OfficeDocumentViewer::onBeforeFileViewEntry
 [08:54:35.44][cd5a5712] API: OAuthIntegratorWebclient::GetServices
 [08:54:35.44][cd5a5712] Execute subscription: GoogleAuthWebclient::onAfterGetServices
 [08:54:35.44][cd5a5712] Execute subscription: FacebookAuthWebclient::onAfterGetServices
 [08:54:35.44][cd5a5712] Execute subscription: DropboxAuthWebclient::onAfterGetServices
 [08:54:35.44][cd5a5712] @Time: 0.1054
 [08:54:35.44][cd5a5712] @TimeApiInit: 0.096
 [08:54:35.45][b0ed938f] @Time: 0.1092
 [08:54:35.45][b0ed938f] @TimeApiInit: 0.091
 
 [08:54:36.84][c5c5c7da] [POST(4)][ip:192.168.42.101] /webmail/?/Api/
 [08:54:36.84][c5c5c7da] POST > [Module, Method, Parameters, TenantName]
 [08:54:36.84][c5c5c7da]
 [08:54:36.84][c5c5c7da] Execute subscription: Core::onBeforeRunEntry
 [08:54:36.84][c5c5c7da] Execute subscription: OfficeDocumentViewer::onBeforeFileViewEntry
 [08:54:36.84][c5c5c7da] API: LogsViewerWebclient::GetLogFilesData
 [08:54:36.85][c5c5c7da] @Time: 0.0959
 [08:54:36.85][c5c5c7da] @TimeApiInit: 0.0878
 
 [08:54:41.22][a9c7534f] [POST(4)][ip:192.168.42.101] /webmail/?/Api/
 [08:54:41.22][a9c7534f] POST > [Module, Method, Parameters, TenantName]
 [08:54:41.22][a9c7534f]
 [08:54:41.22][a9c7534f] Execute subscription: Core::onBeforeRunEntry
 [08:54:41.22][a9c7534f] Execute subscription: OfficeDocumentViewer::onBeforeFileViewEntry
 [08:54:41.22][a9c7534f] API: MailLoginFormWebclient::Login
 [08:54:41.24][a9c7534f] Event: 0 > login-failed: testuser
 [08:54:41.24][a9c7534f] ApiException
 [08:54:41.25][a9c7534f] @Time: 0.114
 [08:54:41.25][a9c7534f] @TimeApiInit: 0.0874
 
 [08:54:41.98][82f06d10] [POST(4)][ip:192.168.42.101] /webmail/?/Api/
 [08:54:41.98][82f06d10] POST > [Module, Method, Parameters, TenantName]
 [08:54:41.98][82f06d10]
 [08:54:41.98][82f06d10] Execute subscription: Core::onBeforeRunEntry
 [08:54:41.98][82f06d10] Execute subscription: OfficeDocumentViewer::onBeforeFileViewEntry
 [08:54:41.98][82f06d10] API: LogsViewerWebclient::GetLogFilesData
 [08:54:41.99][82f06d10] @Time: 0.0973
 [08:54:41.99][82f06d10] @TimeApiInit: 0.0885
 
 [08:54:47.13][af184725] [POST(4)][ip:192.168.42.101] /webmail/?/Api/
 [08:54:47.13][af184725] POST > [Module, Method, Parameters, TenantName]
 [08:54:47.13][af184725]
 [08:54:47.13][af184725] Execute subscription: Core::onBeforeRunEntry
 [08:54:47.13][af184725] Execute subscription: OfficeDocumentViewer::onBeforeFileViewEntry
 [08:54:47.13][af184725] API: LogsViewerWebclient::GetLogFilesData
 [08:54:47.14][af184725] @Time: 0.1077
 [08:54:47.14][af184725] @TimeApiInit: 0.0939
 
 [08:54:47.43][23d1ae82] [POST(4)][ip:192.168.42.101] /webmail/?/Api/
 [08:54:47.43][23d1ae82] POST > [Module, Method, Parameters, TenantName]
 [08:54:47.43][23d1ae82]
 [08:54:47.43][23d1ae82] Execute subscription: Core::onBeforeRunEntry
 [08:54:47.43][23d1ae82] Execute subscription: OfficeDocumentViewer::onBeforeFileViewEntry
 [08:54:47.43][23d1ae82] API: Core::UpdateSettings
 
 | 
       
        | Back to Top |     | 
       
       
        |  |