Rocket.Chat icon indicating copy to clipboard operation
Rocket.Chat copied to clipboard

domain .me does not work

Open ghost opened this issue 10 years ago • 10 comments

Hi,

i can not register new Users with our domain .me (blackspot.me) in Rocket.Chat (0.30 latest).

I think it is a bug or is there a chance to change the add the .me Domain anywhere?

Thank and best regards celtar (from blackspot.me)

ghost avatar May 18 '16 18:05 ghost

I can register with @whatever.me... Can you try on https://demo.rocket.chat?

marceloschmidt avatar May 18 '16 22:05 marceloschmidt

I can´t register with a .rocks domain either...

dytec avatar May 19 '16 06:05 dytec

Hi,

i try it 8.23 CET - and get a Failure "Invalid Domain".

it is the same failure if you try to create a user with a .me Domain.

Hope it helps.

thx celtar

ghost avatar May 19 '16 06:05 ghost

@johnceltar what does that mean? can you show us printscreens of the error? did you try registering on demo?

marceloschmidt avatar May 23 '16 18:05 marceloschmidt

Hi,

just try to explain it.

I try to register on your Demo Chat Server (see attached Screenshot) with E-Mail [email protected] - it does not working - i can not continue. (i think last time i got a failure but now it does not continue without a failure notice)

If i try to add a User (As an Administrator) in my own rocket.chat System (Adduser) wit [email protected] i got a short Message Popup and a failure "invalid Domain" see attached Screenshot (latest Version 0.31)

Is there something else i can do or explain? (sorry my english is not so well - i am a german).

My Server: Debian 8 (Jessie) with latest patches Virtual Server with 4 GB RAM and a small SSD Nginx Reverse Proxy System (i try it also without - same failure)

Thanks for Help John Celtar

Am 23.05.2016 um 21:06 schrieb Marcelo Schmidt:

@johnceltar https://github.com/johnceltar what does that mean? can you show us printscreens of the error? did you try registering on demo?

— You are receiving this because you were mentioned. Reply to this email directly or view it on GitHub https://github.com/RocketChat/Rocket.Chat/issues/3290#issuecomment-221060577

ghost avatar May 23 '16 20:05 ghost

In our server this domain fails because we use DNS Domain Check image and this domain fails the check.

marceloschmidt avatar May 23 '16 20:05 marceloschmidt

Could it be something with the regex here?

RocketChat.validateEmailDomain = function(email) {
    const emailValidation = /^[a-zA-Z0-9.!#$%&'*+\/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/;
    if (!emailValidation.test(email)) {
        throw new Meteor.Error('error-invalid-email', 'Invalid email ' + email, { function: 'RocketChat.validateEmailDomain', email: email });
    }

Here is an interesting article on using regex to validate an email address

AJ-Acevedo avatar May 24 '16 02:05 AJ-Acevedo

Hi,

thanks for the Info (DNS Check was enabled). It was the missing reverse DNS entry for my Domain. I will fix that.

Please close this Issue.

Thanks and best regards john

ghost avatar May 24 '16 06:05 ghost

@johnceltar Does it work if you add the domain to the Whitelist?

AJ-Acevedo avatar May 24 '16 12:05 AJ-Acevedo

@marceloschmidt thanks. It worked for me.

jpelaez01 avatar Jun 08 '17 19:06 jpelaez01