SLES11 mail command won't take -s when running -R first
This document (7006907) is provided subject to the disclaimer at the end of this document.
Environment
SUSE Linux Enterprise Server 11 Service Pack 2
Situation
echo "TEST" | mail -R mailadress@domain -s TEST mailaddress@domain
It will fail with the error:
$ echo "TEST" | mail -R holger.mickler@tu-dresden.de -s TEST holger.mickler@tu-dresden.de
$ send-mail: invalid option -- 's'
send-mail: invalid option -- 's'
send-mail: fatal: usage: send-mail [options]
Resolution
Additional Information
Disclaimer
This Support Knowledgebase provides a valuable tool for SUSE customers and parties interested in our products and solutions to acquire information, ideas and learn from one another. Materials are provided for informational, personal or non-commercial use within your organization and are presented "AS IS" WITHOUT WARRANTY OF ANY KIND.
- Document ID:7006907
- Creation Date: 11-May-2012
- Modified Date:12-Oct-2022
-
- SUSE Linux Enterprise Server
For questions or concerns with the SUSE Knowledgebase please contact: tidfeedback[at]suse.com