Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 12 Jun 1998 14:05:27 -0500
From:      Jacques Vidrine <n@nectar.com>
To:        Terry Lambert <tlambert@primenet.com>
Cc:        Indrajaya@KS.co.id (I Indrajaya), hackers@freebsd.org
Subject:   Re: Sendmail and Quota 
Message-ID:  <199806121905.OAA13445@ranma.nectar.com>
In-Reply-To: <199806121627.JAA09298@usr02.primenet.com> 
References:  <199806121627.JAA09298@usr02.primenet.com>

next in thread | previous in thread | raw e-mail | index | archive | help
-----BEGIN PGP SIGNED MESSAGE-----

Note that in normal operation, ``over quota'' is treated as a temporary
failure (meaning it stays in queue until it can be delivered).

If you have lots of mailboxes with lots of newbie users who subscribe
to every mailing list in existance and then don't check mail for
months at a time, this is a problem.

It is trivial to patch sendmail's sysexits.h with a new return code,
such as EX_QUOTA, and use that return code in `deliver' for over
quota conditions.  You can then handle EX_QUOTA as a temporary or a
permanent error, as you wish.

Jacques Vidrine <n@nectar.com> 

On 12 June 1998 at 16:27, Terry Lambert <tlambert@primenet.com> wrote:
> > Could some one tell me how make mail with quota, so that users can
> > only recieve mail until the file /var/mail/[user] reaches the file
> > size limitation.
> > 
> > At the mo. I'm using freebsd 2.1.7 and sendmail 8.8.8
> 
> Install a mail server whose delivery module can enforce quotas.
> 
> I specifically recommend the "Cyrus" IMAP4/POP3 server, which
> comes with a program "deliver" that allows you to set quotas on
> a per user basis.
> 
> 
> 					Terry Lambert
> 					terry@lambert.org
> ---
> Any opinions in this posting are my own and not those of my present
> or previous employers.
> 
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-hackers" in the body of the message
> 



-----BEGIN PGP SIGNATURE-----
Version: 2.6.2

iQCVAwUBNYF79jeRhT8JRySpAQER2gP+LYlzlRTRrG6MBBaR3xEW0ugeG1d7koiP
Qqop1gtGTrSmOcJns8TuFZAWDHtFDkw3/p3uoqiUk3DjtOCcyHxMhTCTwWJbHSoj
HsaW50J7r+txaDLYmV7LULzglj70P+YH2h4D9ugH6eiKf9/JTr31uQ4bpDECmIXn
E43c1z70Z+E=
=xAWo
-----END PGP SIGNATURE-----

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message



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