[rt-users] Re: Ending multiple RT accounts per user created by email tickets

rtusers at laubenheimer.net rtusers at laubenheimer.net
Fri Jan 28 16:36:56 EST 2005

> It's been awhile, so your problem might have been solved, but I didn't
see any replies on rt-users.
>> I have tried configuring the "CanonicalizeEmailAddress" parameters
(...Match=corp.bar.com|baz.com, ...Replace=bar.com), and that had no
> If your canonicalization is this regular, than yes, you should be able
to set those variables in the site config. You'll have to restart RT to
see the changes, and it will not merge the old user accounts. If you
have a more complex canonicalization, you can overlay the actual
function that does this.

When I first changed it, and restarted apache, it wasn't working.

>> Is there any tidy way to tell the thing to:
>> a) whack off the stuff after the "@",
>> b) use the remaining username as the account requester, and
> use the variables you already found.


>> c) assign that requester the address listed in LDAP?
>> Any accounts that did not exist already would be created using just the
username and the LDAP email.  Thus one person, lots of email addresses,
one RT account.
> overlay the subroutine to include an ldap lookup.

Ah.  Okay.

> I'm not sure why it failed for you, did you restart apache? Were you
hoping it would also merge users?

I didn't expect it to merge users, I'll be doing that manually.  I
restarted apache (with "restart") after I did it, and it didn't work.  I
restarted apache again today, with "stop" then "start", and now it works.
Apparently the "restart" routine in the version of apache I have is not a
true stop and start.  Weird.

Thank you, BTW.  I was thinking that I had lost my mind when the
canonicalization thing didn't work.  Apparently it was apache being weird...


More information about the rt-users mailing list