Author |
|
lazna Newbie
Joined: 12 July 2014
Online Status: Offline Posts: 17
|
Posted: 10 November 2022 at 5:21am | IP Logged
|
|
|
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 |
|
|
Igor AfterLogic Support
Joined: 24 June 2008 Location: United States
Online Status: Offline Posts: 6110
|
Posted: 10 November 2022 at 5:32am | IP Logged
|
|
|
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 |
|
|
lazna Newbie
Joined: 12 July 2014
Online Status: Offline Posts: 17
|
Posted: 12 November 2022 at 11:27am | IP Logged
|
|
|
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 |
|
|
lazna Newbie
Joined: 12 July 2014
Online Status: Offline Posts: 17
|
Posted: 13 November 2022 at 2:28am | IP Logged
|
|
|
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 |
|
|
Igor AfterLogic Support
Joined: 24 June 2008 Location: United States
Online Status: Offline Posts: 6110
|
Posted: 13 November 2022 at 11:14pm | IP Logged
|
|
|
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 |
|
|
lazna Newbie
Joined: 12 July 2014
Online Status: Offline Posts: 17
|
Posted: 30 November 2022 at 6:38am | IP Logged
|
|
|
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 |
|
|
Igor AfterLogic Support
Joined: 24 June 2008 Location: United States
Online Status: Offline Posts: 6110
|
Posted: 30 November 2022 at 6:57am | IP Logged
|
|
|
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 |
|
|