From owner-freebsd-isp Mon Nov 27 20:47:09 1995 Return-Path: owner-isp Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id UAA01067 for isp-outgoing; Mon, 27 Nov 1995 20:47:09 -0800 Received: from neptune.pristine.com.tw ([192.72.150.2]) by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id UAA01060 for ; Mon, 27 Nov 1995 20:47:03 -0800 Received: (from team_fbf@localhost) by neptune.pristine.com.tw (8.6.11/8.6.9) id MAA09931; Tue, 28 Nov 1995 12:44:09 GMT From: ywliu Message-Id: <199511281244.MAA09931@neptune.pristine.com.tw> Subject: Re: limiting mailbox size? To: boot@mosquito.com (Bruce Bauman) Date: Tue, 28 Nov 1995 12:44:09 +0000 () Cc: freebsd-isp@freebsd.org, boot@itchy.mosquito.com In-Reply-To: <199511271558.KAA27423@itchy.mosquito.com> from "Bruce Bauman" at Nov 27, 95 10:58:31 am X-Mailer: ELM [version 2.4 PL24] MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Length: 1065 Sender: owner-isp@freebsd.org Precedence: bulk > > We are a small ISP running FreeBSD. We run quotas to prevent users from using more disk > space than their limit, but occasionally we find users with huge mailboxes in /var/mail. > How do other providers deal with this? Should I just write a perl script that sends mail > to the user, or sends a mail message when they log in? > > -- Bruce Bauman > Mosquito Net, Inc. > We had the same problem here. First, we tried to set up a quota limitation on the mail partition, but when sendmail writes to the user box, its euid is root, so it still can writes to users' mail box. But, since most of our users are using POP mail, and the popper would duplicate the user's mail box in /var/mail, so quota restriction still working. But if the user reads his mail via ELM, PINE, etc., this doesn't work. Now we do this manually : if the user's mail quota is going to exceed, we mail a warning message to him/her, and when quota is exceeded, we redirect the user's mail to another place until s/he reduces the disk usage. --- Yen-Wei Liu team_fbf@pristine.com.tw