Bug 77176 - mailx inserting extra LF
mailx inserting extra LF
Status: CLOSED NOTABUG
Product: Red Hat Raw Hide
Classification: Retired
Component: mailx (Show other bugs)
1.0
All Linux
medium Severity medium
: ---
: ---
Assigned To: Jiri Ryska
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2002-11-02 03:46 EST by Reuben Farrelly
Modified: 2007-04-18 12:48 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2004-11-03 06:48:54 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Reuben Farrelly 2002-11-02 03:46:28 EST
From Bugzilla Helper:
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1)

Description of problem:
/bin/mail appears to be inserting an extra <LF> into the output

Version-Release number of selected component (if applicable):


How reproducible:
Always

Steps to Reproduce:
1. create a test file with appropriate headers (see below for example)
2. mail root@reub.net < /tmp/testmail
3. read in mailer
	

Actual Results:  Mail was delivered succesfully but as mailx appears to have 
added an extra <LF> the headers that were in /tmp/testmail are treated as body 
and not part of the header.

Expected Results:  No LF, therefore statements in /tmp/testmail (namely To: 
From: and Subject: should appear as those in mailer)

Additional info:

[root@tornado tmp]# cat testmail 
From: testmailer@reub.net
To: reuben@reub.net
Subject: See how this works

asdfsdafhkjafjdhs
this is the body

---------------------------------------------------
Output in mailer:

Delivered-To: reuben@reub.net 
Delivered-To: root@reub.net 
Delivered-To: squid@reub.net 
From: root@reub.net 
Date: 2 Nov 2002 19:36:15 +1100 
To: squid@reub.net 
                        <<<<<<<<<<<<<<<<---- where did this CR come from??
From: testmailer@reub.net
To: reuben@reub.net
Subject: See how this works

asdfsdafhkjafjdhs
this is the body
Comment 1 Jiri Ryska 2004-11-03 06:48:54 EST
Using mail like this: "mail root@reub.net < /tmp/testmail" cause mail
to mail to root@reub.net with body given from /tmp/testmail. And there
is allways LF separating mail headers and body of message.

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