Subject: The mailing list for listmasters using Sympa
List archive
Re: [sympa-users] Preventing dupes, or better, safeguarding from users... ;-)))
- From: Marco Gaiarin <address@concealed>
- To: Steve Shipway <address@concealed>
- Cc: address@concealed
- Subject: Re: [sympa-users] Preventing dupes, or better, safeguarding from users... ;-)))
- Date: Mon, 12 May 2014 14:08:26 +0200
Mandi! Steve Shipway
In chel di` si favelave...
> So -- take an MD5 sum of the incoming message (minus headers and
> whitespace), and then reject if it matches an existing MD5 sum (for just
> that list?) in the last X minutes/days.
Right.
> This seems an interesting idea, though I'd probably use a table in the
> database to hold the checksums, and have some periodic pruning job to kill
> off expired ones.
> I think the best way to implement this would be via a custom send scenario
> with a custom test function. The test function could take care of
> computing the MD5, and adding it to the database if necessary. The benefit
> of using a custom scenario check function is that it doesnt require
> modification of the main Sympa code, just a new module in the Perl library.
> I started to use a similar way to implement a posting-rate-limiting custom
> scenario test, though I never finished it.
For now we have solved ''wrapping'' old procmail code around a wrapper to
sympa 'queue' binary. A crude hack, but work.
Interesting the scenario, we will investigate...
--
Le parti si impegnano [...] ad astenersi nelle relazioni internazionali
dalla minaccia o dall'uso della forza in ogni modo in contrasto con
gli scopi delle Nazioni Unite. (art.1 Trattato NATO)
-
[sympa-users] Preventing dupes, or better, safeguarding from users... ;-))),
Marco Gaiarin, 05/09/2014
-
RE: [sympa-users] Preventing dupes, or better, safeguarding from users... ;-))),
Steve Shipway, 05/09/2014
- Re: [sympa-users] Preventing dupes, or better, safeguarding from users... ;-))), Marco Gaiarin, 05/12/2014
-
RE: [sympa-users] Preventing dupes, or better, safeguarding from users... ;-))),
Steve Shipway, 05/09/2014
Archive powered by MHonArc 2.6.19+.