Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 12 Jun 1998 13:47:29 -0600
From:      Lyndon Nerenberg <lyndon@ve7tcp.ampr.org>
To:        Jacques Vidrine <n@nectar.com>
Cc:        tlambert@primenet.com, Indrajaya@KS.co.id, hackers@FreeBSD.ORG
Subject:   Re: Sendmail and Quota 
Message-ID:  <199806121947.NAA19181@ve7tcp.ampr.org>
In-Reply-To: Your message of "Fri, 12 Jun 1998 14:05:27 CDT." <199806121905.OAA13445@ranma.nectar.com> 

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



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