Date: Thu, 10 Apr 2003 10:38:43 -0700 (PDT) From: Jeff Jirsa <jeff@unixconsults.com> To: Mark Knight <markk@knigma.org> Cc: freebsd-stable@freebsd.org Subject: Re: Odd sendmail error Message-ID: <20030410103334.X8910-100000@boris.st.hmc.edu> In-Reply-To: <H8aZPTZucal%2BEwL3@lap.knigma.org>
next in thread | previous in thread | raw e-mail | index | archive | help
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Thu, 10 Apr 2003, Mark Knight wrote: > One my 4.8 box I recently made a silly mistake sending a mail from the > command line, along the lines of: > > mkn@shrewd$ mail test@knigma.org -c test@knigma.org > Subject: test > test > EOT > mkn@shrewd$ WARNING: RunAsGid for MSP ignored, check group ids > (egid=1001, want=25) > can not chdir(/var/spool/clientmqueue/): Permission denied > Program mode requires special privileges, e.g., root or TrustedUser. > > Obviously I meant: > > mkn@shrewd$ mail -c test@knigma.org test@knigma.org > > which works absolutely fine, so it's not a major problem. > > I'd just be interested in knowing why my mistake lead to such an odd > message! I believe my sendmail / clientmqueue permissions are the > installed default and sane. > Whar are the permissions on /usr/libexec/sendmail/sendmail and /var/spool/clientmqueue? For the record, you should have it in group smmsp, and the setgid bit set. - -r-xr-sr-x 1 root smmsp 626792 Mar 29 23:35 /usr/libexec/sendmail/sendmail and drwxrwx--- 2 smmsp smmsp 512 Apr 10 03:07 clientmqueue/ It is an odd error, but it may disappear if the permissions are correct (ie: your normal way of doing things may be masking a different problem). - - Jeff Jirsa -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (FreeBSD) iD8DBQE+lawo1ZEy6nYcOF4RAuugAKCWC74JKWlzSDnlEgZKFN5LOwX61QCfV/ms Zjyk7LJSel0jGq8oag1AeTs= =RiF1 -----END PGP SIGNATURE-----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030410103334.X8910-100000>