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 1G4d9k-0003X9-Ry for garchives@archives.gentoo.org; Sun, 23 Jul 2006 12:34:01 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.7/8.13.6) with SMTP id k6NCWnCg027575; Sun, 23 Jul 2006 12:32:49 GMT Received: from hetzner.email-server.info (new.email-server.info [213.133.109.44]) by robin.gentoo.org (8.13.7/8.13.6) with ESMTP id k6NCRpgF026407 for ; Sun, 23 Jul 2006 12:27:53 GMT Received: by hetzner.email-server.info (Postfix, from userid 1001) id 8E01335D9F; Sun, 23 Jul 2006 14:29:11 +0200 (CEST) X-Spam-Tests: AWL=0.070,BAYES_00=-2.599 X-Spam-Contact: Contact Address X-Spam-Checker-Version: SpamAssassin 3.1.3-gr1 (2006-06-01) on hetzner.email-server.info X-Spam-Relays: Trusted=, Untrusted=[ ip=88.130.68.146 rdns=mue-88-130-68-146.dsl.tropolys.de helo=!192.168.1.244! by=hetzner.email-server.info ident= envfrom= intl=0 id=E77C92F337 auth= ] X-Spam-Level: X-Spam-Bayes: Score=0.0000, Tokens=Tokens: new, 16; hammy, 147; neutral, 158; spammy, 4., Hammy=0.000-+--schrieb, 0.000-+--sbin, 0.000-+--H*M:mid, 0.000-+--ebuilds, 0.000-+--bothwick, Spammy=0.993-+--upto, 0.958-1--arose, 0.913-+--offers, 0.896-+--H*r:sk:hetzner X-Spam-Status: No, score=-2.5 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.1.3-gr1 X-Spam-Externals: DCC Brand "_DCCB_", Result _DCCR_ - Pyzor=_PYZOR_, RBL _RBL_ Received: from [192.168.1.244] (mue-88-130-68-146.dsl.tropolys.de [88.130.68.146]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by hetzner.email-server.info (Postfix) with ESMTP id E77C92F337 for ; Sun, 23 Jul 2006 14:28:44 +0200 (CEST) Message-ID: <44C36B2A.7090100@mid.email-server.info> Date: Sun, 23 Jul 2006 14:27:22 +0200 From: Alexander Skwar User-Agent: Thunderbird 1.5.0.4 (X11/20060615) 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 To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] PORTAGE_ELOG error 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> In-Reply-To: <20060723120542.228d2b9e@hactar.digimed.co.uk> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Archives-Salt: 3c742dbf-bd24-4397-b924-f1d9b35d492d X-Archives-Hash: 39238aa37465c997a93313f85defefd0 Neil Bothwick schrieb: > On Sun, 23 Jul 2006 00:01:34 +0200, Alexander Skwar wrote: > >> Neil Bothwick schrieb: >>> > Re-using existing software is very unix like >> >> Sending mail with directly speaking SMTP isn't. That's the job >> of a MTA. > > What if you don't have an MTA installed, which is how this question > arose? Then you install one. But a quite some services require an MTA. Not necessarily as a dependency in the sense of ebuilds, but to make full use of the programs - eg. cron, at and what not. If you've got an MTA, you can then send mails from the system. And actually, an > I have no MTA on this computer, because I run a separate mail > server. Those two things don't have anything to do with each other. I've also got a seperate mail server, which I use as my smarthost. > Talking SMTP is how all my mail-sending software communicates with > it. cron? > >> >> Yes, it would, but I'd actually not suggest to do so. Installing >> >> postfix (or any SMTP server, for that matter) just for Portage >> >> isn't the right way to go. It's too much code, opening too many >> >> potential problems, which can be sidestepped by making >> >> portage use /usr/sbin/sendmail instead. >> > >> > Why not let portage work with the same SMTP server you use for all >> > other mail? >> >> Why make me configure SMTP in two places (MTA and Portage)? > > That's a separate question. No, it's not. > It's trivial to configure portage to use a > local MTA if you have one. No, it's not *trivial*. It's not hard, but trivial... No. > If you want to use sendmail instead, why not > submit a bug report, preferably with a patch? 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. > But don't force all those people without an MTA to install one just > because it's easier for you. Well, don't force me to use SMTP, just because it's easier for you! And also don't force me, to write "complicated" scripts, just because it's easier for you! 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. >> > If your mail client can send mail, why not tell portage to use the >> > same route. >> >> Why not make Portage send mail the same way, the MUA >> does it - with /usr/sbin/sendmail? > > My MUA (and that of the OP) don't use sendmail to send mail. Which is very bad, IMO. My MUA also has this bug - annoys me extremely, as this forces me, to setup my SMTP configuration in multiple places. I HATE to do redundant work which adds no benefit. Sure, I could setup a SMTP server, no problem, but I don't want to have any server daemons running on this system. It's a matter of principle. >> > There's absolutely no need to use a local MTA if you don't >> > already have one. >> >> There's no need to configure the same thing in multiple places. >> It's really bad style to make users keep the same configuration >> in multiple places. > > How would you suggest resolving that for users without a local MTA? Install a MTA. > Or > will ssmtp handle this correctly? What "this"? 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. Alexander Skwar -- The average nutritional value of promises is roughly zero. -- gentoo-user@gentoo.org mailing list