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 X-MimeOLE: Produced By Microsoft Exchange V6.0.4417.0 content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Subject: RE: ssmtp and cron Date: Fri, 3 Jan 2003 11:45:55 -0500 Message-ID: X-MS-Has-Attach: X-MS-TNEF-Correlator: From: "Harig, Mark A." To: "Matthias Bobzien" , "Dirk Ziegenbalg" , Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id h03GkYb09791 You might try setting the 'MAILTO' environment variable in your crontab file. Please see the crontab(5) manual page for details about setting environment variables: $ man 5 crontab > -----Original Message----- > From: Matthias Bobzien [mailto:bobzien AT ikg DOT uni-bonn DOT de] > Sent: Friday, January 03, 2003 10:23 AM > To: cygwin AT cygwin DOT com > Subject: Re: ssmtp and cron > > > Dirk Ziegenbalg wrote: > > > > can somebody help me please!!!! > > I've got cron and ssmtp to run. It works fine. > > When cron is started and wants to mail me a message, then > there was two error-entries in the eventlog und windows 2000. > First tells me: > > > > sSMTP mail : Win32 Process Id = 0x668 : Cygwin Process Id = > 0x66C : unable to create a socket.. > > > > and the second: > > > > sSMTP mail : Win32 Process Id = 0x668 : Cygwin Process Id = > 0x66C : can't open the smtp port (25) on mail.gmx.de.. > > > > because of the first error. > > When I call ssmtp from the commandline then it works fine. > > > > I've give it up after two days of trying. Cron did his > work. But I want his messages! Any ideas? > > Hi, > > funny, I had the same problems several months ago, tried to resolve it > and finally gave up. > > I have the same symptoms: cron works, ssmtp works, but cron can't send > mails via ssmtp. > > 'wget' doesn't work with cron either, and I get an additional > information message within the eventlog: > > /usr/sbin/cron : Win32 Process Id = 0x60C : Cygwin Process Id > = 0x60C : > (bobzien) MAIL (mailed 735 bytes of output but got status 0xffffffff > > Maybe someone can help us with this problem? I'll attach the output of > 'cygcheck -s -v -r' and my 'ssmtp.conf'. > > Matthias > > -- > Matthias Bobzien > bobzien AT ikg DOT uni-bonn DOT de > -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/