From owner-freebsd-questions Sun Jan 27 10:36:45 2002 Delivered-To: freebsd-questions@freebsd.org Received: from clmboh1-smtp3.columbus.rr.com (clmboh1-smtp3.columbus.rr.com [65.24.0.112]) by hub.freebsd.org (Postfix) with ESMTP id EFFD637B402 for ; Sun, 27 Jan 2002 10:36:42 -0800 (PST) Received: from potentialtech.com (dhcp065-024-023-038.columbus.rr.com [65.24.23.38]) by clmboh1-smtp3.columbus.rr.com (8.11.2/8.11.2) with ESMTP id g0RIVpF27447; Sun, 27 Jan 2002 13:31:51 -0500 (EST) Message-ID: <3C544994.7080306@potentialtech.com> Date: Sun, 27 Jan 2002 13:40:20 -0500 From: Bill Moran Organization: Potential Technology User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:0.9.3) Gecko/20010914 X-Accept-Language: en-us MIME-Version: 1.0 To: Lord Raiden Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Best way to restrict mass emails? References: <4.2.0.58.20020127095204.00985b50@pop.netzero.net> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Lord Raiden wrote: > Short summery: > > 1. Restrict users to 20 emails per hour/20 total recipients per message. > 2. No restrictions on mailing lists at all. (except maybe in rare > instances) > 2. Give certain users completely different mailing preferences or > restrictions/privileges while not affecting the group as a whole. Someone else may have a reply, but here's mine: I don't know of any program that gives you this kind of flexibility, surely you could hack together some scripts and wrappers and the like to handle it, but I'm guessing you either aren't a programmer or are hoping to avoid doing that kind of thing. The best recommendation I have is that qmail has a feature called "sandbagging" that allows you to set a limit on how main recipients an outgoing mail can have. The user can go over this limit, but an exponentially increasing delay is added for each additional recipient. For example: sandbag set at 10: The first ten recipients are accepted immediately. #11 is accepted after 1 second #12 is accepted 2 seconds after #11 #13 is accepted 4 seconds after #12 #14 is accepted 8 seconds after #13 #15 is accepted 16 seconds after #14 So to send a message to 15 recipients would take 31 seconds, to 16 would take 63 seconds, to 18 would take 255 seconds. Not a complete block, but sure makes it tough to spam. -- Bill Moran Potential Technology http://www.potentialtech.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message