This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: /usr/bin/email causes error "sh: /usr/lib/sendmail: No such file or directory"
- From: Christopher Faylor <cgf-no-personal-reply-please at cygwin dot com>
- To: cygwin at cygwin dot com
- Date: Sun, 21 May 2006 18:39:22 -0400
- Subject: Re: /usr/bin/email causes error "sh: /usr/lib/sendmail: No such file or directory"
- References: <005c01c67d25$d4ce7540$1e10a8c0@holgerdanske.local>
- Reply-to: 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@p3533 ~
> $ cat foo
> test message.
> line 2
> bye.
>
> 2006-05-21 15:14:02 dpchrist@p3533 ~
> $ /usr/bin/email -s test dpchrist@holgerdanske.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@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/