Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

UseLoginWithoutDomain #86

Closed
ghost opened this issue May 22, 2018 · 4 comments
Closed

UseLoginWithoutDomain #86

ghost opened this issue May 22, 2018 · 4 comments

Comments

@ghost
Copy link

ghost commented May 22, 2018

I'm having trouble configuring the login page.

My SMTP server settings is allow log as username but not username@example.com. I read the documents and search issues, finding LoginAtDomainValue and UseLoginWithoutDomain can help me.

In version 7.1.1, a number of options for login page configuration were added. The options are found in data/settings/settings.xml file.

First of all, you can have login page contain username field, email field or both of those - by setting LoginFormType to Login, Email or Both, respectively.

But if your login form only has the username field, WebMail Lite needs to know how to build the email address - and it does that using LoginAtDomainValue setting, so the email address is obtained by appending "@" and value of LoginAtDomainValue setting to username. Naturally, the domain will be displayed on login page right next to username field.

While some mailservers require full email address as login, others need just the username. Depending on how your server works, set UseLoginWithoutDomain to Off or On, respectively. The setting is be especially important in case if LoginFormType option is set to Login.
https://afterlogic.com/docs/webmail-lite/configuring-webmail/configuring-login-page

Sadly, I found data/settings/settings.xml file is not exist. But these are config.json and config.json.bak in that folder. And I can't find LoginAtDomainValue or UseLoginWithoutDomain in the files.

Then I edited the file like that, but it seem not work:

	"LoginAtDomainValue": [
		"example.com"
	],
	"UseLoginWithoutDomain": [
		true
	]

I don't know what Afterlogic version is. About page doesn't provide the verison information.
image

Many thanks for help.

@afterlogic-support
Copy link
Member

Hello,

The settings you refer to are available in previous version 7 of WebMail Lite which can still be found at:
https://afterlogic.org/webmail-lite-7

In current version, you can open Mail Servers settings and under specific mail server, check or uncheck "Use full email address as login" option.

As for version information missing, that's probably because there's no VERSION file found in root directory on WebMail. Based on the screenshot, I'm sure you run version 8.

Hope it helps.

@ghost
Copy link
Author

ghost commented May 22, 2018

Solved. Many thanks!

@ghost
Copy link
Author

ghost commented May 22, 2018

image
Now I can login the Afterlogic. After a few seconds, it still said

The username or password you entered is incorrect. (MailSo-Imap-Exceptions-LoginBadCredentialsException)

I look my dovecot log, founding it is still log as username@example.com. Actullay I have uncheck "Use full email address as login" option.
image

@afterlogic-support
Copy link
Member

That's a known one, please see:
afterlogic/webmail-lite-8#14 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant