View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0012171 | mantisbt | administration | public | 2010-07-14 11:30 | 2013-08-09 13:50 |
Reporter | fman | Assigned To | dregad | ||
Priority | high | Severity | major | Reproducibility | always |
Status | closed | Resolution | no change required | ||
Product Version | 1.2.1 | ||||
Summary | 0012171: User Create - user mail like : john.doe@partners.mydomain.com are not accepted | ||||
Description | When creating/updating an user with mail like: Mantis always complain saying email is not valid | ||||
Tags | No tags attached. | ||||
This issue is not reproducible with the current version of MantisBT. We recommend that you upgrade to the latest stable version [1]; if after doing so the problem persists, do not hesitate to reopen the issue, with additional relevant information. [1] https://sourceforge.net/projects/mantisbt/files/mantis-stable/ |
|
I've done following tests (on 1.2.15) and seems there is something weird Create a new user
Update it
I do not know if mantis tries to do some checks on mail domain trying to contact the server, and because in situation 2 gmail.com exists but ccc.gmail.com NO it fails. I've tried with my real existent domain partners.gruppotesi.com, but got KO I'm going to do some checks with sysadmin thanks |
|
tested on mantisbt.org/demo : TEST 1 TEST 2 |
|
fman, lapinkiller
|
|
I think your 'TEST 2' fails because http://mantisbt.org/demo performs both an MX record and a DNS check as part of the email validation. ccc.gmail.com not having any valid MX records and not being a valid domain, that fails, while for some reason the getmxrr() call for 'ccc.mantisbt.org' returns true Not sure about the invalid token error though, I would expect Mantis to stop at the first error, but I have no time to investigate atm. |
|
I'm sorry for the delay, here i results 5.4.7 string(15) "a.c@ccc.ccc.com" |
|
I've set $g_check_mx_record = OFF; on my installation to make things work. |
|
Does that mean we can resolve this issue ? |
|
I do not know if you can set it to solved, because It would be great if possible to understand why MX is failing. I will be also interested in understand if results I've posted on note 37544 has providing you some clues. i.e. results are ok ? best regards |
|
I asked for the results because the PHPMailer version which is bundled with MantisBT 1.2.15 uses PHP function filter_var to validate the address. The newer version of PHPMailer which will be part of MantisBT 1.2.16 does no longer use filter_var. |
|
See 0014543 for the resolution of single domains emails
MX is not 'failing'. The getmxrr() return value depends on how the domains' servers are setup, this has nothing to do with MantisBT itself. So your options are either
|
|