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 Message-ID: <3E786188.14C16294@swipnet.se> Date: Wed, 19 Mar 2003 13:24:40 +0100 From: a12 X-Accept-Language: en MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Mail sent by cron fails Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Hi gurus, In the process of mailing messages using cron, I have created /var/cron/tabs/sysaccount: SHELL=/bin/sh # mail any output to 'sysaccount', no matter whose crontab this is MAILTO=sysaccount # 0 * * * * /cygdrive/h/blat/blat.exe ssmtp -f magr40 AT fakedomain DOT se -f sysaccount AT rrback -server mail.fakedomain.se -s "Subject" However no mail is sent. I have tested blat manually and it sends mail as expected. /etc/ssmtp/revaliases contains comments only. /etc/ssmtp/ssmtp.conf contains: root=postmaster mailhub=mail.fakedomain.se hostname=rrback Windows Event Log contains the following entries: Source: sSMTP mail User: RRBACK\sysaccount Computer: RRBACK Description: The description for Event ID (0) in Source (sSMTP mail) cannot be found. The local computer may not have the necessary registry information or message DLL files to display messages from a remote computer. The following information is part of the event: sSMTP mail: PID 856: /usr/sbin/ssmtp sent mail for sysaccount. Source: /USR/SBIN/CRON User: NT AUTHORITY\SYSTEM Computer: RRBACK Description: The description for Event ID (0) in Source (USR/SBIN/CRON) cannot be found. The local computer may not have the necessary registry information or message DLL files to display messages from a remote computer. The following information is part of the event: /USR/SBIN/CRON: PID 1012: (sysaccount) MAIL (mailed 124 bytes of output but got status: 0xffffffff). What have I missed ? Marek -- 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/