Date: Tue, 15 Apr 2003 09:54:21 -0700 From: Gary D Kline <kline@thought.org> To: Bill Moran <wmoran@potentialtech.com> Cc: FreeBSD Mailing List <freebsd-questions@FreeBSD.ORG> Subject: Re: why can't sendmail write? Message-ID: <20030415165421.GA86462@tao.thought.org> In-Reply-To: <3E9C371E.5020504@potentialtech.com> References: <20030415163638.GA86393@tao.thought.org> <3E9C371E.5020504@potentialtech.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030415165421.GA86462>