[GH-ISSUE #1570] got "Domain does not exist" when I try to create a new user #1239

Closed
opened 2026-02-27 11:16:03 +03:00 by kerem · 5 comments
Owner

Originally created by @IPv777 on GitHub (Sep 24, 2018).
Original GitHub issue: https://github.com/modoboa/modoboa/issues/1570

Impacted versions

  • Modoboa: 1.10.6
  • installer used: Yes
  • Webserver: Nginx

Steps to reproduce

use the installer on a fresh setup of Debian 9

Current behavior

I can't create a new account, despite the domain name exists and the e-mail admin@mydomain.fr is working
image

Originally created by @IPv777 on GitHub (Sep 24, 2018). Original GitHub issue: https://github.com/modoboa/modoboa/issues/1570 # Impacted versions * Modoboa: 1.10.6 * installer used: Yes * Webserver: Nginx # Steps to reproduce use the installer on a fresh setup of Debian 9 # Current behavior I can't create a new account, despite the domain name exists and the e-mail admin@mydomain.fr is working ![image](https://user-images.githubusercontent.com/19636346/45960897-8ef7f700-c01d-11e8-88b9-2823f6f4aa4a.png)
kerem 2026-02-27 11:16:03 +03:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

@tonioo commented on GitHub (Sep 24, 2018):

@IPv777 What kind of user do you use?

<!-- gh-comment-id:424044752 --> @tonioo commented on GitHub (Sep 24, 2018): @IPv777 What kind of user do you use?
Author
Owner

@IPv777 commented on GitHub (Sep 24, 2018):

All types of users.
I got an error 400 from the server :/

-------- Message d'origine --------
On 24 sept. 2018 à 18:48, Antoine Nguyen a écrit :

@IPv777 What kind of user do you use?


You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.

<!-- gh-comment-id:424104225 --> @IPv777 commented on GitHub (Sep 24, 2018): All types of users. I got an error 400 from the server :/ -------- Message d'origine -------- On 24 sept. 2018 à 18:48, Antoine Nguyen a écrit : > [@IPv777](https://github.com/IPv777) What kind of user do you use? > > — > You are receiving this because you were mentioned. > Reply to this email directly, [view it on GitHub](https://github.com/modoboa/modoboa/issues/1570#issuecomment-424044752), or [mute the thread](https://github.com/notifications/unsubscribe-auth/ASugesjmu5SZf08cEaTElLrWWQWtIXXvks5ueQzQgaJpZM4W24G4).
Author
Owner

@IPv777 commented on GitHub (Sep 24, 2018):

I'm trying to create an user with the super-admin account

-------- Message d'origine --------
On 24 sept. 2018 à 18:48, Antoine Nguyen a écrit :

@IPv777 What kind of user do you use?


You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.

<!-- gh-comment-id:424104424 --> @IPv777 commented on GitHub (Sep 24, 2018): I'm trying to create an user with the super-admin account -------- Message d'origine -------- On 24 sept. 2018 à 18:48, Antoine Nguyen a écrit : > [@IPv777](https://github.com/IPv777) What kind of user do you use? > > — > You are receiving this because you were mentioned. > Reply to this email directly, [view it on GitHub](https://github.com/modoboa/modoboa/issues/1570#issuecomment-424044752), or [mute the thread](https://github.com/notifications/unsubscribe-auth/ASugesjmu5SZf08cEaTElLrWWQWtIXXvks5ueQzQgaJpZM4W24G4).
Author
Owner

@tonioo commented on GitHub (Sep 25, 2018):

@IPv777 It is actually an issue related to case sensitivity. You defined a domain name containing upper case letters but Modoboa forces lower case email addresses when it validates the creation so the domain is not found (because IPv7.fr is different from ipv7.fr). The fix will require a bit of thinking because RFCs say domain names are case insensitive but local part (left side of the @) are. Modoboa is currently not consistent is the way it deal with case in domain names and addresses and I'm not sure what's the best rule to apply:

  1. Force lower case everywhere
  2. Force lower case only for local parts
  3. Do not lower case anything and fix authentication

What you can do if you're in a hurry is rename your domain to ipv7.fr and it will work.

@kryskool @fyfe Do you have any point of view about this?

<!-- gh-comment-id:424248660 --> @tonioo commented on GitHub (Sep 25, 2018): @IPv777 It is actually an issue related to case sensitivity. You defined a domain name containing upper case letters but Modoboa forces lower case email addresses when it validates the creation so the domain is not found (because IPv7.fr is different from ipv7.fr). The fix will require a bit of thinking because RFCs say domain names are case insensitive but local part (left side of the @) are. Modoboa is currently not consistent is the way it deal with case in domain names and addresses and I'm not sure what's the best rule to apply: 1. Force lower case everywhere 2. Force lower case only for local parts 3. Do not lower case anything and fix authentication What you can do if you're in a hurry is rename your domain to ipv7.fr and it will work. @kryskool @fyfe Do you have any point of view about this?
Author
Owner

@IPv777 commented on GitHub (Sep 26, 2018):

@tonioo yes, you was right :)
I just reinstalled modoboa with lower letters everywhere and now it's fully working ;)
Thanks for your time :-) I just sponsored a little part of the new feature 👍

<!-- gh-comment-id:424845292 --> @IPv777 commented on GitHub (Sep 26, 2018): @tonioo yes, you was right :) I just reinstalled modoboa with lower letters everywhere and now it's fully working ;) Thanks for your time :-) I just sponsored a little part of the new feature :+1:
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/modoboa-modoboa#1239
No description provided.