X-Spam-Check-By: sourceware.org Date: Sun, 21 May 2006 18:39:22 -0400 From: Christopher Faylor To: cygwin AT cygwin DOT com Subject: Re: /usr/bin/email causes error "sh: /usr/lib/sendmail: No such file or directory" Message-ID: <20060521223922.GE26270@trixie.casa.cgf.cx> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com References: <005c01c67d25$d4ce7540$1e10a8c0 AT holgerdanske DOT local> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <005c01c67d25$d4ce7540$1e10a8c0@holgerdanske.local> User-Agent: Mutt/1.5.11 Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Unsubscribe: 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 On Sun, May 21, 2006 at 03:28:05PM -0700, David Christensen wrote: >cygwin: > >I would like to send e-mail messages from Cygwin Bash scripts. I have >installed the "email" and "exim" packages. When I attempt to send a test >message form the command line, it fails: > > 2006-05-21 15:13:46 dpchrist AT p3533 ~ > $ cat foo > test message. > line 2 > bye. > > 2006-05-21 15:14:02 dpchrist AT p3533 ~ > $ /usr/bin/email -s test dpchrist AT holgerdanske DOT com < foo > > E-Mail Sent > sh: /usr/lib/sendmail: No such file or directory > > >It looks like I'm missing a library (/usr/lib/sendmail). Looking for a >Cygwin package containing this file reveals nothing: > > http://cygwin.com/packages/ > > >Looking for a sendmail binary reveals nothing: > > 2006-05-21 15:21:57 dpchrist AT p3533 ~ > $ which sendmail > sendmail: Command not found. > > >Any suggestions? How about reading /usr/share/doc/Cygwin/email*.README? cgf -- 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/