norgaard at locolomo.org
Mon Apr 4 01:55:12 PDT 2005
Gert Cuykens wrote:
> On Apr 1, 2005 9:59 AM, Erik Nørgaard <norgaard at locolomo.org> wrote:
>>As everyone else notes, this is not a job for e-mailing. Even if you
>>want to e-mail the file, it is not a job for sendmail. When you send
>>attachments they are typically base64 encoded, this explodes the file
>>from 5.5MB to about 8MB.
>>You can cut it up in two ways: Use transcode to make shorter clips and
>>send separately or convert the file to base64, then cut it up manually
>>and ask your friend to concateneate the attachments and deconvert from
>>The second option is the low tech - transcode is not designed to be user
>>But, as everyone suggest: Setup anon ftp, an apache webserver, or give
>>ssh access - all of these are faster, simpler and better. This is
>>posible if you are not NAT'ed and have a reasonably fixed ip.
> well i can setup a ftp but then i have to leave my pc on all the time
> , people need to sleep you know and i cant sleep whith
> PRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRR in the background. irc wasnt made
> to sent files either and look at it now , its more popular then ftp :)
more popular does not mean better, just more popular.
> So how do i get a movie in my friends mailbox using sentmail ? I was
> thinking in de lines of sendmail -t blabla at blabla.bla -a movie.mpeg -m
> hello.txt -s hello ?
there is a trick you may find handy: "man mail" it tells you all about
the options and stuff. Then you'll find that something along the lines
'cat movie.mpeg | mail -s "movie" recipient at somewhere'
will fail, because you first have to convert your movie.mpeg to base64
and wrap the lines at every 72 characaters.
But otherwise you do something like this:
'cat <body> | mail -s "subject" recipient at somewhere'
and the format of <body> is described in rfc2822 and others, eg. the
mime-stuff in rfc2045-2048+/-
Read that, if you still have problems, then ask again.
It still may fail because the recipient won't take large mails, so you
will have to chop it of as explained in previous mail.
Ph: +34.666334818 web: http://www.locolomo.org
S/MIME Certificate: http://www.locolomo.org/crt/2004071206.crt
Subject ID: A9:76:7A:ED:06:95:2B:8D:48:97:CE:F2:3F:42:C8:F2:22:DE:4C:B9
More information about the freebsd-questions