From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id DA098138247 for ; Sat, 16 Nov 2013 15:17:46 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 86777E0AFE; Sat, 16 Nov 2013 15:17:38 +0000 (UTC) Received: from homiemail-a93.g.dreamhost.com (caibbdcaaaaf.dreamhost.com [208.113.200.5]) by pigeon.gentoo.org (Postfix) with ESMTP id 80C35E0AC6 for ; Sat, 16 Nov 2013 15:17:37 +0000 (UTC) Received: from homiemail-a93.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a93.g.dreamhost.com (Postfix) with ESMTP id 4C8848405C for ; Sat, 16 Nov 2013 07:17:35 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=libertytrek.org; h= message-id:date:from:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; s= libertytrek.org; bh=0j0v6ACHPUu1DPojbUdXpxajntE=; b=QKh4d3cGCdbv k75onEfOzZ6BAz1JTj1VpC3hSB+P6BO28TOBWUC8EVQxelzOMYdDgPitRKFnObRI wNf0Zi0jhdUvHdHFAfhAogPFhLD+9YbtKBVcFBbUoF3viTWr2LtkkQh2bmoPeHF9 96ENCuivovS/suG9qzC4H3nHR2Hr/P4= Received: from [127.0.0.1] (unknown [159.63.145.2]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: tanstaafl@libertytrek.org) by homiemail-a93.g.dreamhost.com (Postfix) with ESMTPSA id 263978405B for ; Sat, 16 Nov 2013 07:17:35 -0800 (PST) Message-ID: <52878C73.7030803@libertytrek.org> Date: Sat, 16 Nov 2013 10:17:07 -0500 From: Tanstaafl User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:24.0) Gecko/20100101 Thunderbird/24.1.0 Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail 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] Tell cron to send email using sender:passwd@host:587 syntax? References: <52877BC0.4030004@libertytrek.org> <20131116145653.32347621@digimed.co.uk> <5287883D.9010905@libertytrek.org> <20131116150457.7a69ce57@digimed.co.uk> In-Reply-To: <20131116150457.7a69ce57@digimed.co.uk> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Archives-Salt: e86a3182-0514-4e60-a6e1-440fc4341a17 X-Archives-Hash: 7e583a2fadb28dbfb07625274abcf889 On 2013-11-16 10:04 AM, Neil Bothwick wrote: > On Sat, 16 Nov 2013 09:59:09 -0500, Tanstaafl wrote: > >> On 2013-11-16 9:56 AM, Neil Bothwick wrote: >>> So it uses SMTP by default, Python has standard libraries that make >>> this simple, and only uses sendmail when you explicitly instruct it >>> to do so. >> >> Ok... so... the question remains - can I tell cron to send mail the >> same way? > > You don't, cron sends mail via sendmail, to the recipient specified by > the MAILTO variable in the crontab file. Thanks Neil, but... you said 'You don't'... not 'You CAN'T'... Can you elaborate on this? If this is not possible - why is it not possible? In other words, if portage can do it, why can't cron?