From owner-freebsd-isp Sun Oct 12 10:36:34 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id KAA04687 for isp-outgoing; Sun, 12 Oct 1997 10:36:34 -0700 (PDT) (envelope-from owner-freebsd-isp) Received: from burka.carrier.kiev.ua (root@burka.carrier.kiev.ua [193.193.193.107]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id KAA04676 for ; Sun, 12 Oct 1997 10:36:16 -0700 (PDT) (envelope-from archer@grape.carrier.kiev.ua) Received: from sivka.carrier.kiev.ua (root@sivka.carrier.kiev.ua [193.193.193.101]) by burka.carrier.kiev.ua (8.8.6/8.8.6) with ESMTP id UAA14656 for ; Sun, 12 Oct 1997 20:36:00 +0300 (EEST) Received: (from uucp@localhost) by sivka.carrier.kiev.ua (8.8.7/8.8.7) with UUCP id UAA04626 for freebsd-isp@freebsd.org; Sun, 12 Oct 1997 20:31:46 +0300 (EEST) Received: (from archer@localhost) by grape.carrier.kiev.ua (8.8.7/8.8.7) id UAA15539; Sun, 12 Oct 1997 20:30:54 +0300 (EEST) Date: Sun, 12 Oct 1997 20:30:54 +0300 (EEST) From: Alexander Litvin Message-Id: <199710121730.UAA15539@grape.carrier.kiev.ua> To: freebsd-isp@freebsd.org Subject: Re: Quota and Mail Spool Files In-Reply-To: Organization: Lucky Grape X-Newsreader: TIN [UNIX 1.3 unoff BETA 970424; i386 FreeBSD 2.2-STABLE] Sender: owner-freebsd-isp@freebsd.org X-Loop: FreeBSD.org Precedence: bulk In article you wrote: > > Is the slice that /var/mail is on mounted with userquota and groupquota > > options? More specificaly, does the root directory of that slice have a > > quota.user and quota.group file? > > > Also - is sendmail actualy running with the effective uid of the user it's > delivering mail to? If it's not than it also wouldn't be bound by the same > quota limits. Actually, mail.local makes setreuid() to change euid to that of the user it is delivering to. I naively thought it was enough for quota system to work. Though it doesn't. I asked the same question some time ago, and was told that it is not the quota system broken, but mail.local. Though I doubt that such a simple prog as mail.local may be broken (and for so long time), I agree that a little hacking of it is easier than hacking libc. ;) > Bernie -- Litvin Alexander