afterlogic / webmail-lite-8

Open-source webmail script for existing IMAP server
https://afterlogic.org/webmail-lite-8
GNU Affero General Public License v3.0
335 stars 71 forks source link

Short username/local-part login #14

Closed graphik55 closed 6 years ago

graphik55 commented 6 years ago

It seems to be impossible to connect to an IMAP server if only the local-part of the E-Mail address is usable as username. In version 7 there was an option to enable such login: https://afterlogic.com/docs/webmail-lite/configuring-webmail/configuring-login-page

e.g. E-Mail: graphik55@example.com Login username: graphik55

Is there any solution for this?

afterlogic-support commented 6 years ago

We have actually implemented a solution for this in WebMail Pro v8: https://afterlogic.com/webmail-client Under Mail Servers, there's a setting added "Use full email address as login" for each server. But for some reason, it looks like the setting isn't there in WebMail Lite v8, I've asked the developers to look into this. Most likely, it's a bug which will be corrected in the next update.

afterlogic-support commented 6 years ago

Follow-up: it appears the feature was added into the source but the new product build wasn't released yet. We'll probably release it later this week.

graphik55 commented 6 years ago

Great news and thank you for such a fast reply.

afterlogic-support commented 6 years ago

Have just uploaded a new package, available at: https://afterlogic.org/download/webmail-lite-php Hope it works for you.

graphik55 commented 6 years ago

I am sorry but it is not working properly. I have multiple issues:

  1. If I create a "Mail Server" with unchecked "Use full email address as login", the option is not unchecked. I need to edit the Mail Server and uncheck again.

  2. I was able to connect to my Mail Server one time. While try to sync my Mails I got a red notification for wrong username/password. If I logout from my Mail Server and try to login again it is not possible. I need to clear the database and setup my Mail Server again.

Do you have some ideas?

I attached my debug log from my first login attempt, maybe it is useful. It is anonymized: Domain: example.com User: joe Mail Server: mail.example.com webmail.log

afterlogic-support commented 6 years ago

Thanks, looks like there's a problem indeed, i was able to reproduce issue #1 and the developers will look into both the issues. Will keep you posted.

afterlogic-support commented 6 years ago

Developers state they have corrected the issue, the fix will be included in the next package. You can update your installation when the package is available, or by grabbing the code from https://github.com/afterlogic/aurora-module-mail

graphik55 commented 6 years ago

I just updated the module now and it is working fine.

Thank you for your fast help.

Pusnow commented 6 years ago

When do I get this fix at the Debian repo? (deb http://apt.afterlogic.com/stable /)

afterlogic-support commented 6 years ago

The package will be updated once version 8.2 is released, ETA is 1-2 weeks from now.

afterlogic-support commented 6 years ago

The issue should be corrected by now, both in ZIP package and in Debian repository. Should you encounter it within 8.2 release, let us know.