Some senders (spammers and others) send messages with dozens or hundreds addresses in the Cc SMTP header.
Autorespond to Cc scrip sends a message to all Cc watchers. Some of them are other ticketing systems… loops, complains, blacklisting RT response address, etc.
I’ve introduced the following change at line 199 in lib/RT/Action/Notify.pm (copied to local/lib/RT/Action/Notify.pm, of course):
# @{ $self->{'Cc'} } = @Cc; # Original code
@{ $self->{'Cc'} } = @Cc if @Cc<21; # New code.
It only feeds Cc if there are 20 or less of them (I’ve revised the tickets and I’ve found that, in my case, there are more than 20 watchers in Cc when the original mail is used to publish congress, workshops, courses, etc. It doesn’t matter if they don’t receive the auto-response message about the ticket (or any other response, indeed).
Maybe it’s a good idea to substitute the threshold limit of 21 by a config setting but I’d like to know if you see any inconvenience about this modification before proposing this change to BP.
Any advice?