[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

mail corrupts uuencoded file



Hi,

I use to:

cat <filename> | uuencode <filename> | mail -s <filename> <somebody>

To transfer files. But I had problems transmiting a large one (almost
4 Mb) that I tried several times. I decided to take a look, and
generated a uuencode, and then mailed this uuencode to myself (local
machine), and compared the two of them.

The diff showd that every once in a while there was a line with
missing characters, like the second one in this excerpt:

-----corrupted file------

MH"CF)1?.$4^_13N8_F_159#G4/3SPO,H!GMA((I7O##T+=KW83SU(:H=5+R^
VV[89A+\%889A,L#L,\@C6X8"78A0M:@B-A^(C@+*Y=">Z$82E!
M.`*K">Z)P`J":A'XEJ!)!#81M(O`5JK<H1$8B=F:&I%K[U$OS[REK^-^'I%5

-----original file-------

MH"CF)1?.$4^_13N8_F_159#G4/3SPO,H!GMA((I7O##T+=KW83SU(:H=5+R^
M84@ER`I#7VV[89A+\%889A,L#L,\@C6X8"78A0M:@B-A^(C@+*Y=">Z$82E!
M.`*K">Z)P`J":A'XEJ!)!#81M(O`5JK<H1$8B=F:&I%K[U$OS[REK^-^'I%5

-------------------------

diff showed 1124 different lines total!

I tried to find a cyclical pattern in the number of the corrupted
lines, and found that it happens about every 66 lines (not
precisely. Sometimes skip 1 and jump 67 instead of 66, or
something. My greps might also have cut some of the valid lines,
also). Here's the beggining:

% diff src.uu ~/m/src.uu | egrep -v "> |< |---"
464c464
530c530
728c728
794c794
860c860
926c926
992c992
1058c1058
1124c1124
1190c1190
1256c1256
1389c1389
1455c1455
1521c1521
1587c1587
1653c1653
1719c1719
1785c1785
(...)

Does anyone have any clue why is this happening?

TIA!

-- 
Luiz Otavio L. Zorzella                 Product Engineer
zorzella@conexware.com          http://www.conexware.com


--
To UNSUBSCRIBE, email to debian-user-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org


Reply to: