From owner-freebsd-hackers Fri Jun 12 12:30:49 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id MAA18959 for freebsd-hackers-outgoing; Fri, 12 Jun 1998 12:10:01 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from ranma.nectar.com (c019.n.communique.net [204.27.67.19]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id MAA18745 for ; Fri, 12 Jun 1998 12:09:15 -0700 (PDT) (envelope-from nectar@ranma.nectar.com) Received: from ranma.nectar.com (localhost.communique.net [127.0.0.1]) by ranma.nectar.com (8.8.8/8.8.8) with ESMTP id OAA13445; Fri, 12 Jun 1998 14:05:27 -0500 (CDT) Message-Id: <199806121905.OAA13445@ranma.nectar.com> X-Mailer: exmh version 2.0.2 2/24/98 X-PGP-RSAfprint: 00 F9 E6 A2 C5 4D 0A 76 26 8B 8B 57 73 D0 DE EE X-PGP-RSAkey: http://pgp.ai.mit.edu:11371/pks/lookup?op=get&search=0x094724A9 From: Jacques Vidrine In-reply-to: <199806121627.JAA09298@usr02.primenet.com> References: <199806121627.JAA09298@usr02.primenet.com> Subject: Re: Sendmail and Quota To: Terry Lambert cc: Indrajaya@KS.co.id (I Indrajaya), hackers@freebsd.org Date: Fri, 12 Jun 1998 14:05:27 -0500 Sender: owner-freebsd-hackers@freebsd.org Precedence: bulk X-Loop: FreeBSD.ORG -----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 On 12 June 1998 at 16:27, Terry Lambert 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