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 B6C75138247 for ; Sat, 16 Nov 2013 14:57:21 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 54CBEE0AFC; Sat, 16 Nov 2013 14:57:11 +0000 (UTC) Received: from mail.digimed.co.uk (82-69-83-178.dsl.in-addr.zen.co.uk [82.69.83.178]) by pigeon.gentoo.org (Postfix) with ESMTP id 4114CE0899 for ; Sat, 16 Nov 2013 14:57:09 +0000 (UTC) Received: from digimed.co.uk (shooty.digimed.co.uk [192.168.1.8]) by mail.digimed.co.uk (Postfix) with ESMTPA id 2515C230CC for ; Sat, 16 Nov 2013 14:57:09 +0000 (GMT) Date: Sat, 16 Nov 2013 14:56:53 +0000 From: Neil Bothwick To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Tell cron to send email using sender:passwd@host:587 syntax? Message-ID: <20131116145653.32347621@digimed.co.uk> In-Reply-To: <52877BC0.4030004@libertytrek.org> References: <52877BC0.4030004@libertytrek.org> Organization: Digital Media Production X-Mailer: Claws Mail 3.9.2-143-gdb1776 (GTK+ 2.24.22; x86_64-pc-linux-gnu) X-GPG-Fingerprint: 7260 0F33 97EC 2F1E 7667 FE37 BA6E 1A97 4375 1903 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 Content-Type: multipart/signed; micalg=pgp-sha1; boundary="Sig_/imE1bVUDC5i2Q6hFeJOlZhh"; protocol="application/pgp-signature" X-Archives-Salt: 97ee9a42-a0f0-4c3e-b7ac-a1075c71a5be X-Archives-Hash: dca94ce2dd4cf9276ac8a6dd3365e91f --Sig_/imE1bVUDC5i2Q6hFeJOlZhh Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable On Sat, 16 Nov 2013 09:05:52 -0500, Tanstaafl wrote: > > #PORTAGE_ELOG_MAILURI=3D"root /usr/sbin/sendmail" > > PORTAGE_ELOG_MAILURI=3D"recipient@example.com > > sender:passwd@smtp.example.com:100587" =20 >=20 > I'm guessing portage still uses /usr/sbin/sendmail, but using the above=20 > defined credentials? Not according to mail.conf.example # mailserver: smtp server that should be used to deliver the mail (defaults= to localhost) # alternatively this can also be a the path to a sendmail binary if you don= 't want to use smtp 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. --=20 Neil Bothwick If nothing sticks to Teflon, how do they stick teflon on the pan? --Sig_/imE1bVUDC5i2Q6hFeJOlZhh Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (GNU/Linux) iEYEARECAAYFAlKHh8QACgkQum4al0N1GQPXvgCfcT5kj1TQcOQTn+4EoKROA6j8 woYAoLcBHntXC2lnruV3nPJpunWw1Zvm =cB3B -----END PGP SIGNATURE----- --Sig_/imE1bVUDC5i2Q6hFeJOlZhh--