RT thinks some email addresses are invalid

Hi.

I found out that RT does not access some email addresses, it yells:
“EmailAddress: Illegal value for EmailAddress” The address was in format
"firstname.lastname@example.com", no special characters, just [a-z].

I tried to find the piece of code that does the checking, but failed.
Can someone point current location? I’d like to check how it check the
address.

I can email that specific address to someone in private mail if needed.

My RT version is 2.0.11.

Thanks,
Toni

I found out that RT does not access some email addresses, it yells:
“EmailAddress: Illegal value for EmailAddress” The address was in format
firstname.lastname@example.com”, no special characters, just [a-z].

An email address is considered “Illegal” if it is already attached to
another User, this could be your problem.

I tried to find the piece of code that does the checking, but failed.
Can someone point current location? I’d like to check how it check the
address.

You’re looking for ValidateEmailAddress in lib/RT/User.pm

bje

I found out that RT does not access some email addresses, it yells:
“EmailAddress: Illegal value for EmailAddress” The address was in
format"firstname.lastname@example.com", no special characters, just
[a-z].

An email address is considered “Illegal” if it is already attached to
another User, this could be your problem.

Thanks!

Indeed there was autocreated user by that email address already…

But because there seems to be no way removing (even) autocreated users,
I just changed it’s email address.

Problem solved. Ofcourse author should make more logic there and make RT
print out why it’s illegal (=duplicate address).

  • Toni