From owner-freebsd-questions@FreeBSD.ORG Mon Apr 4 08:55:11 2005 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DCE8516A4CE for ; Mon, 4 Apr 2005 08:55:11 +0000 (GMT) Received: from top.daemonsecurity.com (FW-182-254.go.retevision.es [62.174.254.182]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3C8CD43D1D for ; Mon, 4 Apr 2005 08:55:11 +0000 (GMT) (envelope-from norgaard@locolomo.org) Received: from [IPv6???1] (localhost.daemonsecurity.com [127.0.0.1]) by top.daemonsecurity.com (Postfix) with ESMTP id 67261FD068; Mon, 4 Apr 2005 10:55:08 +0200 (CEST) Message-ID: <425100E8.40904@locolomo.org> Date: Mon, 04 Apr 2005 10:55:04 +0200 From: =?ISO-8859-1?Q?Erik_N=F8rgaard?= Organization: Locolomo.ORG User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.5) Gecko/20050314 X-Accept-Language: en, en-us, en-gb, da, fr, de, it, es MIME-Version: 1.0 To: Gert Cuykens References: <200503312003.10392.wizlayer@gmail.com> <424CFF52.10901@locolomo.org> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit cc: wizlayer@gmail.com cc: freebsd-questions@freebsd.org Subject: Re: sendmail X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 04 Apr 2005 08:55:12 -0000 Gert Cuykens wrote: > On Apr 1, 2005 9:59 AM, Erik Nørgaard 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 >>base64. >> >>The second option is the low tech - transcode is not designed to be user >>friendly. >> >>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@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@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 | mail -s "subject" recipient@somewhere' and the format of 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. Cheers, Erik -- 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 Fingerprint: 4A:E8:63:38:46:F6:9A:5D:B4:DC:29:41:3F:62:D3:0A:73:25:67:C2