How to send a large splitted file with mimes

How to send a large splitted file with mimes

Boris shtrasman borissh1983 at gmail.com
Sun Jun 14 22:27:17 IDT 2009


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello ,
I'm sorry for asking so newb question i tried to help with the Fonts
issue (to send the actual files) what i did was :
tar -cvvjf fonts.tar.bz2 /opt/windows/Fonts

Then i split the file using gnu split:
split -d -a 4 --line-bytes=12M fonts.tar.bz2 fonts0

then using a simple bash script i gave mutt to send the file :

#!/bin/bash

for i in `ls fonts0*`
do
  echo "Sending another part from file fonts.tar.bz2 : $i" | mutt -s
"Fonts $i" someuser at gmail.com;
done;

Exim sent the files i used gmail as my smart host (Since Gmail rejects
dynamic ip servers ) :

2009-06-14 15:17:37 1MFaSl-0001d4-KF => someuser at gmail.com R=smarthost
T=remote_smtp_smarthost H=gmail-smtp-msa.l.google.com [74.125.79.109]
X=TLS1.0:RSA_ARCFOUR_MD5:16 DN="C=US,ST=California,L=Mountain
View,O=Google Inc,CN=smtp.gmail.com"

2009-06-14 15:17:37 1MFaSl-0001d4-KF Completed


2009-06-14 15:18:05 1MFaSr-0001dI-Vy => someuser at gmail.com R=smarthost
T=remote_smtp_smarthost H=gmail-smtp-msa.l.google.com [74.125.79.109]
X=TLS1.0:RSA_ARCFOUR_MD5:16 DN="C=US,ST=California,L=Mountain
View,O=Google Inc,CN=smtp.gmail.com"

2009-06-14 15:18:05 1MFaSr-0001dI-Vy Completed


2009-06-14 15:18:41 1MFZzh-0001PR-RW => me at gmail.com R=smarthost
T=remote_smtp_smarthost H=gmail-smtp-msa.l.google.com [74.125.79.109]
X=TLS1.0:RSA_ARCFOUR_MD5:16 DN="C=US,ST=California,L=Mountain
View,O=Google Inc,CN=smtp.gmail.com"

2009-06-14 15:18:41 1MFZzh-0001PR-RW Completed


2009-06-14 15:19:36 1MFZz1-0001OR-Pr => me at gmail.com R=smarthost
T=remote_smtp_smarthost H=gmail-smtp-msa.l.google.com [74.125.79.109]
X=TLS1.0:RSA_ARCFOUR_MD5:16 DN="C=US,ST=California,L=Mountain
View,O=Google Inc,CN=smtp.gmail.com"

2009-06-14 15:19:36 1MFZz1-0001OR-Pr Completed


2009-06-14 15:20:11 1MFaRz-0001YA-DG => someuser at gmail.com R=smarthost
T=remote_smtp_smarthost H=gmail-smtp-msa.l.google.com [74.125.79.109]
X=TLS1.0:RSA_ARCFOUR_MD5:16 DN="C=US,ST=California,L=Mountain
View,O=Google Inc,CN=smtp.gmail.com"

2009-06-14 15:20:11 1MFaRz-0001YA-DG Completed


2009-06-14 15:21:02 1MFaRf-0001Xm-Pc => someuser at gmail.com R=smarthost
T=remote_smtp_smarthost H=gmail-smtp-msa.l.google.com [74.125.79.109]
X=TLS1.0:RSA_ARCFOUR_MD5:16 DN="C=US,ST=California,L=Mountain
View,O=Google Inc,CN=smtp.gmail.com"

2009-06-14 15:21:02 1MFaRf-0001Xm-Pc Completed


2009-06-14 15:21:35 1MFZz8-0001Oh-J9 => me at gmail.com R=smarthost
T=remote_smtp_smarthost H=gmail-smtp-msa.l.google.com [74.125.79.109]
X=TLS1.0:RSA_ARCFOUR_MD5:16 DN="C=US,ST=California,L=Mountain
View,O=Google Inc,CN=smtp.gmail.com"

