From owner-freebsd-questions Thu May 14 06:43:33 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id GAA00779 for freebsd-questions-outgoing; Thu, 14 May 1998 06:43:33 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from alcatel.fr (news.alcatel.fr [194.133.58.131]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id GAA00736 for ; Thu, 14 May 1998 06:43:21 -0700 (PDT) (envelope-from THIERRY.HERBELOT@telspace.alcatel.fr) From: THIERRY.HERBELOT@telspace.alcatel.fr Received: from alcatel.fr (gatekeeper-ssn.alcatel.fr [155.132.180.244]) by mailgate.alcatel.fr (ALCANET/SMTP.9.9.9) with ESMTP id PAA20398; Thu, 14 May 1998 15:47:53 +0200 Received: from aifhs1.alcatel.fr (aifhs1.alcatel.fr [155.132.180.86]) by aifhs2.alcatel.fr (ALCANET/SMTP2) with ESMTP id PAA12081; Thu, 14 May 1998 15:38:05 +0200 (MET DST) Received: from aifhs2.alcatel.fr (localhost [127.0.0.1]) by aifhs1.alcatel.fr (8.8.8/8.8.8) with ESMTP id PAA03783; Thu, 14 May 1998 15:42:03 +0200 (MET DST) Received: from lune.telspace.alcatel.fr (lune.telspace.alcatel.fr [155.132.144.65]) by aifhs2.alcatel.fr (ALCANET/SMTP2) with ESMTP id PAA12016; Thu, 14 May 1998 15:37:59 +0200 (MET DST) Received: from telss1.telspace.alcatel.fr (telss1.telspace.alcatel.fr [155.132.51.4]) by lune.telspace.alcatel.fr (8.7.6/8.7.3) with SMTP id PAA25147; Thu, 14 May 1998 15:41:51 +0200 (MET DST) Received: from telspace.alcatel.fr by telss1.telspace.alcatel.fr (4.1/SMI-4.1) id AA06103; Thu, 14 May 98 15:31:33 +0200 Received: from localhost by telspace.alcatel.fr with SMTP (1.40.112.12/16.2) id AA061152495; Thu, 14 May 1998 15:28:15 +0200 X-Openmail-Hops: 1 Date: Thu, 14 May 98 15:27:57 +0200 Message-Id: In-Reply-To: Subject: =?ISO-8859-1?Q?R=E9p_:_Re:_R=E9p_:_how_do_I_apply_a_fix??= Mime-Version: 1.0 Cc: chem@i-p-d.com, questions@FreeBSD.ORG Content-Type: text/plain; charset=ISO-8859-1; name="Texte" Content-Disposition: inline; filename="Texte" Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by hub.freebsd.org id GAA00744 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG [my finger slipped / this is the complete message] the patch is a small modification to the source listing of the mail.local program. To apply the patch, you have first to install the sources of the programs in the /usr/libexec (for example, use /stand/sysinstall to select the corresponding distribution from the release CDROM) Then you go to the source directory : cd /usr/src/libexec/mail.local/ you modify the file "pathname.h" as indicated (change the definition of _PATH_LOCTMP) then type "make" to recompile the mail.local program (as root) type "make install" then, it should be ok ____________________________ Séparateur Réponse ________________________________ Objet : Rép : Re: Rép : how do I apply a fix? Auteur : chem@i-p-d.com Date : 14/05/98 16:39 > From: THIERRY.HERBELOT@telspace.alcatel.fr > Date: Thu, 14 May 98 14:13:16 +0200 > Subject: Rép : how do I apply a fix? > To: chem@i-p-d.com > Cc: questions@FreeBSD.ORG > which fix ? The fix for mail.local filling up my / filesystem with tempfiles: (quote Greg): mail.local copies mail messages into /tmp, and a couple of occasions people have received really enormous ones which have caused the root file system to overflow. I've entered a problem report, but here are some solutions: 1. Place /tmp on a file system with *much* more free space. 2. Use ftp://ftp.lemis.com/pub/mail.local, which implements the fix in point (3). 3. Apply this fix to /usr/src/libexec/mail.local/pathnames.h and do a 'make install' in that directory. --- 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" end quote I just don't know what to do now..... Gina > > ____________________________ Séparateur Réponse ______________________________ __ > Objet : how do I apply a fix? > Auteur : chem@i-p-d.com > Date : 14/05/98 15:34 > > > Hi, > > I have to apply this fix, but I dont have a clue what to do. > ^^^^ > I have only been working with UNIX/FreeBSD for a few months now. I > have been searching the archives and the handbook for a step-by-step > tutorial, but havent found it. (doesnt mean it isnt there BTW) > > Can anybody help me out, telling me what to do on a beginnerslevel or > point me in the right direction? This morning the puter had to be > rebooted because of the problem :(. > > TIA > Gina van Zundert > > Internet Page Design > tel: 0165-571675 fax: 0165-571710 > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message > > > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message