From owner-freebsd-stable@FreeBSD.ORG Thu Apr 10 14:31:56 2003 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7EF5637B401 for ; Thu, 10 Apr 2003 14:31:56 -0700 (PDT) Received: from pump3.york.ac.uk (pump3.york.ac.uk [144.32.128.131]) by mx1.FreeBSD.org (Postfix) with ESMTP id 23C0943F93 for ; Thu, 10 Apr 2003 14:31:55 -0700 (PDT) (envelope-from gavin@ury.york.ac.uk) Received: from ury.york.ac.uk (ury.york.ac.uk [144.32.108.81]) by pump3.york.ac.uk (8.10.2/8.10.2) with ESMTP id h3ALVlE05264; Thu, 10 Apr 2003 22:31:47 +0100 (BST) Received: from ury.york.ac.uk (localhost.york.ac.uk [127.0.0.1]) by ury.york.ac.uk (8.12.8p1/8.12.8) with ESMTP id h3ALVlcF021572; Thu, 10 Apr 2003 22:31:47 +0100 (BST) (envelope-from gavin@ury.york.ac.uk) Received: from localhost (gavin@localhost)h3ALVksG021569; Thu, 10 Apr 2003 22:31:46 +0100 (BST) Date: Thu, 10 Apr 2003 22:31:45 +0100 (BST) From: Gavin Atkinson To: Mark Knight In-Reply-To: Message-ID: <20030410221641.N21424-100000@ury.york.ac.uk> References: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: freebsd-stable@freebsd.org Subject: Re: Odd sendmail error X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 10 Apr 2003 21:31:56 -0000 On Thu, 10 Apr 2003, Mark Knight wrote: > One my 4.8 box I recently made a silly mistake sending a mail from the > command line, along the lines of: > > mkn@shrewd$ mail test@knigma.org -c test@knigma.org > Subject: test > test > EOT > mkn@shrewd$ WARNING: RunAsGid for MSP ignored, check group ids > (egid=1001, want=25) > can not chdir(/var/spool/clientmqueue/): Permission denied > Program mode requires special privileges, e.g., root or TrustedUser. Well, according to the mail(3) manpage, anything after the to: address is passed straight to sendmail. And it turns out that the presence of the email address does not matter either. > sendmail -c WARNING: RunAsGid for MSP ignored, check group ids (egid=5000, want=25) can not chdir(/var/spool/clientmqueue/): Permission denied Program mode requires special privileges, e.g., root or TrustedUser. But thats about as far as I can figure, because as far as I can tell the sendmail -c option is undocumented... The source code says (main.c): /* compatibility flags */ case 'c': /* connect to non-local mailers */ So basically you are inadvertantly using a deprecated option. I'm not suprised it gives an unusual error message... Gavin