Date: Sat, 11 Oct 1997 09:26:53 +0930 From: Greg Lehey <grog@lemis.com> To: Bernie Doehner <bad@uhf.wireless.net> Cc: George Ellenburg <gme@inspace.net>, freebsd-isp@FreeBSD.ORG Subject: Re: Quotas Message-ID: <19971011092653.35379@lemis.com> In-Reply-To: <Pine.BSF.3.96.971010162931.3947A-100000@uhf.wireless.net>; from Bernie Doehner on Fri, Oct 10, 1997 at 04:32:07PM -0400 References: <Pine.BSF.3.96.971010155622.6831A-100000@nova.ispace.com> <Pine.BSF.3.96.971010162931.3947A-100000@uhf.wireless.net>
next in thread | previous in thread | raw e-mail | index | archive | help
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 <paths.h> -#define _PATH_LOCTMP "/tmp/local.XXXXXX" +#define _PATH_LOCTMP "/var/tmp/local.XXXXXX" Greg
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19971011092653.35379>
