Search The ForumSearch   RegisterRegister  LoginLogin

AfterLogic WebMail Lite

 AfterLogic Forum : AfterLogic WebMail Lite
Subject Topic: login failed but from desktop client OK Post ReplyPost New Topic
Author
Message << Prev Topic | Next Topic >>
lazna
Newbie
Newbie


Joined: 12 July 2014
Online Status: Offline
Posts: 14
Posted: 10 November 2022 at 5:21am | IP Logged Quote lazna

Trying to login to mailbox, bu t got login "wrong login or password" ([13:03:15][www.xxx.yyy.zzz][0][Core] > login-failed - in log file). While login to same mailbox from desktop client work fine.

9.6.0.build16-build-a3, PHP 7.4, Abyss web server, hMailserver

web server and mailserver on same virtual machine on Windows 7 32bit.

Single mailserver defined only with following settings https://www.imgpaste.net/image/KLVii4
Back to Top View lazna's Profile Search for other posts by lazna
 
Igor
AfterLogic Support
AfterLogic Support


Joined: 24 June 2008
Location: United States
Online Status: Offline
Posts: 5931
Posted: 10 November 2022 at 5:32am | IP Logged Quote Igor

Does the log file actually contain communication with IMAP server? If not, there's probably a misconfiguration of mail servers in adminpanel, make sure you only have one server there, with empty list of domains specified.

Also note that you have to enter full email address on login screen; if you wish to enter just the username, that requires configuring mail login form instead of the default one.

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


Joined: 12 July 2014
Online Status: Offline
Posts: 14
Posted: 12 November 2022 at 11:27am | IP Logged Quote lazna

PLease check image linked i my first post. There is no any IMAP communication on log file, do know why. IMAP server running on same virtual machine and is listening on port 143.

C:\Users\lazna>netstat -anop tcp | grep ":143"
TCP    0.0.0.0:143            0.0.0.0:0             &nb sp;LISTENING       2524

In logfile, there is only:

[19:25:27.23][4d32a4c8] ===== API: LogsViewerWebclient::GetLogFilesData
[19:25:27.24][4d32a4c8] @Time: 0.0234
[19:25:27.24][4d32a4c8] @TimeApiInit: 0.1328
[19:25:27.24][4d32a4c8] INFO[MEMORY]: Memory peak usage: 2MB
[19:25:27.24][4d32a4c8] INFO[TIME]: Time delta: 1668281127.2464
[19:25:30.17][cc8e5a02]
[19:25:30.17][cc8e5a02] ===== API: LogsViewerWebclient::GetLogFile

in second logfile, only one line with unssuccessful login (posted in first post)

Any ideas?
Back to Top View lazna's Profile Search for other posts by lazna
 
lazna
Newbie
Newbie


Joined: 12 July 2014
Online Status: Offline
Posts: 14
Posted: 13 November 2022 at 2:28am | IP Logged Quote lazna

I am trying to dump packets on port 143 by wireshark, but no IMAP packets is captured if perform unsuccessfull login. Possibly server IP misconfiguration (which is not happens here - verified) should not play a role here as far as there is only one interface.

Where I could investigate more?
Back to Top View lazna's Profile Search for other posts by lazna
 
Igor
AfterLogic Support
AfterLogic Support


Joined: 24 June 2008
Location: United States
Online Status: Offline
Posts: 5931
Posted: 13 November 2022 at 11:14pm | IP Logged Quote Igor

I'm positive that WebMail doesn't actually attempt connecting to IMAP, that would be reflected in the logs, apparently some of the checks fails before that. One of the possible reasons is that you're attempting to log in by specifying just the username rather than full email address, I believe hMailServer allows that, WebMail Lite however does not.

The other reason I can think of is this: see if you have data/settings/modules/Mail.config.json configuration file in place, if it's not there - copy it from modules/Mail/config.json; anyway, it should have "AutocreateMailAccountOnNewUserFirstLogin" set to true. If it's set to false, or if there's no such setting at all, user account needs to be added via adminpanel first, only then such a user can log in.

Also, it may be a good idea to delete and add the server again, just in case something could go wrong when adding it via adminpanel.

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


Joined: 12 July 2014
Online Status: Offline
Posts: 14
Posted: 30 November 2022 at 6:38am | IP Logged Quote lazna

confirmed both:

- user if provided in form 'user@domain.tld'
- 'Mail.config.json' is present and 'AutocreateMailAccountOnNewUserFirstLogin' is set to true

any other ideas?
Back to Top View lazna's Profile Search for other posts by lazna
 
Igor
AfterLogic Support
AfterLogic Support


Joined: 24 June 2008
Location: United States
Online Status: Offline
Posts: 5931
Posted: 30 November 2022 at 6:57am | IP Logged Quote Igor

Not really anymore. I'd suggest to consider taking a trial of the Pro version. Community editions of our products do not come with guaranteed free support from Afterlogic.

Also, if you figure out what was causing the issue, we'd appreciate if you post back here, just in case it may help other users.

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

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