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