Date: Wed, 19 Nov 2003 04:11:37 +0100 From: Alex de Kruijff <freebsd@akruijff.dds.nl> To: Alex Wilkinson <alex.wilkinson@dsto.defence.gov.au> Cc: questions@freebsd.org Subject: Re: sendmail question Message-ID: <20031119031137.GD389@dds.nl> In-Reply-To: <20031119015215.GD852@squirm.dsto.defence.gov.au> References: <20031119015215.GD852@squirm.dsto.defence.gov.au>
next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Nov 19, 2003 at 12:22:15PM +1030, Alex Wilkinson wrote: > Howdy all, > > I have yet another sendmail issue. > > This command will send mail fine ie no errors whatsoever and the mail arrives masquared: > > $ /usr/bin/mail -s "testing" alex.wilkinson@dsto.defence.gov.au > > If I Bcc or Cc recipients I get this error: > > $ /usr/bin/mail -s "testing" alex.wilkinson@dsto.defence.gov.au -c > +username@domain.gov.au,username@domain.gov.au,username@domain.gov.au > > WARNING: RunAsGid for MSP ignored, check group ids (egid=200, want=25) > can not chdir(/var/spool/clientmqueue/): Permission denied > Program mode requires special privileges, e.g., root or TrustedUser. > > What is the best way of getting around this problem specific to FreeBSD -CURRENT ? man mail gives: mail [-EiInv] [-s subject] [-c cc-addr] [-b bcc-addr] to-addr ... These special argument must go before the normal ones. This is true for all command in Unix. You have to place the -c argument before to-addr. For mail argument afther the to-addr are sendmail argument. So your -c didn't command to cc this also to person x. -- Alex Articles based on solutions that I use: http://www.kruijff.org/alex/index.php?dir=docs/FreeBSD/
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20031119031137.GD389>