delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/05/09/23:16:55

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
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: <c7mj33$9o$2@sea.gmane.org>
Message-ID: <Pine.CYG.4.58.0405100016080.940@pervalidus>
References: <slrn DOT pl DOT c9t4q3 DOT nso DOT jerzy AT solveig DOT jedwab> <c7mj33$9o$2 AT sea DOT gmane DOT org>
X-Archive: encrypt
MIME-Version: 1.0
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/


- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019