From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1GYRRe-00084J-BB for garchives@archives.gentoo.org; Fri, 13 Oct 2006 18:07:42 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.8/8.13.6) with SMTP id k9DI3e0U012750; Fri, 13 Oct 2006 18:03:40 GMT Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by robin.gentoo.org (8.13.8/8.13.6) with ESMTP id k9DHwWVH006056 for ; Fri, 13 Oct 2006 17:58:32 GMT Received: from localhost (localhost [127.0.0.1]) by smtp.gentoo.org (Postfix) with ESMTP id 8C91564B86 for ; Fri, 13 Oct 2006 17:58:31 +0000 (UTC) X-Virus-Scanned: amavisd-new at gentoo.org X-Spam-Score: -2.02 X-Spam-Level: X-Spam-Status: No, score=-2.02 required=5.5 tests=[AWL=0.302, BAYES_00=-2.599, DNS_FROM_RFC_ABUSE=0.2, SARE_SUB_ODDWORD_G=0.077] Received: from smtp.gentoo.org ([127.0.0.1]) by localhost (smtp.gentoo.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id YeFnZ5ewmipO for ; Fri, 13 Oct 2006 17:58:25 +0000 (UTC) Received: from wx-out-0506.google.com (wx-out-0506.google.com [66.249.82.236]) by smtp.gentoo.org (Postfix) with ESMTP id 12C0A64C85 for ; Fri, 13 Oct 2006 17:58:24 +0000 (UTC) Received: by wx-out-0506.google.com with SMTP id s19so967090wxc for ; Fri, 13 Oct 2006 10:58:22 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=aXnRAA5IPsWUPVRL6LLBsZZsKv5oySe5UJDwpT05o5WtJWczCUVCw5qxr8xNN98qYoAwSGf/AOggWj4+squjV/etajlb5c723Bg5n1QrClV6W8PuLNlP9g0xVjejap4l6jDGNOaMVsDr4FGkJD85Md+mw4blHf6WDMKG4eSjKu8= Received: by 10.90.27.6 with SMTP id a6mr2583158aga; Fri, 13 Oct 2006 10:58:22 -0700 (PDT) Received: by 10.90.119.3 with HTTP; Fri, 13 Oct 2006 10:58:22 -0700 (PDT) Message-ID: <18e575130610131058n5a6785d8l8d540fbd01f534fa@mail.gmail.com> Date: Fri, 13 Oct 2006 13:58:22 -0400 From: "Michael [Plouj] Ploujnikov" To: gentoo-user@lists.gentoo.org Subject: [gentoo-user] Re: OT - format ssmtp's from field + gmail SMTP In-Reply-To: <18e575130610131020k266b2d7cp3f547a6486c5db6a@mail.gmail.com> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <18e575130610131020k266b2d7cp3f547a6486c5db6a@mail.gmail.com> X-Archives-Salt: 912a2ede-469c-4d07-b6ae-6b43122bc449 X-Archives-Hash: e835b27a8a0b68d7ccc3c7d69882a56d I briefly looked at some vixie-cron code and it looks like it's piping the whole mail text to some process. The interesting thing is that it pipes: fprintf(mail, "From: root (Cron Daemon)\n"); [1] I guess I need to format my mail and pipe it somewhere. Not sure where though - man mail doesn't talk about piping. [1] ftp://ftp.isc.org/isc/cron/cron_4.1.shar -- () ASCII Ribbon Campaign /\ - against HTML mail & vCards -- gentoo-user@gentoo.org mailing list