Email Address question

Hi List,

I’m trying to add a new user via the web interface who happens to have a
hyphen in their email address. RT does not like this and is complaining
about an illegal value in the email address ( User 18682: EmailAddress:
Illegal value for EmailAddress ). For instance, if Best Practical’s domain
was best-practical.com instead of bestpractical.com, someone’s email address
would be xyz@best-practical.com. How would I add this person as a user?
Does putting double quotes around the address actually work?

Thanks,

Kris

Check to see if the user is already in the database.
If he has been a CC or Admin CC his address may
already be in the DB.
In Configuration > Users | Find people whose |Email |
Is | xyz@mydomain.com
If a user comes up click on it and change the email to
null@null.com and save. Then create your user.
I don’t know of a way to remove that user completely
another person may be able to help with that.

Hope that helps.

Hi List,

I’m trying to add a new user via the web interface
who happens to have a
hyphen in their email address. RT does not like
this and is complaining
about an illegal value in the email address ( User
18682: EmailAddress:
Illegal value for EmailAddress ). For instance, if
Best Practical’s domain
was best-practical.com instead of bestpractical.com,
someone’s email address
would be xyz@best-practical.com. How would I add
this person as a user?
Does putting double quotes around the address
actually work?

Thanks,

Kris


http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: sales@bestpractical.com

Discover RT’s hidden secrets with RT Essentials from
O’Reilly Media.
Buy a copy at http://rtbook.bestpractical.com

We’re hiring! Come hack Perl for Best Practical:
Careers — Best Practical Solutions

Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around

Hi List,

I’m trying to add a new user via the web interface who happens to have a
hyphen in their email address. RT does not like this and is complaining
about an illegal value in the email address ( User 18682: EmailAddress:
Illegal value for EmailAddress ). For instance, if Best Practical’s domain
was best-practical.com instead of bestpractical.com, someone’s email address
would be xyz@best-practical.com. How would I add this person as a user?
Does putting double quotes around the address actually work?

It’s not the hyphen that’s getting in your way.
It’s a horrible error message. But it means they’re already in RT as a
user. Search for users by email address. Find them. Click “Allow this
user to access RT”

Jesse

Hi List,

I’m trying to add a new user via the web interface who happens to have a
hyphen in their email address. RT does not like this and is complaining
about an illegal value in the email address ( User 18682: EmailAddress:
Illegal value for EmailAddress ). For instance, if Best Practical’s
domain
was best-practical.com instead of bestpractical.com, someone’s email
address
would be xyz@best-practical.com. How would I add this person as a user?
Does putting double quotes around the address actually work?

It’s not the hyphen that’s getting in your way.
It’s a horrible error message. But it means they’re already in RT as a
user. Search for users by email address. Find them. Click “Allow this
user to access RT”

Jesse


The rt-users Archives

After reading this (and having trouble changing my email address in RT), I
checked and found about six variaitions of my name in the RT Users table.
All are legitimate variations, like firstname@ourdomain.com,
firstname@our-old-domain.com, firstname.lastname@ourdomain.com, etc. Most
were probably created when I emailed in a ticket from various addresses, or
when my email client was configured slightly differently. I think we have
several other users in the same boat.

Is there any way to “merge” users the way we can merge multiple tickets that
are really about the same issue? Otherwise, I think the best solution is to
set the email fields to null@null.com so I can set the email address on my
‘real’ account correctly.

sockmonk

Hi List,

I’m trying to add a new user via the web interface who
happens to have a
hyphen in their email address. RT does not like this
and is complaining
about an illegal value in the email address ( User
18682: EmailAddress:
Illegal value for EmailAddress ). For instance, if
Best Practical’s domain
was best-practical.com http://best-practical.com
instead of bestpractical.com, someone’s email address
would be xyz@best-practical.com. How would I add this
person as a user?
Does putting double quotes around the address actually
work?

	It's not the hyphen that's getting in your way.
	It's a horrible error message. But it means they're

