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" [EMAIL PROTECTED] > > If I Bcc or Cc recipients I get this error: > > $ /usr/bin/mail -s "testing" [EMAIL PROTECTED] -c > [EMAIL PROTECTED],[EMAIL PROTECTED],[EMAIL PROTECTED] > > 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/ _______________________________________________ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"