Date: Mon, 3 Jun 2002 09:09:06 -0700 (PDT) From: Doug Silver <dsilver@urchin.com> To: Gregory Neil Shapiro <gshapiro@FreeBSD.ORG> Cc: freebsd-stable@FreeBSD.ORG Subject: Re: 4.6RC Sendmail clientmqueue problem Message-ID: <Pine.LNX.4.21.0206030903170.21989-100000@danzig.sd.quantified.net> In-Reply-To: <15611.37561.690668.315545@horsey.gshapiro.net>
next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 3 Jun 2002, Gregory Neil Shapiro wrote: > dsilver> I just upgraded one of my servers to 4.6RC and now sendmail > dsilver> (localhost/outbound email only) appears somewhat broken. These > dsilver> messages keep coming through: > > dsilver> sendmail[2197]: NOQUEUE: SYSERR(root): can not chdir(/var/spool/clientmqueue/): Permission denied > > dsilver> Looking through the recent archives/etc I've seen lots of messages > dsilver> about this, but everything appears to be setup properly: > > dsilver> -r-xr-sr-x 1 root smmsp 581956 Jun 2 18:50 /usr/libexec/sendmail/sendmail* > dsilver> drwxrwx--- 2 smmsp smmsp 512 Jun 2 18:27 /var/spool/clientmqueue/ > > Your setup looks correct. There are a couple of possibilities: > > 1. /usr is mounted nosuid. > 2. /, /var, or /var/spool are not mode 0755. > 3. You are running sendmail from the command line with an option that > causes it to drop privs. > 4. You have also set RunAsUser in your submit.cf. > > dsilver> The only change I made to the submit.cf file was to enable the > dsilver> 'trusted-users' file, which I may or may not need (does the web > dsilver> server "www" need to be in there?). > > Only if the www user is sending mail using the -f option to change the > sender address. > Hi Greg - Thanks for the quick response! This machine was previously running 4.4-Stable. drwxr-xr-x 18 root wheel 512 Jan 7 17:01 usr/ drwxr-xr-x 22 root wheel 512 Mar 12 09:52 var/ drwxr-xr-x 10 root wheel 512 Jun 2 18:27 /var/spool # egrep mail /etc/rc.conf sendmail_enable="NO" # cat /var/run/sendmail.pid 93 /usr/sbin/sendmail -L sm-mta -bd -q30m -ODaemonPortOptions=Addr=localhost # egrep -i runasuser submit.cf O RunAsUser=smmsp I did make another mc file for this machine to use, with the only modification being to define SMART_HOST and 'use_ct_file'. The www user does change the user though I'm using a perl-module to do this so I'm not sure what it's using under the hood, but I added it just to be sure. -- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Doug Silver Network Manager Urchin Software Corp. http://www.urchin.com ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.LNX.4.21.0206030903170.21989-100000>