From owner-freebsd-isp Fri Oct 10 17:14:31 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id RAA19551 for isp-outgoing; Fri, 10 Oct 1997 17:14:31 -0700 (PDT) (envelope-from owner-freebsd-isp) Received: from freebie.lemis.com (gregl1.lnk.telstra.net [139.130.136.133]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id RAA19543 for ; Fri, 10 Oct 1997 17:14:26 -0700 (PDT) (envelope-from grog@freebie.lemis.com) Received: (from grog@localhost) by freebie.lemis.com (8.8.7/8.8.5) id JAA10629; Sat, 11 Oct 1997 09:26:54 +0930 (CST) Message-ID: <19971011092653.35379@lemis.com> Date: Sat, 11 Oct 1997 09:26:53 +0930 From: Greg Lehey To: Bernie Doehner Cc: George Ellenburg , freebsd-isp@FreeBSD.ORG Subject: Re: Quotas References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.84e In-Reply-To: ; from Bernie Doehner on Fri, Oct 10, 1997 at 04:32:07PM -0400 Organisation: LEMIS, PO Box 460, Echunga SA 5153, Australia Phone: +61-8-8388-8250 Fax: +61-8-8388-8250 Mobile: +61-41-739-7062 WWW-Home-Page: http://www.lemis.com/~grog Fight-Spam-Now: http://www.cauce.org Sender: owner-freebsd-isp@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk On Fri, Oct 10, 1997 at 04:32:07PM -0400, Bernie Doehner wrote: >> Regarding setting Sendmail's effective userid to the userid that the mail >> is being delivered to, how do I do that? Also, I think we're using >> mail.local as the delivery agent, does that matter? > > Now that you mention it, I think you are right.. mail.local is used for > the local MTA and sendmail for sending over the net. Don't know the answer > to your question, although from looking at the permissions in 3.0-971003 I > see that it's installed setuid root. > > Anyone else? I've seen a couple of problems recently where people have been sent enormous mail messages (> 10 MB). mail.local makes a temporary copy of the message in /tmp, which can often overflow under these circumstances. I've submitted a change to put the stuff in /var/tmp instead, but so far it hasn't made it. It doesn't look as if this is your problem, but it's in the same area. Here's a patch: RCS file: /src/cvs/src/libexec/mail.local/pathnames.h,v retrieving revision 1.1.1.1 diff -w -u -r1.1.1.1 pathnames.h --- pathnames.h 1994/05/27 12:39:19 1.1.1.1 +++ pathnames.h 1997/09/09 01:42:38 @@ -34,4 +34,4 @@ */ #include -#define _PATH_LOCTMP "/tmp/local.XXXXXX" +#define _PATH_LOCTMP "/var/tmp/local.XXXXXX" Greg