From owner-ctm-announce Mon Mar 27 22:23:51 1995 Return-Path: ctm-announce-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id WAA27673 for ctm-announce-outgoing; Mon, 27 Mar 1995 22:23:51 -0800 Received: from ref.tfs.com (ref.tfs.com [140.145.254.251]) by freefall.cdrom.com (8.6.10/8.6.6) with ESMTP id WAA27667 for ; Mon, 27 Mar 1995 22:23:49 -0800 Received: (from phk@localhost) by ref.tfs.com (8.6.8/8.6.6) id WAA02503; Mon, 27 Mar 1995 22:23:27 -0800 From: Poul-Henning Kamp Message-Id: <199503280623.WAA02503@ref.tfs.com> Subject: Re: To all the ctm'mers... To: mark@grondar.za (Mark Murray) Date: Mon, 27 Mar 1995 22:23:27 -0800 (PST) Cc: ctm-announce@freebsd.org In-Reply-To: <199503280609.IAA22705@grunt.grondar.za> from "Mark Murray" at Mar 28, 95 08:09:37 am Content-Type: text Content-Length: 1498 Sender: ctm-announce-owner@freebsd.org Precedence: bulk > > > Sure. But _where_? Where does sendmail get a path from? > > > > I use this: > > ctm-cvs-cur: "| PATH=$PATH:/usr/sbin /usr/sbin/ctm_rmail -l /archive/CTM_m > ail > > /log -p /archive/CTM_mail -d /archive/CTM -b /home/ncvs" > > > > and it works, but is gross... > > > > I belive ctm_rmail should use an absolute path to the ctm program. > > How about assuming that ctm is in the same directory as ctm_rmail? > We know where it is, /usr/sbin ! Well, really, I have thought about this, and I belive the right thing to do, is the make a /etc/ctmcap file. What do you think of this strawman: default:\ :lf=/var/log/ctm.log:\ (log file) :mn=phk:mv=2:\ (mail to and level of verbosity) :ms=CTM result:\ (mail subject) :pc=/usr/sbin/ctm:\ (path to ctm) src-cur|Current FreeBSD Source Code:\ :sd=/var/spool/ctm:\ (spool dir for mail parts) :ad=/archive/ctm/src-cur:\ (archive dir for deltas) :ed=/usr/src:\ (extraction dir) :dm=0750:du=bin:dg=bin:\ (dir mode user group) :fm=0444:fu=bin:fg=bin:\ (file mode user group) :co=-v -P:\ (ctm options) :tc=default: (use the defaults) Then we make ctm_rmail setuid safe and install it setuid and you can just use this for you alias: ctm: "|/usr/sbin/ctm_rmail" even if you receive several streams of ctm-deltas. Now, who does this ? -- Poul-Henning Kamp -- TRW Financial Systems, Inc. 'All relevant people are pertinent' && 'All rude people are impertinent' => 'no rude people are relevant' From owner-ctm-announce Tue Mar 28 09:05:07 1995 Return-Path: ctm-announce-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id JAA20913 for ctm-announce-outgoing; Tue, 28 Mar 1995 09:05:07 -0800 Received: from grunt.grondar.za (grunt.grondar.za [196.7.18.129]) by freefall.cdrom.com (8.6.10/8.6.6) with ESMTP id JAA20903 for ; Tue, 28 Mar 1995 09:05:01 -0800 Received: from localhost (localhost [127.0.0.1]) by grunt.grondar.za (8.6.11/8.6.9) with SMTP id TAA24899; Tue, 28 Mar 1995 19:04:35 +0200 Message-Id: <199503281704.TAA24899@grunt.grondar.za> X-Authentication-Warning: grunt.grondar.za: Host localhost didn't use HELO protocol To: Poul-Henning Kamp cc: ctm-announce@freebsd.org Subject: Re: To all the ctm'mers... Date: Tue, 28 Mar 1995 19:04:34 +0200 From: Mark Murray Sender: ctm-announce-owner@freebsd.org Precedence: bulk > > How about assuming that ctm is in the same directory as ctm_rmail? > > > We know where it is, /usr/sbin ! Sure. But you know what folks are like; they move things. I don't like hard-coded paths to executables anyway. Messy-DOG is famous for this crap. > Well, really, I have thought about this, and I belive the right thing to > do, is the make a /etc/ctmcap file. > > What do you think of this strawman: Cool! This makes sense! > default:\ > :lf=/var/log/ctm.log:\ (log file) > :mn=phk:mv=2:\ (mail to and level of verbosity) > :ms=CTM result:\ (mail subject) > :pc=/usr/sbin/ctm:\ (path to ctm) > > > src-cur|Current FreeBSD Source Code:\ > :sd=/var/spool/ctm:\ (spool dir for mail parts) > :ad=/archive/ctm/src-cur:\ (archive dir for deltas) > :ed=/usr/src:\ (extraction dir) > :dm=0750:du=bin:dg=bin:\ (dir mode user group) > :fm=0444:fu=bin:fg=bin:\ (file mode user group) > :co=-v -P:\ (ctm options) > :tc=default: (use the defaults) > > > Then we make ctm_rmail setuid safe and install it setuid and you can > just use this for you alias: > > ctm: "|/usr/sbin/ctm_rmail" > > even if you receive several streams of ctm-deltas. > > Now, who does this ? . I'll look at it. No promises. -- Mark Murray 46 Harvey Rd, Claremont, Cape Town 7700, South Africa +27 21 61-3768 GMT+0200