From owner-freebsd-questions Wed Jul 31 12:25:48 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 9F82537B400 for ; Wed, 31 Jul 2002 12:25:45 -0700 (PDT) Received: from boris.st.hmc.edu (boris.ST.HMC.Edu [134.173.63.11]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2EF3143E65 for ; Wed, 31 Jul 2002 12:25:45 -0700 (PDT) (envelope-from jeff@boris.st.hmc.edu) Received: from boris.st.hmc.edu (localhost [127.0.0.1]) by boris.st.hmc.edu (8.12.3/8.12.3) with ESMTP id g6VJPhLL020990; Wed, 31 Jul 2002 12:25:43 -0700 (PDT) Received: from localhost (jeff@localhost) by boris.st.hmc.edu (8.12.3/8.12.3/Submit) with ESMTP id g6VJPhCd020987; Wed, 31 Jul 2002 12:25:43 -0700 (PDT) (envelope-from jeff@boris.st.hmc.edu) Date: Wed, 31 Jul 2002 12:25:42 -0700 (PDT) From: Jeff Jirsa To: "Richard E. Hawkins" Cc: Subject: Re: can't send mail: "collect: Cannot write ./dd j000181 (bfcommit) In-Reply-To: <200207311915.g6VJF74j000860@hedwig.ds.psu.edu> Message-ID: <20020731121938.W20940-100000@boris.st.hmc.edu> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Virus-Scanned: by amavisd-milter on boris.st.hmc.edu 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 On Wed, 31 Jul 2002, Richard E. Hawkins wrote: > > I have the new machine mostly setup, but it is still unable to send > mail. > > mail -sabc someone@somehere.org > > at first appears to have succeded, and returns to the shell. > > > Then I get: > > slytherinttyp1:hawk>collect: Cannot write ./dfg6VE77n7000152 (bfcommit, uid=1000, gid=25): Permission denied > queueup: cannot create queue temp file ./tfg6VE77n7000152, uid=1000: Permission denied > rw > [1] 153 > > What version of sendmail? 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/ 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* - Jeff Jirsa To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message