From owner-freebsd-questions@FreeBSD.ORG Tue Apr 15 09:54:26 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 13E1237B405 for ; Tue, 15 Apr 2003 09:54:26 -0700 (PDT) Received: from sage.thought.org (ns1.thought.org [216.231.43.140]) by mx1.FreeBSD.org (Postfix) with ESMTP id E24EC43F75 for ; Tue, 15 Apr 2003 09:54:24 -0700 (PDT) (envelope-from kline@thought.org) Received: from thought.org (root@tao [10.0.0.247]) by sage.thought.org (8.12.9/8.11.4) with ESMTP id h3FGsMKk002077; Tue, 15 Apr 2003 09:54:23 -0700 (PDT) (envelope-from kline@thought.org) Received: (from kline@localhost) by thought.org (8.12.6/8.11.3) id h3FGsLYk086511; Tue, 15 Apr 2003 09:54:21 -0700 (PDT) (envelope-from kline) Date: Tue, 15 Apr 2003 09:54:21 -0700 From: Gary D Kline To: Bill Moran Message-ID: <20030415165421.GA86462@tao.thought.org> References: <20030415163638.GA86393@tao.thought.org> <3E9C371E.5020504@potentialtech.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3E9C371E.5020504@potentialtech.com> X-Organization: Thought Unlimited. Public service Unix since 1986. X-Of_Interest: Observing 16 years of service to the Unix community User-Agent: Mutt/1.5.3i cc: FreeBSD Mailing List Subject: Re: why can't sendmail write? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 15 Apr 2003 16:54:26 -0000 On Tue, Apr 15, 2003 at 12:45:18PM -0400, Bill Moran wrote: > Gary D Kline wrote: > > After having my DNS server fail late yesterday, and several > > times reboot, I find that something is wrong with some permission > > involving sendmail. > > > >Apr 15 01:09:12 sage sendmail[881]: h3F89CTR000881: SYSERR(admin): collect: > >Cannot write ./dfh3F89CTR000881 (bfcommit, uid=1001, gid=25): Permission > >denied > >Apr 15 01:09:12 sage sendmail[881]: h3F89CTR000881: SYSERR(admin): queueup: > >cannot create queue temp file ./tfh3F89CTR000881, uid=1001: Permission > >denied > >Apr 15 09:12:25 sage su: kline to root on /dev/ttyp1 > >Apr 15 09:26:36 sage sendmail[1960]: h3FGQaHJ001960: SYSERR(kline): > >collect: Cannot write ./dfh3FGQaHJ001960 (bfcommit, uid=1002, gid=25): > >Permission denied > >Apr 15 09:26:36 sage sendmail[1960]: h3FGQaHJ001960: SYSERR(kline): > >queueup: cannot create queue temp file ./tfh3FGQaHJ001960, uid=1002: > >Permission denied > > > > is what I found is messages. The uid=1001 is, as evident, > > "admin"; uid=1002, is "kline", and gid=25 is smmsp. > > > > Can anybody clue me in on what I need to fix? > > Yes. The error messages clearly state that there is a permission problem. > > Off the top of my head ... check the directories in /var/spool > clientmqueue appears to need rwxrwx--- perms with owner/group as > smmsp:smmsp > I was just replying to my own email as you sent this. Yes; last week when I upgraded to 4.8 I only did a chown smmsp:smmsp on the clientmqueue directory. I created thngs by-hand and originally must have left some files in /var/spool/clientmqueue that were root:wheel. The fix was # cd /var/spool; chown -R smmsp:smmsp clientmqueue (*sigh*) I''m getting old and sloppy..... thanks, gary > -- Gary Kline kline@thought.org www.thought.org Public service Unix