Bug 474351 - sendmail -f is not respecting the subject and "to:"
Summary: sendmail -f is not respecting the subject and "to:"
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: sendmail
Version: 5.2
Hardware: All
OS: Linux
medium
medium
Target Milestone: rc
: ---
Assignee: Miroslav Lichvar
QA Contact: BaseOS QE
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2008-12-03 13:16 UTC by Matias Kreder
Modified: 2008-12-04 12:54 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2008-12-04 12:54:57 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Matias Kreder 2008-12-03 13:16:50 UTC
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:

Comment 2 Miroslav Lichvar 2008-12-04 12:54:57 UTC
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 ...


Note You need to log in before you can comment on or make changes to this bug.