[Mailman-Users] suppress duplicate when posting addressed to listand its alias name

Mark Sapiro mark at msapiro.net
Tue Nov 6 01:51:21 CET 2012


Sahil Tandon wrote:

>Is there a Mailman way to activate, in the context of delivery, the same
>duplicate suppression that occurs when archiving?


No. The archiver has intimate knowledge of message-ids because they are
used in message threading so it knows when a message has a duplicate
message-id. Note that it doesn't actually ignore the duplicate. It
creates an nnnnnn.html archive file containing the message and it adds
it to the cumulative .mbox file and (I think, I haven't checked) the
periodic .txt file; it just doesn't link to it from any of the index
files.


>If not, I will have
>to do this based on Message-IDs on input at the MTA, but I would prefer
>to do it via the mailing list manager if this is already possible.


It would be possible to implement a per-list database of processed
message-ids with a custom handler very early in the pipeline, and
discard duplicates there. See <http://wiki.list.org/x/l4A9>.


-- 
Mark Sapiro <mark at msapiro.net>        The highway is for gamblers,
San Francisco Bay Area, California    better use your sense - B. Dylan



More information about the Mailman-Users mailing list