[rt-users] CanonicalizeEmailAddressMatch/Replace Problems

Kenneth Marshall ktm at rice.edu
Thu Apr 23 08:59:57 EDT 2009


Camron,

We do not include the '@' in our regex here, but if you do,
shouldn't it be escaped as well as the '.' characters?

Cheers,
Ken

On Wed, Apr 22, 2009 at 11:14:33AM -1000, Camron W. Fox wrote:
> Alle,
> 
> 	Running RT 3.6.6, RHEL 5.3, Apache 2.2.3 and Perl v5.8.8. When we try 
> to use the following in RT_SiteConfig.pm, nothing changes:
> 
> Set($CanonicalizeEmailAddressMatch , '@domain\.example\.ac\.jp$');
> Set($CanonicalizeEmailAddressReplace , '@domain.example.org');
> 
> 	Internally, we are domain.example.ac.jp but externally we are 
> domain.example.org (long story). What are we missing. Below are the 
> relevant(?) log entries:
> 
> [Wed Apr 22 20:59:49 2009] [debug]: RT::User::CanonicalizeEmailAddress : 
> called with "naojtest at domain.example.ac.jp" by RT::CurrentUser 
> /opt/rt3/lib/RT/CurrentUser.pm 218 (/opt/rt3/local/lib/RT/User_Local.pm:328)
> [Wed Apr 22 20:59:49 2009] [info]: RT::User::CanonicalizeEmailAddress 
> naojtest at domain.example.ac.jp =>  naojtest at domain.example.ac.jp 
> (/opt/rt3/local/lib/RT/User_Local.pm:347)
> [Wed Apr 22 20:59:49 2009] [debug]: RT::User::CanonicalizeUserInfo 
> called by RT::User /opt/rt3/lib/RT/User_Overlay.pm 192 with: Comments: 
> Autocreated on ticket submission, Disabled: 0, EmailAddress: 
> naojtest at domain.example.ac.jp, Name: naojtest at domain.example.ac.jp, 
> Password: , Privileged: 0, RealName: (Test User) 
> (/opt/rt3/local/lib/RT/User_Local.pm:380)
> [Wed Apr 22 20:59:49 2009] [info]: RT::User::CanonicalizeUserInfo 
> returning Comments: Autocreated on ticket submission, Disabled: 0, 
> EmailAddress: naojtest at domain.example.ac.jp, Name: 
> naojtest at domain.example.ac.jp, Password: , Privileged: 0, RealName: 
> (Test User) (/opt/rt3/local/lib/RT/User_Local.pm:413)
> [Wed Apr 22 20:59:49 2009] [debug]: RT::User::CanonicalizeEmailAddress : 
> called with "naojtest at domain.example.ac.jp" by RT::User 
> /opt/rt3/lib/RT/User_Overlay.pm 196 
> (/opt/rt3/local/lib/RT/User_Local.pm:328)
> [Wed Apr 22 20:59:49 2009] [info]: RT::User::CanonicalizeEmailAddress 
> naojtest at domain.example.ac.jp =>  naojtest at domain.example.ac.jp 
> (/opt/rt3/local/lib/RT/User_Local.pm:347)
> [Wed Apr 22 20:59:49 2009] [debug]: RT::User::CanonicalizeEmailAddress : 
> called with "naojtest at domain.example.ac.jp" by RT::User 
> /opt/rt3/lib/RT/User_Overlay.pm 563 
> (/opt/rt3/local/lib/RT/User_Local.pm:328)
> [Wed Apr 22 20:59:49 2009] [info]: RT::User::CanonicalizeEmailAddress 
> naojtest at domain.example.ac.jp =>  naojtest at domain.example.ac.jp 
> (/opt/rt3/local/lib/RT/User_Local.pm:347)
> [Wed Apr 22 20:59:49 2009] [debug]: RT::User::CanonicalizeEmailAddress : 
> called with "naojtest at domain.example.ac.jp" by RT::User 
> /opt/rt3/lib/RT/User_Overlay.pm 563 
> (/opt/rt3/local/lib/RT/User_Local.pm:328)
> [Wed Apr 22 20:59:49 2009] [info]: RT::User::CanonicalizeEmailAddress 
> naojtest at domain.example.ac.jp =>  naojtest at domain.example.ac.jp 
> (/opt/rt3/local/lib/RT/User_Local.pm:347)
> [Wed Apr 22 20:59:50 2009] [debug]: RT::User::CanonicalizeEmailAddress : 
> called with "naojtest at domain.example.ac.jp" by RT::CurrentUser 
> /opt/rt3/lib/RT/CurrentUser.pm 218 (/opt/rt3/local/lib/RT/User_Local.pm:328)
> [Wed Apr 22 20:59:50 2009] [info]: RT::User::CanonicalizeEmailAddress 
> naojtest at domain.example.ac.jp =>  naojtest at domain.example.ac.jp 
> (/opt/rt3/local/lib/RT/User_Local.pm:347)
> 
> Best Regards,
> Camron
> 
> -- 
> Camron W. Fox
> Hilo Office
> High Performance Computing Group
> Fujitsu Management Services of America, Inc.
> E-mail:		cwfox at us.fujitsu.com
> 
> _______________________________________________
> http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users
> 
> Community help: http://wiki.bestpractical.com
> Commercial support: sales at bestpractical.com
> 
> 
> Discover RT's hidden secrets with RT Essentials from O'Reilly Media. 
> Buy a copy at http://rtbook.bestpractical.com
> 



More information about the rt-users mailing list