View Issue Details

IDProjectCategoryView StatusLast Update
0025619mantisbtemailpublic2020-02-15 21:45
Reporterrogueresearch Assigned To 
Status newResolutionopen 
Product Version2.19.0 
Summary0025619: $g_limit_email_domains impacts custom e-mail fields, which is unexpected from its documentation

The Admin Guide here:


"$g_limit_email_domains - Only allow and send email to addresses in the given domain(s). This is useful as a security feature and it is also useful in cases like Sourceforge where its servers are only limited to send emails to SourceForge email addresses in order to avoid spam. $g_limit_e- mail_domains = array( '', '' );"

After setting this to:

$g_limit_email_domains = array( '' );

I am no longer able to edit issues that use a 'custom field' of 'e-mail' type, mantis will report:

Invalid value for field "Customer Email"

My customers of course don't have emails in my own domain. :)

From its documentation, I wouldn't have expected that $g_limit_email_domains limit what can go into database fields, but only to limit emails that mantis actually sends out.

TagsNo tags attached.




2020-01-10 19:16

reporter   ~0063423

Hmmm, I just tried in Mantis 2.23.0 on a test server, and don't seem to reproduce it anymore...

Did someone fix this?

I'll try again on my production server once I update it too...



2020-01-10 19:37

developer   ~0063424

I don't think this has been touched. Maybe it was caused by your setup. Please let us know after checking, whether the problem is indeed fixed, so we can resolve this issue.



2020-02-15 21:45

reporter   ~0063639

I've finally tried on my production server (now 2.23.0), and this bug does reproduce.

What logs or steps would be helpful to debug this?


Issue History

Date Modified Username Field Change
2019-03-18 11:40 rogueresearch New Issue
2020-01-10 19:16 rogueresearch Note Added: 0063423
2020-01-10 19:37 dregad Status new => feedback
2020-01-10 19:37 dregad Note Added: 0063424
2020-02-15 21:45 rogueresearch Note Added: 0063639
2020-02-15 21:45 rogueresearch Status feedback => new