Redmine say my MS Exchange email address is invalid
I'am running Redmine in local area network of my Laboratory
Our mail system is Microsoft Exchange.
Our email address is like abc@domain instead of firstname.lastname@example.org
when register new user,Redmine say the email address abc@domain is invalid, how can I solve the problem?
RE: Redmine say my MS Exchange email address is invalid - Added by Jan Niggemann (redmine.org team member) about 10 years ago
THE USE OF DOMAIN-LITERALS IS STRONGLY DISCOURAGED (RFC 822, 1982, http://www.ietf.org/rfc/rfc0822.txt).
IIRC, the form abc@domain is not a valid email address as defined by the various RFCs anyway, because the domain part is incomplete (TLD is missing).
I think it's OK for redmine to say such addresses are invalid, you' better tell your MTA guys to abide by the RFCs...
I'm resurrecting this ticket because Redmine's clairvoyance is now failing. By clairvoyance, I mean that the devs believed at some stage that one can guess whether an email address is valid or not. It may have been possible to an extent before the advent of the new TLD's, but it certainly does not apply any more. There's only one way to determine validity and that is to send a test mail.
Can we remove the code that does this checking, or at least change the response to something sensible in the light of nTLD domains? Preventing the addition of a valid email address adds no value to Redmine and I don't think it ever did.
url is: /users/new
Untitled.png - screenshot (14.4 KB)
Update: If I add a fake email address to create the new user and then edit the user profile with the nTLD domain name, it is accepted, so if seems that the code is possibly a relic that has been removed elsewhere? I'm not a ruby dev, so can't fix this myself.