From owner-freebsd-questions Wed Jul 31 13:25:50 2002 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 CEBC637B400 for ; Wed, 31 Jul 2002 13:25:47 -0700 (PDT) Received: from hedwig.ds.psu.edu (hedwig.ds.psu.edu [146.186.61.98]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2880543E5E for ; Wed, 31 Jul 2002 13:25:47 -0700 (PDT) (envelope-from hawk@hedwig.ds.psu.edu) Received: from hedwig.ds.psu.edu (localhost [127.0.0.1]) by hedwig.ds.psu.edu (8.12.3/8.12.2) with ESMTP id g6VJu24j001239; Wed, 31 Jul 2002 15:56:03 -0400 (EDT) (envelope-from hawk@hedwig.ds.psu.edu) Message-Id: <200207311956.g6VJu24j001239@hedwig.ds.psu.edu> X-Mailer: exmh version 2.5 07/13/2001 with nmh-1.0.4 To: Jeff Jirsa Cc: freebsd-questions@FreeBSD.ORG Subject: Re: can't send mail: "collect: Cannot write ./dd j000181 (bfcommit) In-Reply-To: Your message of "Wed, 31 Jul 2002 12:25:42 PDT." <20020731121938.W20940-100000@boris.st.hmc.edu> From: dochawk@psu.edu Date: Wed, 31 Jul 2002 15:56:02 -0400 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Jeff jumped, > On Wed, 31 Jul 2002, Richard E. Hawkins wrote: > > slytherinttyp1:hawk>collect: Cannot write ./dfg6VE77n7000152 (bfcommit, uid=1000, gid=25): Permission denied > > queueup: cannot create queue temp file ./tfg6VE77n7000152, uid=1000: Permission denied > What version of sendmail? whatever was in -STABLE this week :) It doesn't seem to respond to my usual ways of looking for a version. However, sendmail -v provoks Warning: .cf file is out of date: sendmail 8.12.5 supports version 10, .cf file is version 9 Recipient names must be specified so I'm guessing 8.12.5 :) > What are the permissions on /var/spool/mqueue and /var/spool/clientmqueue ? > If you're running sendmail 8.12.x, It should look something like: > # ll /var/spool/ | grep *mqueue > drwxrwx--- 2 smmsp smmsp 512 Jul 31 11:43 clientmqueue/ > drwxr-xr-x 2 root daemon 512 Jul 31 12:19 mqueue/ slytherin# ls -l /var/spool | grep mque drwxrwx--- 2 smmsp smmsp 512 Jul 25 18:26 clientmqueue drwxr-xr-x 2 root daemon 512 Jul 31 13:02 mqueue These seem to match. I also just discovered that root is capable of sending mail . . . > and whichever sendmail binary you're using (probably > /usr/libexec/sendmail/sendmail) needs to be setgid smmsp: > # ll /usr/libexec/sendmail > total 1008 > lrwxr-xr-x 1 root wheel 15 Jul 5 23:31 sendmail@ -> sendmail-8.12.3 > -r-xr-sr-x 1 root smmsp 599501 Jul 5 23:29 sendmail-8.12.3* slytherin# ls -l /usr/libexec/sendmail/ total 592 -r-xr-sr-x 1 root smmsp 586944 Jul 31 14:02 sendmail These match, as near as i can tell. Did I need to add myself to a group, perhaps? thanks hawk -- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message