[rt-users] RT e-mail address listed as one-time Cc and Bcc checkbox

justin at brighton.ac.uk justin at brighton.ac.uk
Thu Nov 13 05:01:27 EST 2008

I haven't configured $RTAddressRegexp (or $ParseNewMessageForTicketCcs) 
in my RT_SiteConfig.pm.

I just specifically set $RTAddressRegexp with a regular expression to 
catch all RT addresses (global and queue specific) and the addresses no 
longer show when adding a reply or comment in the web interface, but 
surely RT should automatically exclude globally configured _and_ queue 
specific correspondence and comment e-mail addresses without the need to 
configure these manually?

We do have two domain names, but I use $CanonicalizeEmailAddressMatch 
and $CanonicalizeEmailAddressReplace to rewrite bton.ac.uk to 
brighton.ac.uk (RT_Config.pm suggests this is /just/ for RT/User.pm?):

    Set($CanonicalizeEmailAddressMatch , '@bton\.ac\.uk$');
    Set($CanonicalizeEmailAddressReplace , '@brighton.ac.uk');

Either way, we don't have any e-mail addresses that forward mail to RT. 
And all e-mail with the bton.ac.uk domain is rewritten at the mail hub 
to brighton.ac.uk. Example headers from a comment transaction in a ticket:

    Received: from mail.bton.ac.uk ([] helo=mail.brighton.ac.uk) by rt.bton.ac.uk with esmtp (Exim 4.63) (envelope-from <a.bloggs at brighton.ac.uk>) id 1KIJx8-0003by-3f for rt-comment at rt.brighton.ac.uk; Mon, 14 Jul 2008 10:02:38 +0100
    To: <rt-comment at brighton.ac.uk>

My correspond and comment addresses are configured as:

    Set($CorrespondAddress , 'rt at brighton.ac.uk');
    Set($CommentAddress , 'rt-comment at brighton.ac.uk');

Best regards,
University of Brighton.

Ruslan Zakirov wrote:
> Then you both misconfigured RTAddressRegexp option in the RT config.
> On Wed, Nov 12, 2008 at 11:36 PM,  <justin at brighton.ac.uk> wrote:
>> Hi Jerrad,
>> Yes, e-mails are actually being sent to the e-mail address configured in RT.
>> Best regards,
>> Justin
>> Jerrad Pierce wrote:
>> Are messages actually being sent to the RT address?
>> For a while we had people sending messages to
>> rt at longdomain.example.org which were forwarded to
>> rt at short.example.org. In this instance, RT added
>> @longdomain to the CC list
>> _______________________________________________
>> 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20081113/2a3e0d24/attachment.htm>

More information about the rt-users mailing list