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_20,RCVD_IN_DNSWL_NONE,SPF_SOFTFAIL |
X-Spam-Check-By: | sourceware.org |
Message-ID: | <4C6F039D.2080204@coastside.net> |
Date: | Fri, 20 Aug 2010 15:37:17 -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: | Re: Using ssmtp called in a script called by a crontab entry... |
References: | <4C6EF8E2 DOT 1000404 AT coastside DOT net> <01a401cb40b3$bc2c88f0$2a0010ac AT wirelessworld DOT airvananet DOT com> |
In-Reply-To: | <01a401cb40b3$bc2c88f0$2a0010ac@wirelessworld.airvananet.com> |
X-ELNK-Trace: | ecf88e7cc6fd12df69adbcfd4248abb35e89bb4777695beb00ff6c36d42eb1fa5ebeb4742e008431897a65f00a584ab0350badd9bab72f9c350badd9bab72f9c |
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 |
Pierre, First of all, let me thank you for your very quick response. I believe we're getting closer. when I execute: */usr/sbin/ssmtp blaine DOT miller AT smithmicro DOT com* I get this for a response... ssmtp: Cannot open exchange.smsi.com:25 I would guess that either I've got the wrong mailhub name, the wrong port, both are wrong or the mailhub doesn't allow forwarding??? I won't be able to check with the person who runs our mail system until next Wednesday, the 25th. I'd like to check in with you then just to see if it all works once I have the kinks ironed out. Thanks for your time, patience and speedy responses... Blaine Pierre A. Humblet wrote: > ----- Original Message ----- > From: "Blaine Miller" > To: <cygwin> > Sent: Friday, August 20, 2010 17:51 > > > | 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. > > Seen from the cron point of view, if the cron job produces any output on stdout > or stderr, the output will be placed in an e-mail sent to you (you can configure the > address in the MAILTO variable). > As as recall, the ssmtp-config script will ask you if you want sendmail to point to > ssmtp. If you answer yes, cron will use ssmtp to send the e-mail. > > Pierre > > -- > 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 > > > > > -- 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 |