Bug 28930

Summary: attachment file sizes reported in the message body not realistic
Product: [Retired] Red Hat Linux Reporter: Pekka Savola <pekkas>
Component: pineAssignee: Mike A. Harris <mharris>
Status: CLOSED NOTABUG QA Contact: David Lawrence <dkl>
Severity: low Docs Contact:
Priority: low    
Version: 7.1   
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-02-22 22:00:44 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:

Description Pekka Savola 2001-02-22 22:00:41 UTC
Not a showstopper.

Attachment file sizes (at least in some cases) seem to be *way* off, for example:

    [ Part 2, Application/X-RPM  5.7MB. ]
    [ Cannot display this part. Press "V" then "S" to save in a file. ]

Hit V

   1     20 lines   Text/PLAIN                                                      
   2    4.3 MB      Application/X-RPM                                               

after saving:

$ ls -la sdr-3.0-1.src.rpm 
-rw-rw-r--    1 pekkas   pekkas    4207876 Feb 22 23:29 sdr-3.0-1.src.rpm

also happened with 4.31, at least.

Might this have something to do with the encoding used (and calculating the space needed by the encoded text,
rather than the saved file)

Comment 1 Preston Brown 2001-02-23 21:01:07 UTC
it is showing the base64 encoded size...