Date: Wed, 31 Jul 2002 12:25:42 -0700 (PDT) From: Jeff Jirsa <jeff@boris.st.hmc.edu> To: "Richard E. Hawkins" <dochawk@psu.edu> Cc: <freebsd-questions@FreeBSD.ORG> Subject: Re: can't send mail: "collect: Cannot write ./dd j000181 (bfcommit) Message-ID: <20020731121938.W20940-100000@boris.st.hmc.edu> In-Reply-To: <200207311915.g6VJF74j000860@hedwig.ds.psu.edu>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020731121938.W20940-100000>