[rt-users] CanonicalizeEmailAddressMatch/Replace Problems
Kenneth Marshall
ktm at rice.edu
Thu Apr 23 13:46:48 EDT 2009
It is a bit pedantic, but have you flushed the Mason cache
and restarted RT?
Ken
On Thu, Apr 23, 2009 at 07:42:50AM -1000, Camron W. Fox wrote:
> Kenneth Marshall wrote:
> > 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
> >
> Ken,
>
> We're just following the example from the documentation and RT_Config.pm:
>
> # RT provides functionality which allows the system to rewrite
> # incoming email addresses. In its simplest form,
> # you can substitute the value in CanonicalizeEmailAddressReplace
> # for the value in CanonicalizeEmailAddressMatch
> # (These values are passed to the CanonicalizeEmailAddress subroutine in
> RT/User.pm)
> # By default, that routine performs a s/$Match/$Replace/gi on any
> address passed to it
>
> #Set($CanonicalizeEmailAddressMatch , '@subdomain\.example\.com$');
> #Set($CanonicalizeEmailAddressReplace , '@example.com');
>
> We've tested s/$Match/$Replace/gi with the same regex and it works, so
> that's why we thought we might be missing something.
>
> 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