此内容没有您所选择的语言版本。
8.109. mailx
Updated mailx packages that fix two bugs are now available for Red Hat Enterprise Linux 6.
The mailx packages contain a mail user agent that is mostly used to manage mail using scripts.
Bug Fixes
- BZ#845098
- Prior to this update, the "mail" utility provided with the Red Hat Enterprise Linux 6 mailx packages was not fully compatible with the utility provided with the Red Hat Enterprise Linux 5 mailx package and packages in earlier releases of Red Hat Enterprise Linux. Consequently, some user scripts written for the mail utility did not work with "mail" in Red Hat Enterprise Linux 6. Support for multiple versions of the "mail" utility has been added to the mailx packages. This allows the user to install alternative packages providing this utility, for example, bsd-mailx.
- BZ#857120
- The mailx command did not set the error return code when it failed to send an e-mail because the TMPDIR environment variable was set to an invalid path. As a consequence, error checking was incorrect and therefore not helpful. With this update, the correct return code is set when mailx fails to send an e-mail. The error checking now works properly.
Users of mailx are advised to upgrade to these updated packages, which fix these bugs.