why can't sendmail write?

Gary D Kline kline at thought.org
Tue Apr 15 09:54:26 PDT 2003


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 at thought.org   www.thought.org     Public service Unix



More information about the freebsd-questions mailing list