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 ) id 1S7RQ7-0004cl-9r for garchives@archives.gentoo.org; Tue, 13 Mar 2012 13:05:43 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 623A8E0B39; Tue, 13 Mar 2012 13:05:29 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 4868AE0A63 for ; Tue, 13 Mar 2012 13:04:56 +0000 (UTC) Received: from netswarm.net (netswarm.net [212.55.200.138]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: joker) by smtp.gentoo.org (Postfix) with ESMTPSA id 7442B1B408A for ; Tue, 13 Mar 2012 13:04:55 +0000 (UTC) Received: from netswarm.net (joker@localhost [127.0.0.1]) by netswarm.net (8.14.4/8.14.4) with ESMTP id q2DD4pS2027664 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Tue, 13 Mar 2012 14:04:51 +0100 Received: (from joker@localhost) by netswarm.net (8.14.4/8.14.4/Submit) id q2DD4plw027663 for gentoo-dev@lists.gentoo.org; Tue, 13 Mar 2012 14:04:51 +0100 Date: Tue, 13 Mar 2012 14:04:51 +0100 From: Christian Birchinger To: gentoo-dev@lists.gentoo.org Subject: Re: [gentoo-dev] RFC: Change mail-mta/msmtp to be the default in virtual/mta instead of mail-mta/ssmtp ? Message-ID: <20120313130451.GA26364@netswarm.net> Mail-Followup-To: gentoo-dev@lists.gentoo.org References: <4F5E5794.8050004@gentoo.org> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@lists.gentoo.org Reply-to: gentoo-dev@lists.gentoo.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Accepted-File-Formats: ASCII, .ps, .rtf, .pdf - *NO* Micosoft Office files please X-Info: No HTML mails please. text/plain is the official email format Organization: Gentoo Linux Foundation User-Agent: Mutt/1.5.21 (2010-09-15) X-Archives-Salt: 7b59ac4a-37c4-4862-8235-f36c72c87bf0 X-Archives-Hash: 74a6a59276b7631a77f500cdf2c1e818 On Mon, Mar 12, 2012 at 08:20:08PM +0000, Robin H. Johnson wrote: > On Mon, Mar 12, 2012 at 10:07:48PM +0200, Samuli Suominen wrote: > > ssmtp has been quiet project for quite a while, where as msmtp is > > maintained one. > > > > sure, ssmtp might be just mature, but msmtp is equally small and has > > more features. > > > > any thoughts? > +1 to getting rid of ssmtp. But I'm not sure that msmtp is the best > replacement. > > One of the greatest things that bugs me about ssmtp is that if the > mailserver is not available, it hangs for a while, and then it loses the > email. > > Where I need a simple mail relay, I've gone with nullmailer instead, > because it supports the features, and it explicitly has a lightweight > daemon mode that queues mail to send. At isolated places where i don't integrate my host into an existing mail setup, i use esmtp because it allows me to do local delivery of system mails (cron or similar jobs) by using a very simple setup: ~ $ cat /etc/esmtprc mda="/usr/bin/procmail -d %T" That's about the only config i need for this. Ok, it's not perfect because it requires procmail (no setup task required though) and cannot write the files directly. I think as an initial setup, something that just does local delivery for system mails out of the box is better than something that doesn't work unless you start configuring smart relay hosts etc. You can still do this if you integrate yourself into an existing mail setup. Christian