Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Date: Mon, 10 May 2004 00:16:43 -0300 From: =?ISO-8859-1?Q?Fr=E9d=E9ric_L=2E_W=2E_Meunier?= <1 AT pervalidus DOT net> To: cygwin AT cygwin DOT com Subject: Re: mailx mail replacement - solution in shell script In-Reply-To: Message-ID: References: X-Archive: encrypt MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=UTF-8 Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from QUOTED-PRINTABLE to 8bit by delorie.com id i4A3Gsfj018338 On Sun, 9 May 2004, Andrew DeFaria wrote: > jerzy szczudłowski wrote: > > > Since mailx package is not ported to Cygwin, and from time to time > > someone miss it, I wrote short shell script that enables straight > > compatibility with some programs which by default depend on "mail" > > command (i.e. smartmontools). Since this is really simple script, it is > > very limited. In example, it emulates only batch mode (actually, you > > may type form stdin but there are no hints about headers), only few > > options are avaiable (eascb) and recipient address must come at the end > > of line (due to getopts shortcomings). But, what is actually important > > here, you can type: "cat /var/log/syslog | mail root", just like on real > > unices :) > > > > URL: > > http://jedwab.net.pl/~jerzy/shell/mail.bz2 > > Have you looked at ssmtp? His script uses ssmtp. ssmtp isn't a mailx or nail replacement. -- How to contact me - http://www.pervalidus.net/contact.html -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/