Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 4 Sep 1999 04:42:28 +0200 (CEST)
From:      N <niels@bakker.net>
To:        freebsd-isp <freebsd-isp@FreeBSD.ORG>
Subject:   Re: Quotas and Mail Spool
Message-ID:  <9909040439070.30274-100000@liquid.tpb.net>
In-Reply-To: <NDBBJDAGOKOGNKPLFIBPMEPCCHAA.angrick@netdirect.net>

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




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