already in RT as a
user. Search for users by email address. Find them.
Click “Allow this
user to access RT”

	Jesse

http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

After reading this (and having trouble changing my email address

in RT), I checked and found about six variaitions of my name in the RT
Users table. All are legitimate variations, like
firstname@ourdomain.com, firstname@our-old-domain.com,
firstname.lastname@ourdomain.com, etc. Most were probably created when I
emailed in a ticket from various addresses, or when my email client was
configured slightly differently. I think we have several other users in
the same boat.

Is there any way to "merge" users the way we can merge multiple

tickets that are really about the same issue? Otherwise, I think the
best solution is to set the email fields to null@null.com so I can set
the email address on my ‘real’ account correctly.

sockmonk 

Do a search for all tickets owned by the duplicate users, and do bulk
updates to get them all to the user who you want to be the correct one.
For instance, do a query where Watcher.EmailAddress =
‘firstname.lastname@ourdomain.com’, and then for all of those tickets,
do a bulk update where you change the Watcher to whatever email you
choose. Do this for all tickets owned/requested as well. Then you can
start nulling out the user fields. However, I would leave the Username
and Email field as is, so that if you try to use one of those in the
future, the system complains or bounces your email, forcing you to use
the “correct” one.

Eric Schultz
United Online

RT has a way to cononicalize user emails, but I don’t remember is
there “how to” about this topic.

Look into RT::User::CanonicalizeEmailAddress method, this method could
be used to get rid of @old-domain.foo addresses.On 5/22/06, Schultz, Eric ESchultz@corp.untd.com wrote:

    On 5/16/06, Jesse Vincent <jesse@bestpractical.com> wrote:




            On Tue, May 16, 2006 at 12:22:01PM -0500, Kristopher Lusk wrote:
            > Hi List,
            >
            >
            >
            > I'm trying to add a new user via the web interface who

happens to have a
> hyphen in their email address. RT does not like this
and is complaining
> about an illegal value in the email address ( User
18682: EmailAddress:
> Illegal value for EmailAddress ). For instance, if
Best Practical’s domain
> was best-practical.com http://best-practical.com
instead of bestpractical.com, someone’s email address
> would be xyz@best-practical.com. How would I add this
person as a user?
> Does putting double quotes around the address actually
work?
>

            It's not the hyphen that's getting in your way.
            It's a horrible error message. But it means they're

already in RT as a
user. Search for users by email address. Find them.
Click “Allow this
user to access RT”

            Jesse
            _______________________________________________

The rt-users Archives
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

    After reading this (and having trouble changing my email address

in RT), I checked and found about six variaitions of my name in the RT
Users table. All are legitimate variations, like
firstname@ourdomain.com, firstname@our-old-domain.com,
firstname.lastname@ourdomain.com, etc. Most were probably created when I
emailed in a ticket from various addresses, or when my email client was
configured slightly differently. I think we have several other users in
the same boat.

    Is there any way to "merge" users the way we can merge multiple

tickets that are really about the same issue? Otherwise, I think the
best solution is to set the email fields to null@null.com so I can set
the email address on my ‘real’ account correctly.

    --
    sockmonk

Do a search for all tickets owned by the duplicate users, and do bulk
updates to get them all to the user who you want to be the correct one.
For instance, do a query where Watcher.EmailAddress =
‘firstname.lastname@ourdomain.com’, and then for all of those tickets,
do a bulk update where you change the Watcher to whatever email you
choose. Do this for all tickets owned/requested as well. Then you can
start nulling out the user fields. However, I would leave the Username
and Email field as is, so that if you try to use one of those in the
future, the system complains or bounces your email, forcing you to use
the “correct” one.

Eric Schultz
United Online


The rt-users Archives

Community help: http://wiki.bestpractical.com
Commercial support: sales@bestpractical.com

Discover RT’s hidden secrets with RT Essentials from O’Reilly Media.
Buy a copy at http://rtbook.bestpractical.com

We’re hiring! Come hack Perl for Best Practical: Careers — Best Practical Solutions

Best regards, Ruslan.