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

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
To: cygwin AT cygwin DOT com
From: Andrew DeFaria <Andrew AT DeFaria DOT com>
Subject: Re: mailx mail replacement - solution in shell script
Date: Sun, 09 May 2004 17:40:51 -0700
Lines: 19
Message-ID: <c7mj33$9o$2@sea.gmane.org>
References: <slrn DOT pl DOT c9t4q3 DOT nso DOT jerzy AT solveig DOT jedwab>
Mime-Version: 1.0
X-Complaints-To: usenet AT sea DOT gmane DOT org
X-Gmane-NNTP-Posting-Host: h-67-102-25-114.lsanca54.covad.net
User-Agent: Mozilla Thunderbird 0.6 (Windows/20040502)
In-Reply-To: <slrn.pl.c9t4q3.nso.jerzy@solveig.jedwab>

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?
-- 
Help Wanted: Telepath. You know where to apply.


--
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