Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 10 Apr 2003 22:31:45 +0100 (BST)
From:      Gavin Atkinson <gavin@ury.york.ac.uk>
To:        Mark Knight <markk@knigma.org>
Cc:        freebsd-stable@freebsd.org
Subject:   Re: Odd sendmail error
Message-ID:  <20030410221641.N21424-100000@ury.york.ac.uk>
In-Reply-To: <H8aZPTZucal%2BEwL3@lap.knigma.org>
References:  <H8aZPTZucal%2BEwL3@lap.knigma.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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.

Well, according to the mail(3) manpage, anything after the to: address is
passed straight to sendmail. And it turns out that the presence of the
email address does not matter either.

  > sendmail -c
  WARNING: RunAsGid for MSP ignored, check group ids (egid=5000, want=25)
  can not chdir(/var/spool/clientmqueue/): Permission denied
  Program mode requires special privileges, e.g., root or TrustedUser.

But thats about as far as I can figure, because as far as I can tell the
sendmail -c option is undocumented... The source code says (main.c):

          /* compatibility flags */
          case 'c':     /* connect to non-local mailers */

So basically you are inadvertantly using a deprecated option. I'm not
suprised it gives an unusual error message...

Gavin



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030410221641.N21424-100000>