In article <v03130308b93815efa070@[192.168.123.10]>, Charlie Summers <charlie@lofcom.com> wrote:
At 7:18 PM -0400 6/20/02, Roger Burton West is rumored to have typed:
I'm on (as a member, not an admin) one list of about 500 which limits its members to four posts per calendar day
But that's not what he talked about doing, though; he was refering to limiting, "TOTAL number of messages PER DAY on the list" (emphasis mine).
It certainly is what he talked about doing: | A few of my members are asking for daily per-person message limits. I | am pretty sure that doing this is quite difficult so I am not even | going to try it. I don't think it would be that tricky. You could write a program which: * pulls the poster's address from the "From" header; * stores it in a database with the current time; * expires any entries more than 24 hours old; * compares the number of entries for that address with the daily limit, returning an error code if the limit has been exceeded Then call it from rc.local.s10 or some such: :0 c | ratelimit :0 e | (formail -i"From: $listreq" -rtA"X-Loop: $listaddr"; cat overquota.txt) \ | $SENDMAIL $sendmailOPT -t