From owner-freebsd-hackers Fri Jun 12 12:48:37 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id MAA27110 for freebsd-hackers-outgoing; Fri, 12 Jun 1998 12:48:37 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from ve7tcp.ampr.org (ve7tcp.ampr.org [198.161.92.132]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id MAA27062 for ; Fri, 12 Jun 1998 12:48:18 -0700 (PDT) (envelope-from lyndon@ve7tcp.ampr.org) Received: from ve7tcp.ampr.org (localhost.ampr.org [127.0.0.1]) by ve7tcp.ampr.org (8.9.0/8.9.0) with ESMTP id NAA19181; Fri, 12 Jun 1998 13:47:29 -0600 (MDT) Message-Id: <199806121947.NAA19181@ve7tcp.ampr.org> To: Jacques Vidrine cc: tlambert@primenet.com, Indrajaya@KS.co.id, hackers@FreeBSD.ORG Subject: Re: Sendmail and Quota In-reply-to: Your message of "Fri, 12 Jun 1998 14:05:27 CDT." <199806121905.OAA13445@ranma.nectar.com> Date: Fri, 12 Jun 1998 13:47:29 -0600 From: Lyndon Nerenberg Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Jacques> It is trivial to patch sendmail's sysexits.h with a new Jacques> return code, such as EX_QUOTA, and use that return code Jacques> in `deliver' for over quota conditions. You can then Jacques> handle EX_QUOTA as a temporary or a permanent error, as Jacques> you wish. Even easier is to have sendmail use LMTP to talk to deliver, in which case deliver returns a 4XX code to sendmail in an overquota condition. No code hacking required (plus you get the other benefits of using LMTP with Cyrus). --lyndon To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message