On Mon, Dec 3, 2012 at 5:49 PM, Aaron McCaleb <[email protected]> wrote: > Has anyone else encountered the following compatibility change in mailx-12.4 > (in RHEL 6.2), versus mailx-8.1.1 from the RHEL 5 distributions? > > In particular, the following command encounters an error: > > --------------------------------snip-------------------------------------------- > echo "foo bar baz" | mail [email protected] -s "foo bar baz test" > > WARNING: RunAsUser for MSP ignored, check group ids (egid=<SOME_ID>, > want=<OTHER_ID>) > can not chdir(/var/spool/clientmqueue/): Permission denied > Program mode requires special privileges, e.g., root or TrustedUser. > -----------------------------------/snip----------------------------------------
I ran that command and it barfed, but no where near the way yours did: echo "foo bar baz" | mail [email protected] -s "foo bar baz test" [jbroome@host ~]$ send-mail: invalid option -- 's' send-mail: invalid option -- 's' send-mail: fatal: usage: send-mail [options] First hit for your error: http://setaoffice.com/2009/12/17/sendmail-warning-runasuser-for-msp-ignored-check-group-ids/ > But running the command this way...just moving the recipient address to the > end of the line, works without issue: > > ---------------------------------snip----------------------------------------- > echo "foo bar baz" | mail -s "foo bar baz test" [email protected] > ---------------------------------/snip---------------------------------------- > > Thoughts? Is this a change in the specification for mail and/or mailx that > all recipients must be listed at the end, that perhaps is just now being > enforced? If so, does anyone have a primary source for that information? You mean the way it's listed in the manpage for mail? _______________________________________________ Tech mailing list [email protected] https://lists.lopsa.org/cgi-bin/mailman/listinfo/tech This list provided by the League of Professional System Administrators http://lopsa.org/
