[rt-users] CanonicalizeEmailAddressMatch

Kevin Falcone falcone at bestpractical.com
Thu Feb 2 12:07:39 EST 2012


On Thu, Feb 02, 2012 at 09:00:06AM -0500, Dalal, Kamber Z wrote:
>    Need the proper syntax for 'CanonicalizeEmailAddressMatch' setting to match either @domaina or
>    @domainb
> 
>    to allow 'CanonicalizeEmailAddressReplace' it with @domainc.

It's just a perl regular expression, so literally you get

s/CanonicalizeEmailAddressMatch/CanonicalizeEmailAddressReplace/gi
at the end.

So experiment with:

my $email = "bob at domaina.com";
$email =~ s/CanonicalizeEmailAddressMatch/CanonicalizeEmailAddressReplace/gi
print $email;

outside RT to get what you want.

-kevin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20120202/e280e607/attachment.sig>


More information about the rt-users mailing list