[Rt-devel] [Patch] remove all queue mail addresses in Attachment sub Addresses
Kevin Falcone
falcone at bestpractical.com
Mon Feb 8 10:36:49 EST 2010
On Mon, Feb 08, 2010 at 10:34:25AM +0100, Loos, Christian wrote:
> Hi,
>
> in lib/RT/Attachment_Overlay.pm sub Addresses there are only the
> correspond and comment mail address from the current queue removed.
>
> But there should be all queue mail addresses removed.
Hi Chris
If you've set RTAddressRegexp in your config, those addresses
shouldn't show up (see RT::EmailParser->IsRTAddress later in
Attachment::Addresses).
There is some work on a branch to warn about empty regexps and build a
naive one for you, but you're better off crafting something
site-specific.
Once that branch hits trunk, we'll probably remove those explicit
queue address checks as a performance hit.
-kevin
> I noticed that after the upgrade from 3.6 to 3.8.
> At the ticket page, if you go to people there are at
> 'Add new watchers' some entries and on the ticket reply
> page there are also some entries at 'One-time Cc' and
> 'One-time Bcc'. These entries are user (mail addresses)
> who appear in the transaction message headers.
> They are evaluated with Transaction->Addresses which call
> Attachment->Addresses.
>
> If you move a ticket from queue A to queue B, these entries
> include the mail address from queue A.
>
> And I hope I'm right, that it don't make sense to mail from ticket
> in queue B to a mail address of queue A as RT recognize this as an
> mail loop.
>
> Thanks!
> Chris
-------------- 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-devel/attachments/20100208/92eabbd5/attachment.pgp
More information about the Rt-devel
mailing list