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 1G4g6p-00034P-Jl for garchives@archives.gentoo.org; Sun, 23 Jul 2006 15:43:12 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.7/8.13.6) with SMTP id k6NFf0eP007619; Sun, 23 Jul 2006 15:41:00 GMT Received: from rutherford.zen.co.uk (rutherford.zen.co.uk [212.23.3.142]) by robin.gentoo.org (8.13.7/8.13.6) with ESMTP id k6NFWMwC009958 for ; Sun, 23 Jul 2006 15:32:22 GMT Received: from [82.69.83.178] (helo=desiato.digimed.co.uk) by rutherford.zen.co.uk with esmtp (Exim 4.50) id 1G4fwL-000440-M9 for gentoo-user@lists.gentoo.org; Sun, 23 Jul 2006 15:32:21 +0000 Received: from krikkit.digimed.co.uk (krikkit.digimed.co.uk [192.168.1.3]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by desiato.digimed.co.uk (Postfix) with ESMTP id 8A44D1400488 for ; Sun, 23 Jul 2006 16:33:13 +0100 (BST) Date: Sun, 23 Jul 2006 16:33:07 +0100 From: Neil Bothwick To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] PORTAGE_ELOG error Message-ID: <20060723163307.0abf49d9@krikkit.digimed.co.uk> In-Reply-To: <44C36B2A.7090100@mid.email-server.info> References: <49bf44f10607220921r614c9650v33f73c25ebb59d3c@mail.gmail.com> <44C25502.5020804@mid.email-server.info> <49bf44f10607221007r522789q6921abeb7ca3f7d0@mail.gmail.com> <44C26BCA.1020008@mid.email-server.info> <20060722214255.065606d3@krikkit.digimed.co.uk> <44C2A03E.4090001@mid.email-server.info> <20060723120542.228d2b9e@hactar.digimed.co.uk> <44C36B2A.7090100@mid.email-server.info> Organization: Digital Media Production X-Mailer: Sylpheed-Claws 2.4.0-rc4 (GTK+ 2.8.20; powerpc-unknown-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@gentoo.org Reply-to: gentoo-user@lists.gentoo.org Mime-Version: 1.0 Content-Type: multipart/signed; boundary="Sig_Aox=EGmdz5ywALlJupRgvnl"; protocol="application/pgp-signature"; micalg=PGP-SHA1 X-Originating-Rutherford-IP: [82.69.83.178] X-Archives-Salt: 561234ea-7052-4878-8c36-219ee2d7c5f4 X-Archives-Hash: e3a06aadd62602396676ca44ff83f948 --Sig_Aox=EGmdz5ywALlJupRgvnl Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable On Sun, 23 Jul 2006 14:27:22 +0200, Alexander Skwar wrote: > >> Sending mail with directly speaking SMTP isn't. That's the job > >> of a MTA. > >=20 > > What if you don't have an MTA installed, which is how this question > > arose? >=20 > Then you install one. That's not an acceptable answer for a core system service. Portage should, and can, be able to do its job using the standard Python mail transport methods.=20 > > Talking SMTP is how all my mail-sending software communicates with > > it. >=20 > cron? Fair comment, I forgot about that one, which uses ssmtp. In my defence, our month-old grandson stayed with us last night - sleep-deprivation is a b*******! > >> > Why not let portage work with the same SMTP server you use for all > >> > other mail? > >>=20 > >> Why make me configure SMTP in two places (MTA and Portage)? > >=20 > > That's a separate question. >=20 > No, it's not. It is, but it doesn't matter.You should not be "made" to configure mail in two places if you have an MTA, I never disagreed with that. But equally, you should not be forced to install an MTA. > > It's trivial to configure portage to use a > > local MTA if you have one. >=20 > No, it's not *trivial*. It's not hard, but trivial... No. Uncommenting the relevant line and changing the email address to your own seems trivial to me. It may not be trivial to a SUSE user, but no Gentoo user should have trouble entering their mail address in a config file. > > If you want to use sendmail instead, why not > > submit a bug report, preferably with a patch? >=20 > PORTAGE_ELOG_COMMAND exists. I'd rather suggest to dump the > wasteful SMTP support. But I doubt that such a good suggestion > would be welcome - rather the Windows is chosen. It's not wasteful, as it provides an easy option for many people and it uses existing software. Look at the code and you'll see that all it does is parse the address etc. from the config file and use it to send the message via an smtplib function. Using sendmail would require about the same amount of code, giving a choice of the two would only add a couple of lines, which should suit everyone. > > But don't force all those people without an MTA to install one just > > because it's easier for you. >=20 > Well, don't force me to use SMTP, just because it's easier for you! I'm not, I didn't write portage! > And also don't force me, to write "complicated" scripts, just because > it's easier for you! It's easier for me because it's there and it works. > If portage would use the standard ways of sending > mail, ie. /usr/sbin/sendmail, than this script wouldn't be necessary. > MAYBE SMTP could be added as an *OPTION* - but I'd not add this, it's > bloat. It's not bloat, because the code is already there. > > Or > > will ssmtp handle this correctly? >=20 > What "this"? Sending mail from portage as per the OP's question. > With my howto, /usr/sbin/sendmail is used to send out > mail. Benefit of this is, that the "SMTP configuration" (ie. name > of (smart-)host and possibly username+password) only has to be set > at one spot - in the configuration file of the MTA. What MTA is > chosen, is basically upto the user - but Gentoo seems to prefer > ssmtp, which is totally fine and also is, what I'd suggest, as ssmtp > is so easy to configure and offer's all, that's needed. As I said, file a request on bugzilla. It sounds a reasonable option. --=20 Neil Bothwick To poldly bow air mobius gumby four: Trek on novocaine. --Sig_Aox=EGmdz5ywALlJupRgvnl Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.4 (GNU/Linux) iD8DBQFEw5a3um4al0N1GQMRAgFeAKCyFC7shZeoZezMzM5nzhW4rYTILgCg0sum LHQ1c8r4Dj8Nud7RP/GmxWU= =7fet -----END PGP SIGNATURE----- --Sig_Aox=EGmdz5ywALlJupRgvnl-- -- gentoo-user@gentoo.org mailing list