Odd sendmail error

Jeff Jirsa jeff at unixconsults.com
Thu Apr 10 10:38:51 PDT 2003


-----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 at shrewd$ mail test at knigma.org -c test at knigma.org
>    Subject: test
>    test
>    EOT
>    mkn at 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 at shrewd$ mail -c test at knigma.org test at 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-----




More information about the freebsd-stable mailing list