From owner-freebsd-questions@FreeBSD.ORG Fri Aug 31 12:36:03 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E5B3516A417 for ; Fri, 31 Aug 2007 12:36:03 +0000 (UTC) (envelope-from keramida@ceid.upatras.gr) Received: from igloo.linux.gr (igloo.linux.gr [62.1.205.36]) by mx1.freebsd.org (Postfix) with ESMTP id 0F7E913C45A for ; Fri, 31 Aug 2007 12:36:02 +0000 (UTC) (envelope-from keramida@ceid.upatras.gr) Received: from kobe.laptop (vader.bytemobile.ondsl.gr [83.235.244.135]) (authenticated bits=128) by igloo.linux.gr (8.14.1/8.14.1/Debian-8) with ESMTP id l7VC6Nxv029970 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Fri, 31 Aug 2007 15:06:36 +0300 Received: from kobe.laptop (kobe.laptop [127.0.0.1]) by kobe.laptop (8.14.1/8.14.1) with ESMTP id l7VC630u003055; Fri, 31 Aug 2007 15:06:19 +0300 (EEST) (envelope-from keramida@ceid.upatras.gr) Received: (from keramida@localhost) by kobe.laptop (8.14.1/8.14.1/Submit) id l7VC5upR003054; Fri, 31 Aug 2007 15:05:56 +0300 (EEST) (envelope-from keramida@ceid.upatras.gr) Date: Fri, 31 Aug 2007 15:05:56 +0300 From: Giorgos Keramidas To: L Goodwin Message-ID: <20070831120556.GA3016@kobe.laptop> References: <20070831004319.GA91203@kobe.laptop> <581127.21315.qm@web58114.mail.re3.yahoo.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <581127.21315.qm@web58114.mail.re3.yahoo.com> X-Hellug-MailScanner: Found to be clean X-Hellug-MailScanner-SpamCheck: not spam, SpamAssassin (not cached, score=-3.953, required 5, autolearn=not spam, ALL_TRUSTED -1.80, AWL 0.45, BAYES_00 -2.60) X-Hellug-MailScanner-From: keramida@ceid.upatras.gr X-Spam-Status: No Cc: freebsd-questions@freebsd.org Subject: Re: Configuring FreeBSD 6.2 to use sendmail for sending only X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 31 Aug 2007 12:36:04 -0000 On 2007-08-30 18:03, L Goodwin wrote: > Um... I just want to pass an email message (complete > with From, To, Subject and message body) to a mail > handler (sendmail), as I stated in the original post. > > Anyway, Chuck kindly provided sample code. The only > thing I'd like to do differently is to not use a temp > file to store the message. Otherwise, I'm happy. Ah, sorry about the misunderstanding then. I think all you need is something along the lines of: ( command1 ; command2 ) | mail -s "subject" recipient1 ...