Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 4 Sep 1999 08:09:03 -0500
From:      "Andy Angrick" <angrick@netdirect.net>
To:        "N" <niels@bakker.net>
Cc:        "freebsd-isp" <freebsd-isp@FreeBSD.org>
Subject:   RE: Quotas and Mail Spool
Message-ID:  <NDBBJDAGOKOGNKPLFIBPCEBICIAA.angrick@netdirect.net>
In-Reply-To: <9909040439070.30274-100000@liquid.tpb.net>

next in thread | previous in thread | raw e-mail | index | archive | help
Sorry, I promise to be better next time :) Anyway, maybe I need to explain
further...I think the point was missed. Its not whether mail.local has the
ability to report error codes/status, its whether sendmail has the ability
to read and interpret the error codes. I just mentioned a wrapper because it
would be easier than hacking mail.local source. The wrapper would be called
initially instead of mail.local. It would check the size of the mail box and
if it is over a certain size (maybe from a file called /etc/mail.quota) it
would return an error back to sendmail...if its okay, then mail.local would
be run as normal. I think this would be easier than setting up a separate
quota system for /var or installing another MTA like qmail if all you want
to do is enable some sort of mail quotas.

-Andy

> -----Original Message-----
> From: owner-freebsd-isp@FreeBSD.ORG
> [mailto:owner-freebsd-isp@FreeBSD.ORG]On Behalf Of N
> Sent: Friday, September 03, 1999 9:42 PM
> To: freebsd-isp
> Subject: Re: Quotas and Mail Spool
>
>
> Andy Angrick wrote:
>
> > Question..does (or can) mail.local report any errors back to
> sendmail? If
> > so, I wonder if a wrapper could be made for mail.local that
> checked the size
> > of the mailbox against a certain quota..then if it was above
> the quota...an
> > error was returned from the mail.local wrapper..if all is okay..actual
> > mail.local file is run.
>
> Why bother with a wrapper?  You have the source of mail.local at hand.
> See /usr/src/contrib/sendmail/mail.local/ for that, and
> /usr/include/sysexits.h for possible exit codes you can use.
>
> The next time you post to a mailing list, could you take the trouble to
> trim the quotes a bit?  You make threads fairly unfollowable.  TIA.
>
>
> 	-- Niels.
>
>
>
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-isp" in the body of the message
>



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?NDBBJDAGOKOGNKPLFIBPCEBICIAA.angrick>