Odd sendmail error
Gavin Atkinson
gavin at ury.york.ac.uk
Thu Apr 10 14:31:56 PDT 2003
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.
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
More information about the freebsd-stable
mailing list