From owner-freebsd-questions Tue Oct 28 09:21:14 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id JAA05218 for questions-outgoing; Tue, 28 Oct 1997 09:21:14 -0800 (PST) (envelope-from owner-freebsd-questions) Received: from cedb.dpcsys.com (cedb.dpcsys.com [206.16.184.4]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id JAA05209 for ; Tue, 28 Oct 1997 09:21:07 -0800 (PST) (envelope-from dan@dpcsys.com) Received: from localhost (dan@localhost) by cedb.dpcsys.com (8.8.5/8.8.2) with SMTP id RAA13817; Tue, 28 Oct 1997 17:20:06 GMT Date: Tue, 28 Oct 1997 09:20:06 -0800 (PST) From: Dan Busarow To: Jacques Hugo cc: questions@FreeBSD.ORG Subject: Re: sendmail troubles In-Reply-To: <3455A152.167EB0E7@wired.ctech.ac.za> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk On Tue, 28 Oct 1997, Jacques Hugo wrote: > All I am testing now, is that when user 'sql' > gets mail, that mail must be copied to some > other directory and the /var/mail/sql file > must be zero'd. Esier said that done. ^^^^^^^^^^^^^^ > This is me setup: > > /etc/aliases > sql: "| /usr/local/bin/a.out" With this alias nothing would ever be written to /var/mail/sql. Your error message may just be telling you that you can't do something that you don't need to do anyway :) Also, /usr/local/bin/a.out will be executed as user daemon (I think, but it won't be sql) so make sure a.out has world execute privs (and world read if it's really a script). And look at various directory and file permissions with that in mind. Dan -- Dan Busarow 714 443 4172 DPC Systems / Beach.Net dan@dpcsys.com Dana Point, California 83 09 EF 59 E0 11 89 B4 8D 09 DB FD E1 DD 0C 82