Description of problem: When I run the command uuencode test.txt test.txt | sendmail -f alerta.mx -s test mkreder I got an e-mail without subject, and "to:" as, undisclosed-recipients:; Version-Release number of selected component (if applicable): sendmail-8.13.1-3.3.el4.i386 How reproducible: always Steps to Reproduce: 1. Install RHEL 5.2 2. Configure send-mail 3. send an e-mail with "sendmail -f " Actual results: I got an e-mail with out subject, and "to:" as, undisclosed-recipients:; Expected results: the subject displayed in the e-mail and in to: the correct e-mail address of the recipient. Additional info:
This doesn't look like a valid use of sendmail command. The -s options isn't used to specify a subject. Both subject and to headers need to be specified in the message that sendmail reads from standard input. echo -e "To: ...\nSubject: ...\n..." | sendmail ...