2009-06-14 15:21:35 1MFZz8-0001Oh-J9 Completed


2009-06-14 15:22:07 1MFZzF-0001Or-JS => me at gmail.com R=smarthost
T=remote_smtp_smarthost H=gmail-smtp-msa.l.google.com [74.125.79.109]
X=TLS1.0:RSA_ARCFOUR_MD5:16 DN="C=US,ST=California,L=Mountain
View,O=Google Inc,CN=smtp.gmail.com"

2009-06-14 15:22:07 1MFZzF-0001Or-JS Completed


2009-06-14 15:22:42 1MFZzP-0001P4-IW => me at gmail.com R=smarthost
T=remote_smtp_smarthost H=gmail-smtp-msa.l.google.com [74.125.79.111]
X=TLS1.0:RSA_ARCFOUR_MD5:16 DN="C=US,ST=California,L=Mountain
View,O=Google Inc,CN=smtp.gmail.com"

2009-06-14 15:22:42 1MFZzP-0001P4-IW Completed


2009-06-14 15:22:42 End queue run: pid=7292


2009-06-14 15:25:18 1MFoly-0001z4-Hs <= me at midgard.yggdrasil U=me
P=local S=340

2009-06-14 15:25:20 1MFoly-0001z4-Hs => me at midgard R=smarthost
T=remote_smtp_smarthost H=gmail-smtp-msa.l.google.com [74.125.79.111]
X=TLS1.0:RSA_ARCFOUR_MD5:16 DN="C=US,ST=California,L=Mountain
View,O=Google Inc,CN=smtp.gmail.com"


2009-06-14 15:25:20 1MFoly-0001z4-Hs Completed


2009-06-14 15:25:38 1MFomI-0001zA-GV <= me at midgard.yggdrasil U=me
P=local S=344

2009-06-14 15:25:40 1MFomI-0001zA-GV => me at 127.0.0.1 R=smarthost
T=remote_smtp_smarthost H=gmail-smtp-msa.l.google.com [74.125.79.111]
X=TLS1.0:RSA_ARCFOUR_MD5:16 DN="C=US,ST=California,L=Mountain
View,O=Google Inc,CN=smtp.gmail.com"


2009-06-14 15:25:40 1MFomI-0001zA-GV Completed


2009-06-14 15:25:50 1MFomU-0001zI-OF <= me at midgard.yggdrasil U=me
P=local S=348

2009-06-14 15:25:53 1MFomU-0001zI-OF => root at 127.0.0.1 R=smarthost
T=remote_smtp_smarthost H=gmail-smtp-msa.l.google.com [74.125.79.111]
X=TLS1.0:RSA_ARCFOUR_MD5:16 DN="C=US,ST=California,L=Mountain
View,O=Google Inc,CN=smtp.gmail.com"


2009-06-14 15:25:53 1MFomU-0001zI-OF Completed


After downloading and the user complained that the files are garbled so
i downloaded the sent file and reattached them :
cat fonts0* >> fonts.tar.bz2
then tried to untar it .
tar -xvvjf fonts.tar.bz2

but some thing was since bunzip complained that the file is corrupted.

I can't understand what am i doing wrong , im sure it some thing simple
but i can't figure out what.


- --
 ------------ Boris Shtrasman -----------------
|          Software developer                  |
| IM       : borissh at jabber.org                |
| URL      : myrtfm.blogspot.com               |
| linkedIn : www.linkedin.com/in/BorisShtrasman|
 -----------------------------------------------

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAko1TxQACgkQHiYkXfwAFkvfJwCgviBXx/tok0FTwBT8ZroX4+O9
DHkAn1HilYv766cW3v9jW2fhxTzads2H
=HUAl
-----END PGP SIGNATURE-----



More information about the Linux-il mailing list