From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from <gentoo-user+bounces-132468-garchives=archives.gentoo.org@lists.gentoo.org>) id 1RaxCT-0001EW-Sh for garchives@archives.gentoo.org; Wed, 14 Dec 2011 22:21:22 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id EE6BC21C29B; Wed, 14 Dec 2011 22:21:07 +0000 (UTC) Received: from mx.virtyou.com (mx.virtyou.com [178.33.32.244]) by pigeon.gentoo.org (Postfix) with ESMTP id 3A53821C29B for <gentoo-user@lists.gentoo.org>; Wed, 14 Dec 2011 22:19:58 +0000 (UTC) Received: from [192.168.2.43] (p5B275A4F.dip.t-dialin.net [91.39.90.79]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx.virtyou.com (Postfix) with ESMTPSA id 43D9ADC04C for <gentoo-user@lists.gentoo.org>; Wed, 14 Dec 2011 23:19:57 +0100 (CET) Message-ID: <4EE920F0.7020202@wonkology.org> Date: Wed, 14 Dec 2011 23:19:28 +0100 From: Alex Schuster <wonko@wonkology.org> User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:8.0) Gecko/20111105 Thunderbird/8.0 Precedence: bulk List-Post: <mailto:gentoo-user@lists.gentoo.org> List-Help: <mailto:gentoo-user+help@lists.gentoo.org> List-Unsubscribe: <mailto:gentoo-user+unsubscribe@lists.gentoo.org> List-Subscribe: <mailto:gentoo-user+subscribe@lists.gentoo.org> List-Id: Gentoo Linux mail <gentoo-user.gentoo.org> X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Need help getting portage to email me emerge logs using ssmtp... References: <i7Ioy-7Uy-29@gated-at.bofh.it> <2921248.979.1323816172120.JavaMail.geo-discussion-forums@vbmq3> <4EE88BDC.7050902@libertytrek.org> <4EE890F8.5090203@libertytrek.org> <CAA2qdGU8EuzBS9fyO6JfpLqqBBtNnC9==vySkN_yhT=4fMA2eg@mail.gmail.com> <4EE895D1.4090903@libertytrek.org> <4EE89DED.1090303@libertytrek.org> <4EE89F18.6010106@libertytrek.org> <4EE8C0C7.7080900@libertytrek.org> <4EE90738.7010704@libertytrek.org> <20111214210941.437efe6d@hactar.digimed.co.uk> In-Reply-To: <20111214210941.437efe6d@hactar.digimed.co.uk> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Archives-Salt: d84010b2-bc3d-4e57-a4e0-24b5244887e8 X-Archives-Hash: 450b53beb2b508cc0b973dc6daa49b1c Neil Bothwick writes: > On Wed, 14 Dec 2011 15:29:44 -0500, Tanstaafl wrote: > >> I can confirm that sending email from the commandline now works: > >> How do I tell portage to simply use the 'mail' command? > > AFAIR there used to be an option for this, but it's not in the docs. > Have you tried > > PORTAGE_ELOG_MAILURI="user@address localhost" > > Or leave MAILURI unset in which case it will deliver to > root@localhost. What about PORTAGE_ELOG_COMMAND="cat '\${LOGFILE}' | mail -s 'ebuild log for \${PACKAGE}' user@address" Doesn't seem to work here, though. Even if I set PORTAGE_ELOG_SYSTEM to "custom" and PORTAGE_ELOG_COMMAND to an existing script, it is not being called. Wonko