On Wed, Sep 14, 2011 at 10:42:02AM -0700, Hossein Rafighi wrote: > Hi, > I modified the subject line to multiple email addresses. I just > received an email off the list that was advising me to do the > following to achieve what I want. I should emphasize that my users > are all in one domain. Sine both john....@triumf.ca and > j...@triumf.ca are the same person I want him to be able to submit a > ticket and reply to his ticket no matter which email address his > "From:" is set to. Also if possible, I want him to be able to use > either John Doe, or jdoe as username to login to the web interface. > > The advise is to enable the following: > > Set($CanonicalizeEmailAddressMatch , > '(^rt\@triumf.ca)\.(cc\.)?cn\.ca$'); > Set($CanonicalizeEmailAddressReplace , 'uid.ca'); >
If you can write a regular expression to rewrite John.Doe to jdoe consistently across your userbase, then you can use that option. Normally, it's used to normalize people who write from @host.domain.tld and @domain.tld to all come from @domain.tld. Your proposed settings don't look like they would do what you propose. Have you reviewed the documentation in RT4? -kevin > > On 9/13/2011 3:47 PM, Kevin Falcone wrote: > >On Tue, Sep 13, 2011 at 03:18:16PM -0700, Hossein Rafighi wrote: > >> Much appreciated. Using alternate email addresses instead of alternate > >> uids sounds even > >> better. Is this url: > >> [1]http://requesttracker.wikia.com/wiki/AutoCreateAndCanonicalizeUserInfo > >> what I need? If not, can you please point me to a page where > >> step-by-step instruction is. > >Nope, that page is about 5 years out of date and won't work with any > >modern version of RT. Thanks for pointing it out, I've added the > >relevant warning flags. > > > >As I mentioned, it's a branch in the github repo for > >RT-Authen-ExternalAuth. There are no step by step instructions for > >setting it up. You'd need to be comfortable making a git clone and > >switching branches and reading the updated documentation. You can > >find the github repo https://github.com/bestpractical/rt-authen-externalauth
pgpRJOX5XPiO2.pgp
Description: PGP signature
-------- RT Training Sessions (http://bestpractical.com/services/training.html) * Chicago, IL, USA September 26 & 27, 2011 * San Francisco, CA, USA October 18 & 19, 2011 * Washington DC, USA October 31 & November 1, 2011 * Melbourne VIC, Australia November 28 & 29, 2011 * Barcelona, Spain November 28 & 29, 2011