From owner-freebsd-isp Fri Jul 17 16:38:10 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id QAA16314 for freebsd-isp-outgoing; Fri, 17 Jul 1998 16:38:10 -0700 (PDT) (envelope-from owner-freebsd-isp@FreeBSD.ORG) Received: from lithium.dowco.com (dave@lithium.dowco.com [207.23.88.22]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id QAA16309 for ; Fri, 17 Jul 1998 16:38:06 -0700 (PDT) (envelope-from dave@dowco.com) Received: (from dave@localhost) by lithium.dowco.com (8.8.8/8.8.7/CF.6) id QAA10274; Fri, 17 Jul 1998 16:37:37 -0700 (PDT) From: David K Phinney Message-Id: <199807172337.QAA10274@lithium.dowco.com> Subject: Re: limiting mail folder size To: marcel@nunanet.com (Marcel Mason {Personal}) Date: Fri, 17 Jul 1998 16:37:37 -0700 (PDT) Cc: isp@FreeBSD.ORG In-Reply-To: from Marcel Mason {Personal} at "Jul 17, 98 04:56:59 pm" X-PGP-Key-Url: http://www.dowco.com/~dave/pgpkey.txt X-Mailer: ELM [version 2.4ME+ PL22 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-isp@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > I am looking for a way limit the size of a clients > mail file to say, 2 Mb total, and reject/bounce > mail received after the specified max size is > reached. Hi, I've modified mail.local(8) to use a db(3) database to store user mailbox limits. There's a `default' entry for most users, and then you can specify other limits/unlimited for certain users. When a user has reached his or her limit, further messages are rejected. You use makemap(8) to rebuild the database. Ask me if you would like the diffs/source. --dave David K. Phinney Systems/Network Manager (604) 606-5728 dowco.com internet dave@dowco.com --== today's quote ==-- Zymurgy's Law of Volunteer Labor: People are always available for work in the past tense. -- Nate Harris, 1775 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message