Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 50746

Summary: bounce command doesn't work in elm update 2.5.5-0.62 and 2.5.5-1
Product: [Retired] Red Hat Linux Reporter: Troy Barbee <barbee3>
Component: elmAssignee: Trond Eivind Glomsrxd <teg>
Status: CLOSED DUPLICATE QA Contact: David Lawrence <dkl>
Severity: medium Docs Contact:
Priority: medium    
Version: 6.2   
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2001-08-02 19:45:28 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
patch to src/reply.c to fix this bug none

Description Troy Barbee 2001-08-02 19:43:21 UTC
From Bugzilla Helper:
User-Agent: Mozilla/4.77 [en] (X11; U; Linux 2.2.17 i686)

Description of problem:
After installing the 2.5.5-0.62 update under 6.2 or the 2.5.5-1 update
under 7.[01], the bounce command in elm appears to work (the "Mail resent"
message appears), but the mail is not sent.

How reproducible:
Always

Steps to Reproduce:
1. Enter elm, choose a message
2. choose "b" to "bounce" the message
3. Enter an email address to send the message to
4. Confirm re-sending by hitting "y"	

Actual Results:  "Mail resent" is displayed at the bottom of the screen,
but no mail message is actually sent.

Expected Results:  The mail message should have been sent to the designated
user.

Additional info:

The elm-2.5.5-tempnam.patch file in the SRPM appears to be defective. The
patch modifies the routine remail() in the file src/reply.c to make temp
file handling more secure, but fails to use the new filename variable
(called tempfilename) throughout the routine.  Since the original filename
variable is NULL, the sendmail command invoked by system_call(buffer,0)
can't find the file to send, so no message is sent.

A patch to src/reply.c to fix this problem is attached.

This problem also occurs in RH Linux 7.0 and 7.1, elm-2.5.5-1

Comment 1 Troy Barbee 2001-08-02 19:45:24 UTC
Created attachment 25974 [details]
patch to src/reply.c to fix this bug

Comment 2 Trond Eivind Glomsrxd 2001-08-02 20:44:40 UTC

*** This bug has been marked as a duplicate of 49686 ***