From owner-freebsd-stable@FreeBSD.ORG Thu Apr 10 10:38:51 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 481D037B401 for ; Thu, 10 Apr 2003 10:38:51 -0700 (PDT) Received: from boris.st.hmc.edu (boris.ST.HMC.Edu [134.173.63.11]) by mx1.FreeBSD.org (Postfix) with ESMTP id AD9B743F85 for ; Thu, 10 Apr 2003 10:38:50 -0700 (PDT) (envelope-from jeff@unixconsults.com) Received: from boris.st.hmc.edu (localhost.st.hmc.edu [127.0.0.1]) by boris.st.hmc.edu (8.12.6p2/8.12.6) with ESMTP id h3AHcnGW008952; Thu, 10 Apr 2003 10:38:49 -0700 (PDT) (envelope-from jeff@unixconsults.com) Received: from localhost (jeff@localhost)h3AHcnlk008949; Thu, 10 Apr 2003 10:38:49 -0700 (PDT) X-Authentication-Warning: boris.st.hmc.edu: jeff owned process doing -bs Date: Thu, 10 Apr 2003 10:38:43 -0700 (PDT) From: Jeff Jirsa X-X-Sender: jeff@boris.st.hmc.edu To: Mark Knight In-Reply-To: Message-ID: <20030410103334.X8910-100000@boris.st.hmc.edu> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Virus-Scanned: by unixconsults.com 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 17:38:51 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 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. > > Obviously I meant: > > mkn@shrewd$ mail -c test@knigma.org test@knigma.org > > which works absolutely fine, so it's not a major problem. > > I'd just be interested in knowing why my mistake lead to such an odd > message! I believe my sendmail / clientmqueue permissions are the > installed default and sane. > Whar are the permissions on /usr/libexec/sendmail/sendmail and /var/spool/clientmqueue? For the record, you should have it in group smmsp, and the setgid bit set. - -r-xr-sr-x 1 root smmsp 626792 Mar 29 23:35 /usr/libexec/sendmail/sendmail and drwxrwx--- 2 smmsp smmsp 512 Apr 10 03:07 clientmqueue/ It is an odd error, but it may disappear if the permissions are correct (ie: your normal way of doing things may be masking a different problem). - - Jeff Jirsa -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (FreeBSD) iD8DBQE+lawo1ZEy6nYcOF4RAuugAKCWC74JKWlzSDnlEgZKFN5LOwX61QCfV/ms Zjyk7LJSel0jGq8oag1AeTs= =RiF1 -----END PGP SIGNATURE-----