From owner-freebsd-stable Wed Oct 1 20:48:07 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id UAA28881 for stable-outgoing; Wed, 1 Oct 1997 20:48:07 -0700 (PDT) Received: from bunyip.cc.uq.edu.au (daemon@bunyip.cc.uq.edu.au [130.102.2.1]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id UAA28836 for ; Wed, 1 Oct 1997 20:47:54 -0700 (PDT) Received: (from daemon@localhost) by bunyip.cc.uq.edu.au (8.8.7/8.8.7) id NAA12580; Thu, 2 Oct 1997 13:44:57 +1000 Received: from localhost.dtir.qld.gov.au (localhost.dtir.qld.gov.au [127.0.0.1]) by ogre.dtir.qld.gov.au (8.8.7/8.8.7) with SMTP id NAA13343; Thu, 2 Oct 1997 13:22:16 +1000 (EST) Message-Id: <199710020322.NAA13343@ogre.dtir.qld.gov.au> X-Authentication-Warning: ogre.dtir.qld.gov.au: localhost.dtir.qld.gov.au [127.0.0.1] didn't use HELO protocol To: Burkard Meyendriesch cc: freebsd-stable@freebsd.org, syssgm@dtir.qld.gov.au Subject: Re: automated application of CTM deltas References: <199710011234.OAA13268@Reineke.Malepartus.de> In-Reply-To: <199710011234.OAA13268@Reineke.Malepartus.de> from Burkard Meyendriesch at "Wed, 01 Oct 1997 12:34:50 +0000" Date: Thu, 02 Oct 1997 13:22:16 +1000 From: Stephen McKay Sender: owner-freebsd-stable@freebsd.org X-Loop: FreeBSD.org Precedence: bulk On Wednesday, 1st October 1997, Burkard Meyendriesch wrote: >on my FreeBSD 2.2.5 box I use slocal for the distribution of my incoming >email. To process the incoming source tree deltas from owner-ctm-src-2_2 >I use the following entry in .maildelivery: > > From owner-ctm-src-2_2 ^ ? "/usr/sbin/ctm_rmail -f -p /usr/ctm/pieces \ > -l /usr/ctm/log -d /usr/ctm/deltas -b /usr/ctm/src-2_2" > >After every invocation of ctm_rmail the log file entries look like: > > 1997-10-01 01:14 src-2.2.0454.gz 1/1 stored > 1997-10-01 01:14 src-2.2.0454.gz complete > 1997-10-01 01:14 ctm: ctm: not found > >Is there anything wrong with the environment of slocal? What can I do >to get ctm_rmail working completely? ctm (and gunzip) must be in your PATH. I am guessing that your path is defaulting to /bin:/usr/bin when running slocal. You should be able to add PATH=/bin:/sbin:/usr/bin:/usr/sbin to your .forward to set PATh before slocal runs, or into your .maildelivery file to set it for just ctm_rmail. Have a look at the ctm_rmail man page for how I do this using procmail. You should be able to do something very similar if you don't like my previous suggestion. Stephen.