From owner-freebsd-isp Sat Dec 28 1:38:53 2002 Delivered-To: freebsd-isp@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1791B37B401 for ; Sat, 28 Dec 2002 01:38:52 -0800 (PST) Received: from flash.mipk-kspu.kharkov.ua (flash.mipk-kspu.kharkov.ua [194.44.157.113]) by mx1.FreeBSD.org (Postfix) with ESMTP id 780B843ED1 for ; Sat, 28 Dec 2002 01:38:48 -0800 (PST) (envelope-from artem@mipk-kspu.kharkov.ua) Received: from mipk-kspu.kharkov.ua (rainbow.mipk-kspu.kharkov.ua [192.168.9.241]) by flash.mipk-kspu.kharkov.ua (8.12.6/8.12.6) with ESMTP id gBS9aL61020876 for ; Sat, 28 Dec 2002 11:36:48 +0200 (EET) (envelope-from artem@mipk-kspu.kharkov.ua) Message-ID: <3E0D7094.7070404@mipk-kspu.kharkov.ua> Date: Sat, 28 Dec 2002 11:36:20 +0200 From: "Artyom V. Viklenko" Organization: IIAT NTU "KhPI" User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.1) Gecko/20020826 X-Accept-Language: ru, uk, en MIME-Version: 1.0 Cc: freebsd-isp@FreeBSD.ORG Subject: Re: user quota References: <1041008980.3e0c895485a0b@webmail.isot.com> <3E0C8A05.7060805@mac.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: owner-freebsd-isp@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Chuck Swiger wrote: > itchibahn wrote: > >> I am running Freebsd4.7 and sendmail. I want to setup user's mail box >> quota. Anybody know how, please let me know. > > > Yes: set up filesystem quotas via quotactl for /var, which can limit the > size of each user's INBOX (in /var/mail/$user). > > -Chuck If you use sendmail, add something like this to your .mc file: define(`LOCAL_MAILER_ARGS',`mail.local -l -b')dnl If user's mailbox under disk quota, sendmail will return error to sender. Without option -b this error is nonfatal and sendmail will try to deliver message to user up to 5 days (or what configured in you config). -- Sincerely yours, Artyom V. Viklenko. ====================================================== System Administrator artem@mipk-kspu.kharkov.ua ------------------------------------------------------ IIAT NTU "KhPI" 21, Frunze Str., Kharkov Ukraine 61002 Phone: +380 (572) 400026 Fax: +380 (572) 474062 ====================================================== To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message