delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
X-SWARE-Spam-Status: | No, hits=0.6 required=5.0 tests=AWL,BAYES_40,RCVD_IN_DNSWL_NONE,SPF_SOFTFAIL |
X-Spam-Check-By: | sourceware.org |
Message-ID: | <4C6EF8E2.1000404@coastside.net> |
Date: | Fri, 20 Aug 2010 14:51:30 -0700 |
From: | Blaine Miller <bmiller AT coastside DOT net> |
User-Agent: | Thunderbird 2.0.0.24 (Windows/20100228) |
MIME-Version: | 1.0 |
To: | cygwin AT cygwin DOT com |
Subject: | Using ssmtp called in a script called by a crontab entry... |
X-ELNK-Trace: | ecf88e7cc6fd12df69adbcfd4248abb35e89bb4777695beb00ff6c36d42eb1faecca7e129abc34cf685a78c02c719127350badd9bab72f9c350badd9bab72f9c |
X-IsSubscribed: | yes |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Id: | <cygwin.cygwin.com> |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sourceware.org/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/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 |
Hello, I have a need for ssmtp to send out a *job completed* email from within a script that is called as an entry in a cron table. I've read all I can from the *Installing and configuring ssmtp* man pages as well as the Knowledgebase and FAQ's on the cygwin site. From what I gather it should be possible to do this. Admittedly, I am not even close to an expert with sendmail. However, as sendmail is included on my UNIX/linux boxes, I'm stymied on how to get the same functionality out of ssmtp on cygwin. I've run ssmtp-config and accepted the defaults where indicated. However, when I type *mail* at the command prompt I get *command could not be found*. All of my single line scripts from linux for simply mailing completion and initilization of processes don't work. I'm getting very confused with the esoteric discussion of ssmtp, it's configuration and getting it to work with something called mutt (?). All I need is a simple, line by line checklist of things to do to emulate the functionality of sendmail as I described above. Briefly, the scenario is a cron table entry that calls a script. The script runs a few scp's and then exits. I want it to then send out a *completion* email and exit. Your time and consideration is appreciated and valued. Blaine Miller -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |