From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24652 invoked by alias); 19 May 2004 15:10:52 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 24620 invoked from network); 19 May 2004 15:10:49 -0000 Received: from unknown (HELO main.gmane.org) (80.91.224.249) by sourceware.org with SMTP; 19 May 2004 15:10:49 -0000 Received: from root by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 1BQSiW-0001Sx-00 for ; Wed, 19 May 2004 17:10:48 +0200 Received: from exchange.tcicredit.com ([65.170.14.178]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 19 May 2004 17:10:48 +0200 Received: from mbohlman by exchange.tcicredit.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 19 May 2004 17:10:48 +0200 To: cygwin@cygwin.com From: Mark Bohlman Subject: Re: mutt and ssmtp on Cygwin on Windows Server 2003 'child exited 127' Date: Wed, 19 May 2004 15:11:00 -0000 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: exchange.tcicredit.com User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.6) Gecko/20040113 In-Reply-To: X-SW-Source: 2004-05/txt/msg00682.txt.bz2 gert_de_boer@ch.schindler.com wrote: > > > > Somehow I do not succeed in configuring mutt or ssmtp with Cygwin on a > Windows 2003 server. > > As an example of what happens: > > $ echo hallo | mutt -s new_test myname@mycompany.com > Error sending message, child exited 127 (Exec error.). > Could not send the message. > > The error is exactly the same as when I have a wrong 'sendmail' defined in > my .muttrc on a server where cygwin runs without any problem. However I > defined it correct: > set sendmail=/usr/sbin/ssmtp > > Executing ssmtp on its own delivers an empty mail at myname@mycompany.com, > so the error is not there. > > It all works without any problem on Windows XP and Windows 2000. > > So it seems something has changed in Windows 2003: for some reason mutt > cannot trigger ssmtp to do its job. > > Something similar seems to happen between the CYGWIN cron service and the > scripts it is supposed to start. Nothing happens, but if I look in the > eventviewer I see the following order of events: > > PID 3188: (myaccount) RELOAD (tabs/myaccount) > > PID 3392: (myaccount) CMD (/home/myaccount/bin/test_mail.sh) > > PID 3392: (CRON) error (can't switchuser context) > > So it is just an idea of mine that somehow (some) programs are not able to > start others, due to some rigid security settings. > > BTW, all the above is done as with a group account with administrator > rights on the server. > > Gert de Boer > > gert de boer at ch schindler com > > cygcheck.out: > (See attached file: cygcheck.out): > I had a similar problem on Win2K until I checked the /etc/ssmtp/ssmtp.conf file and found an improper setting. Also check the ~/.muttrc file for correct settings. Fixing this got rid of the same error message on my system. See also /usr/share/doc/mutt-xxx.README. Hope this helps. -- Mark -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/