This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
RE: ssmtp and cron
- From: "Harig, Mark A." <maharig at idirect dot net>
- To: "Matthias Bobzien" <bobzien at ikg dot uni-bonn dot de>,"Dirk Ziegenbalg" <dziegenbalg at web dot de>,<cygwin at cygwin dot com>
- Date: Fri, 3 Jan 2003 11:45:55 -0500
- Subject: RE: ssmtp and cron
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@ikg.uni-bonn.de]
> Sent: Friday, January 03, 2003 10:23 AM
> To: cygwin@cygwin.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@ikg.uni-bonn.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/