[rt-users] [Fwd: Multiple email addresses for a single login name]
Kyle Balling
kballing at sci.utah.edu
Thu Sep 1 13:10:50 EDT 2005
Thanks for all the input,
Yes I have looked into the CanonicalizeEmail stuff, but the problem
is that the emails come from many different domain, mostly known, but a
few that are unknow. Really the task is to bypass the error when RT
tries to autocreate a user on email submission. In other words, even if
it errors out, go ahead and create the ticket and assume the user name
to be correct.
Ruslan Zakirov wrote:
>On 8/31/05, Kyle Balling <kballing at sci.utah.edu> wrote:
>
>
>>Hello RT world,
>>
>> I am in a jam. This is the situation: I have configured RT to
>>authenticate users on our NIS server. So, when email is submitted, a
>>valid username is created by chopping the email address in two (i.e.
>>joe at domain.com becomes user 'joe' with email joe at domain.com). This lets
>>new users login correctly to rt with their NIS password. So it is
>>important to create users like that.
>>
>> Here is the problem: Joe also has another email acount,
>>joe at blah.org, and when he sends mail to RT from this e-mail address he
>>gets a error message back and no ticket is created. RT recognizes
>>joe at blah.org as a new address and tries to create a user. When it gets a
>>username from his email, 'joe', and tries to create a new user, it
>>cannot because a user 'joe' already exists. I need to fix this problem.
>>
>>
>If blah.org is known domain then you can do it. If it random domain
>for example Joe's free email address, but Bob uses another domain,
>then no.
>
>In the first case you can use $RT::CanonicalizeEmailAddressMatch and
>$RT::CanonicalizeEmailAddressReplace RT config options, see inline
>descriptions in RT config and search for examples on the wiki and in
>the lists archive.
>
>
>
>> How can I make RT realize that if a new email address has the same
>>username as an existing one, then it should assume it belongs to that
>>user? Then it can add that new address to the existing user or overwrite
>>the existing users old email. Of course we will assume that there are no
>>users with conflicting email adresses (i.e. user1 has email
>>bob at domain.com and user2 has email bob at otherdomain.com). It is safe to
>>say that all email addresses with the same username belong to the same user
>>
>>Which also brings up the topic of assigning multiple email addresses to
>>one user, but it is not neccesary. I only need this to happen when a
>>user is created on email submission and skip new user creation if the
>>username already exists.
>>
>>Thanks in advance,
>>Kyle Balling
>>SCI Institute,
>>Universtiy of Utah
>>
>>
>>
>>
>>_______________________________________________
>>http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users
>>
>>Be sure to check out the RT Wiki at http://wiki.bestpractical.com
>>
>>Buy your copy of our new book, RT Essentials, today!
>>
>>Download a free sample chapter from http://rtbook.bestpractical.com
>>
>>
>>
>
>
>
>
More information about the rt-users
mailing list