Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 28 Dec 2002 11:36:20 +0200
From:      "Artyom V. Viklenko" <artem@mipk-kspu.kharkov.ua>
Cc:        freebsd-isp@FreeBSD.ORG
Subject:   Re: user quota
Message-ID:  <3E0D7094.7070404@mipk-kspu.kharkov.ua>
References:  <1041008980.3e0c895485a0b@webmail.isot.com> <3E0C8A05.7060805@mac.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3E0D7094.7070404>