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

[bug]: config-v1.1.xml returning 400 on missing emailaddress in query #1042

Closed
johansmitsnl opened this issue Jan 1, 2025 · 1 comment
Closed
Labels
bug Something isn't working

Comments

@johansmitsnl
Copy link

What happened?

When you configure a e-mail account with Thunderbird (Android) it queries the endpoint, but it returns a http 400.

How can we reproduce the problem?

I can reproduce the problem by doing the following steps:

  1. Setup the auto discover as documented
  2. Install Thunderbird
  3. Add account based on the e-mail

On the discover step it tries:

1."domain.net" "GET /.well-known/autoconfig/mail/config-v1.1.xml HTTP/1.1" 404 125 "-" "okhttp/4.12.0"
2. "domain.net" "GET /.well-known/autoconfig/mail/config-v1.1.xml HTTP/2.0" 400 107 "-" "okhttp/4.12.0"
3. "autoconfig.domain.net" "GET /mail/config-v1.1.xml HTTP/2.0" 400 107 "-" "okhttp/4.12.0"
4. "autoconfig.domain.net" "GET /mail/config-v1.1.xml HTTP/1.1" 400 107 "-" "okhttp/4.12.0"

And then it gives you the option to fill in the details by manually.

Version

v0.10.x

What database are you using?

RocksDB

What blob storage are you using?

RocksDB

Where is your directory located?

LDAP

What operating system are you using?

Linux

Relevant log output

ERROR Bad resource parameters (resource.bad-parameters) listenerId = "http", localPort = 8080, remoteIp = 127.0.0.1, remotePort = 53970, details = Missing domain in email address


### Code of Conduct

- [X] I agree to follow this project's Code of Conduct
@mdecimus
Copy link
Member

mdecimus commented Jan 3, 2025

Based on the error message your client is not providing a valid email address on the request. This is required for autodiscover to work.

@mdecimus mdecimus closed this as completed Jan 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants