procmail
[Top] [All Lists]

Re: Flood control?

2004-02-26 08:08:04
Bart Schaefer <schaefer(_at_)zanshin(_dot_)com> wrote:
On Wed, 25 Feb 2004, Professional Software Engineering wrote:

I'm thinking something along the lines of taking the sender's
address and incrementing a counter associated with that
address -- if the counter exceeds some limit, that sender's
messages get redirected elsewhere (and as a result, don't get
processed through the list processor, so they don't get
further messages).

If the limit is fairly small, you could do something like this:

0
* ? formail -rD 10000 sent0.cache
[...]

Doesn't formail -D use the message-ID, which will be unique for each? I can see
that detecting duplicates of messages, but not different messages with the same
content.

Or did I miss something?

- Bob


_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail

<Prev in Thread] Current Thread [Next in Thread>