[Mailman-Users] Search by Message-ID, preserving Cc for direct recipients

Jed Brown jedbrown at mcs.anl.gov
Wed May 15 22:36:18 CEST 2013

Mark Sapiro <mark at msapiro.net> writes:

> On 05/15/2013 12:47 PM, Jed Brown wrote:
>> Anyway, can I interpret your response as being that mailman always drops
>> Cc and there is no configuration option?
> I guess that depends on what you call a configuration option.
> You could put this in mm_cfg.py
> GLOBAL_PIPELINE.remove('AvoidDuplicates')
> That would just remove the Handler so every list member that is a direct
> recipient would receive both the list and the direct copy regardless of
> her avoid duplicates setting, 

That's a side-effect that we don't want.

> or you could apply the attached patch to
> Mailman/Handlers/AvoidDuplicates.py, or you could patch the module but
> name the patched module say Mailman/Handlers/MyAvoidDuplicates.py and
> put
> GLOBAL_PIPELINE.insert(GLOBAL_PIPELINE.index('AvoidDuplicates'),
> 'MyAvoidDuplicates')
> GLOBAL_PIPELINE.remove('AvoidDuplicates')
> im mm_cfg.py. 

This looks reasonable.

I think this is sufficiently useful to justify supporting without
patching, but this patch isn't hard to carry.  Thanks for your detailed

More information about the Mailman-Users mailing list